Reputation: 385
I have InstallShield Basic MSI Project with two features: A and B.
User can run generated setup.exe, follow Installation Wizard, select Custom Installation Type, select features A or (and) B to install and click Install. And only selected features should be installed.
My problem is - feature A has its own setup.exe (in fact this is Standalone installer with own customized installation Wizard) and I want to launch this setup.exe if user selected this feature and clicked Install. The main installation dialog should be suspended until I finish with installation dialog of feature A. Installing of feature B (Feature B doesn't have any installation dialogs and just copies several dlls to destination folder and registers some of them) should start only when I finish with feature A.
How can I get this behavior using InstallShield Custom Actions? What Exec Sequence and Exec Condition should I set for this Custom ACtion?
Upvotes: 1
Views: 5221
Reputation: 55581
See Conditional Statement Syntax
You can write statements like &FEATURENAME=3. Personally I tend to use components instead of features. It depends on what the custom action does and what the dependency relationship is.
That said, your design is not really valid. Windows Installer has mutexes that prevent what you are trying to do. You should really look at Setup and Feature Prerequisites or Suite Installers to create a chained installer solution.
Upvotes: 3