GRCD
Posts: 18
Joined: Thu Sep 04, 2014 12:05 pm

A Feature not respond to installarion behavior

Hello !!

Anyone know how works the installation behavior for a feature?

I condition the feature to the value of the Property. This value changes in a previous dialog before the CustomizeDlg is displayed but the feature don't appears enabled.

In the Installation Behavior i set "Disabled" and set <Installed If:> to MiCondition="Server"

The property MiCondition changes in the previous dialog from "Client" to "Server" but the feature not responding and is not displayed.

Regards from Tenerife, Canary Islands, Spain
Guillermo
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A Feature not respond to installarion behavior

Hi Guillermo,

You encountered this behaviour because the UpdateFeatureInstallState action that is used to update the feature state is not compatible with the CusmomizeDlg (with the SelectionTree control). I will also open a ticket to the development team to further investigate this. As soon as I have a conclusive answer, I'll get back to you.

Since you are trying to guide the user to select a server installation or a client installation, can you please tell me if you tried to use the predefined ClientServerDlg from the predefined list of dialogs? When adding this dialog, in the Organization page the Client, Server and Common features will be created. You can easily add features and component to this features.

You can take a look on the Move and Share components between features video to visually discover this functionality.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GRCD
Posts: 18
Joined: Thu Sep 04, 2014 12:05 pm

Re: A Feature not respond to installarion behavior

Hello Dan,

I finally decided to simulate a ClientServerDlg copying the controls and establishing one property by published events. This property indicates the type of install selected and with this property i try activate or deactivate some features for the custom install, but it doesn't work, the value of the property changes but the feature is always deactivated in the installation Behavior. I set "Disabled If:" to [InstallationSelected] = "Client" and when [InstallationSelected] is "Server" or "ClientServer" the feature is always disabled.

Regards from Tenerife, Canary Islands, Spain
Guillermo
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A Feature not respond to installarion behavior

Hi Guillermo,

The UpdateFeatureInstallState action that is used to update the feature state is not working as expected when custom installation behaviour is defined. On the UI, it will not display accordingly the features action.

In my previous reply, I advised you to use the ClientServerDlg. This will automatically create the corresponding features in the Organization page. There, you can add your existing features under the new ones (e.g. Client, Server and Common).
You can also take a look on the Move and Share components between features video to visually discover this functionality.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GRCD
Posts: 18
Joined: Thu Sep 04, 2014 12:05 pm

Re: A Feature not respond to installarion behavior

Hi Dan,

I've tried to "Move and share components between features" option but the problem persists. I need to select client/server option and then select the features for each option, but it not works.

I will open a ticket to the development team.

Thanks !!!

Regards from Tenerife, Canary Islands, Spain.
Guillermo
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A Feature not respond to installarion behavior

Hello,

The issue regarding the Features state is not updated accordingly with their install conditions on ConfigureDlg was fixed in version 12.6 of Advanced Installer released on December 8th, 2015.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”