Mutation Element (Lux Extension)

WiX

Mutation Element (Lux Extension)

Description
Test mutations let you author unit tests with different expected results. The mutation id is passed as the value of the WIXLUX_RUNNING_MUTATION property. Your custom action, typically in an '#ifdef DEBUG' block, can retrieve the WIXLUX_RUNNING_MUTATION property and hard-code different behavior based on the mutation. To author test mutations, use the Mutation element with UnitTest elements as children.
Windows Installer references
None
Parents
Fragment
Inner Text
None
Children
Choice of elements (min: 0, max: unbounded)
Attributes
Name Type Description Required
Id String Value of the WIXLUX_RUNNING_MUTATION property set by the mutation.  
See Also
Lux Schema