View Full Version : Conditional Custom Actions

05-25-2004, 10:05 AM
I am trying to imlpement some custom actions into my project during Install\Reinstall\Uninstall
and also some depending on the selection of Features...

After browsing through the help and notes I found only one condition for fresh install that is NOTINSTALLED please can some one help me in creating the conditions for Reinstall\Uninstall and also for Feature selected\NotSelected situations.

Thanks for your time,

05-25-2004, 10:08 AM
For the general idea, please see this InstallShield newsletter tip: http://www.installshield.com/news/newsletter/0212-articles/msiconditions.asp.

For information about feature-selection conditions, please also see the MSI Help Library topic "Conditional Statement Syntax".

05-25-2004, 10:19 AM
Firstly thanks for your speedy reply but i have one more question

In Repair Mode if I want to launch a custom action only when Feature A is selected to be uninstalled which condition should I use.

Please can you help me

05-25-2004, 10:32 AM
The MSI Help Library page "Examples of Conditional Statement Syntax" gives this example:

Run action only if the feature will be uninstalled.

(&FeatureName=2) AND (!FeatureName=3)