December 2012
Intermediate to advanced
488 pages
10h 23m
English
While Windows Installer uses action state to determine if a feature or component should be installed, it uses the installed state to see if a feature or component has already been installed by a previous installation. In other words, does it currently exist on the computer?
Unlike the action state, the value of installed state can be used in feature and component conditions. For features, you'll prefix the feature's Id attribute with an exclamation mark (!), as shown:
!MainFeature = 3
For components, you'll use a question mark (?):
?ComponentA = 3
This allows you to include features and components based on whether they were installed before. You can also use them in custom actions and UI control conditions, such as to change which dialogs ...
Read now
Unlock full access