Hello,
You could implement your scenario by duplicating all these custom actions, this time with "Hide program's Window" option enabled and condition these new custom actions with by a Checkbox property. You could use this condition for the new custom actions:
In order to avoid the execution of first set of custom actions if the second set is executed, you should condition this first set as well. You could use this condition:
In this way, if the chekbox is not enabled the first set of custom actions (with visible windows) is executed. If the checkbox is enabled, the second set of custom actions are executed (with hidden windows).
You could pass CHECKBOX_1_PROP propery as a command line argument as well. For example, you could use the following command line:
Code: Select all
setup.msi CHECKBOX_1_PROP="CheckBox"
Best regards,
Sorin