These conditons can be used in custom actions, in Tables, and Component installations.
You can execute a custom action or make the component install using conditions as per the requirement.
- Action run only during Install
Condition: NOT Installed AND NOT PATCH
- Action only runs during removal of MSI
Condition: REMOVE
- Action runs during Install and repair
Condition: NOT REMOVE
- Action runs during Install and remove
Condition: There must be no condition
- Action calls EXE installed by MSI
Condition:NOT Installed AND NOT PATCH
- Run on initial installation only:
NOT Installed
- Run on initial install or when repair is selected.
NOT Installed OR MaintenanceMode="Modify"
- Run when being uninstalled from command line or add / remove menu.
REMOVE~="All" OR MaintenanceMode="Remove"
- If you want your CA to run only if it is upgrading a previous version UPGRADE_1 (Upgrade property)
Condition: NOT Installed AND NOT PATCH
Condition: REMOVE
Condition: NOT REMOVE
Condition: There must be no condition
Condition:NOT Installed AND NOT PATCH
NOT Installed
NOT Installed OR MaintenanceMode="Modify"
REMOVE~="All" OR MaintenanceMode="Remove"
No comments:
Post a Comment