Add a condition to the action, so it runs only during installation, and not during removal.
The action is performed only during installation.
NOT Installed AND NOT PATCH
The action is performed during installation and recovery.
NOT REMOVE
It is carried out only at initial installation:
NOT Installed
Startup during initial installation or when selecting a mode.
NOT Installed OR MaintenanceMode="Modify"
To perform only an action during deletion, use the following condition:
REMOVE~="ALL"
To perform an action only during the upgrade:
Installed AND NOT REMOVE
saschabeaumont Feb 11 '09 at 21:25 2009-02-11 21:25
source share