Skip to content

CommandLine element

Describes additional, conditional command-line arguments for an ExePackage or BundlePackage.

Attributes

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 package. Which attribute is used depends on the action being applied to the package. For example, when the package is being installed, the InstallArgument attribute value is appended to the command line when the package 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.

Parents