Community Forums
Results 1 to 4 of 4

Thread: Conditional Custom Actions

  1. #1
    sahilr Guest

    Unhappy Conditional Custom Actions

    Hi,
    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,
    Sahil.

  2. #2
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    For the general idea, please see this InstallShield newsletter tip: http://www.installshield.com/news/ne...conditions.asp.

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

  3. #3
    sahilr Guest

    Uninstall

    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
    Sahil.

  4. #4
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •