Hello,
I've the problem, that our installer also needs to usable in silent isntallation mode. We have several custom actions which set up properties and so on.
These custom actions should be called at the start of the installer, no matter whether in silent or normal GUI mode.
At the moment I implemented it by doubling these custom actions, one time for the Wizards Dialogs Stage and one time for the Install Exection Stage with an additional condition "UILevel=2" to test, whether the custom action is not executed a second time if the installer runs in normal gui mode.
How could I implement this more elegant (I violate the rule DRY)?