Property Element

WiX Help

Property Element

Description

Property value for a Product or Module.

Windows Installer references
Property Table
Parents
Control, Fragment, Include, Module, ODBCDataSource, ODBCDriver, Product, UI, Upgrade
Inner Text (xs:string)
This element may have inner text.
Children
Sequence (min: 1, max: 1)
  1. ComplianceDrive (min: 0, max: 1): Starts searches from the CCP_DRIVE.
  2. ComponentSearch (min: 0, max: unbounded)
  3. RegistrySearch (min: 0, max: unbounded)
  4. RegistrySearchRef (min: 0, max: unbounded)
  5. IniFileSearch (min: 0, max: unbounded)
  6. DirectorySearch (min: 0, max: unbounded)
  7. DirectorySearchRef (min: 0, max: unbounded)
  8. FileSearch (min: 0, max: unbounded)
Attributes
Name Type Description Required
Id String Unique identifier for Property. Yes
Admin YesNoType Denotes that the Property is saved during admininistrative installation. See the AdminProperties Property for more information.  
ComplianceCheck YesNoType Adds a row to the CCPSearch table. This attribute is only valid when this Property contains a search element.  
Hidden YesNoType Denotes that the Property is not logged during installation. See the MsiHiddenProperties Property for more information.  
Secure YesNoType Denotes that the Property can be passed to the server side when doing a managed installation with elevated privileges. See the SecureCustomProperties Property for more information.  
Value String Sets a default value for the property. The value will be overwritten if the Property is used for a search.  
See Also
Wix Schema, PropertyRef