October 2010
Intermediate to advanced
348 pages
7h 10m
English
After you've defined your custom actions and scheduled them into either the InstallUISequence or the InstallExecuteSequence, you have the option of adding conditions to them. These are added as the inner text of the Custom element and prevent the action from running if the condition is false. A common use for this is to only run the action during installation by using the "NOT Installed" condition.
<InstallExecuteSequence>
<Custom Action="myCustomAction" After="InstallInitialize">
NOT Installed
</Custom>
</InstallExecuteSequence>Other common conditions are "Installed", which is true if the software is already installed, and "REMOVE", which contains a list of features that are being uninstalled.
You can also use ...
Read now
Unlock full access