Hello Horst,
I have moved the CheckBox from the ExitDialog to the VerifyReadyDlg.
Set the Contitions again and now it works?!?
Can't I do this conditions settings in the Exit Dialog?
You cannot achieve this on "ExitDialog". Please keep in mind that registries entries (added in our "Registry" page) are created during "Install Execution Stage -> Add Resources -> WriteRegistryValues"
standard action which is executed before "ExitDialog". So, in order to achieve what you want you should add the related check box control on a dialog before "ProgressDlg".
If I select "Modify" (after installation)
And I uncheck my checkbox the Registry Settings will be not removed.
What must I do to to that?
I'm afraid this is the normal behavior. A registry entry installed by your installation package will be uninstalled only when its containing feature, from
"Organization" page, will be uninstalled from target machine. However, in order to achieve what you want you can develop your own custom action which will delete the related registry entry when the installation is launch in "Modify" mode and the check box control isn't checked. The custom action should be added after "Install Execution Stage -> Add Resources" action group and should use a condition like this:
Code: Select all
((AI_INSTALL_MODE = "Change") AND (NOT CHECKBOX_1_PROP_1))
All the best,
Daniel