Pages

Showing posts with label msi conditions. Show all posts
Showing posts with label msi conditions. Show all posts

Thursday, 21 June 2012

Custom Action Conditions in MSI


You can execute a custom action or make the component install using conditions as per the requirement.
  1. Condition for Action to run only during Installation
    Condition: NOT Installed
  2. Condition for Action to run only during Uninstallation/Removal of MSI
    Condition: REMOVE="ALL"
  3. Condition for Action to run during Install and repair
    Condition: NOT REMOVE
  4. Condition for Action to run only during Upgrade
       Condition: NOT UPGRADINGPRODUCTCODE