CommandLine Element

WiX

CommandLine Element

Description
Describes additional, conditional command-line arguments for an ExePackage.
Windows Installer references
None
Parents
ExePackage
Inner Text
None
Children
None
Attributes
Name Type Description Required
Condition String The condition that controls whether the command-line arguments specified in the InstallArgument, UninstallArgument, or RepairArgument attributes are appended to the command line passed to the ExePackage. Which attribute is used depends on the action being applied to the ExePackage. For example, when the ExePackage is being installed, the InstallArgument attribute value is appended to the command line when the ExePackage is executed.  
InstallArgument String Additional command-line arguments to apply during package installation if Condition is true.  
RepairArgument String Additional command-line arguments to apply during package repair if Condition is true.  
UninstallArgument String Additional command-line arguments to apply during package uninstallation if Condition is true.  
See Also
Wix Schema