Skip to main content
Version: v3

CommandLine Element

Description
Describes additional, conditional command-line arguments for an ExePackage.
Windows Installer references
None
Parents
ExePackage
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
ConditionString 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.  
InstallArgumentStringAdditional command-line arguments to apply during package installation if Condition is true. 
RepairArgumentStringAdditional command-line arguments to apply during package repair if Condition is true. 
UninstallArgumentStringAdditional command-line arguments to apply during package uninstallation if Condition is true. 
See Also
Wix Schema