Action state

We talked about the Level attribute on Feature elements and how it's used to enable or disable features. Behind the scenes, what you're doing is setting the action state of the feature. The action state is the thing that stores whether or not the end user has requested that the feature be installed. The same exists for components since we can enable and disable them too. It can have any of the following values:

  • Unknown: This indicates that the state is not known, usually because costing has not taken place. No action will be taken on the component or feature.
  • Advertised: This indicates that the feature will be installed as advertised, meaning install on demand. This doesn't exist for components.
  • Absent: This indicates that the feature ...

Get WiX 3.6: A Developer's Guide to Windows Installer XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.