cmdLine Element

Updated: September 26, 2009

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

The cmdline element contains child elements that specify the commands and arguments used to install the product. You can use commands as you would type them at a command prompt to perform tasks such as stopping and starting services, or specify parameters for the installer.

Schema Hierarchy

feed Element
returnCodeMappings Element


  <commandLineArguments>-iru -enable</commandLineArguments>
  <returnCodeMappings> ... </returnCodeMappings>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.



Child Elements

Element Description


Contains the file system path of the installation executable file.


Contains arguments that are issues as part of the installation process.


Contains one or more child mapping elements that maps return codes from the installer to error message strings.


Specifies whether to ignore the exit code returned by the installer. If true, the exit code is ignored.

Parent Elements

Element Description


Contains one or more child msiInstall, cmdline, or msuInstall elements that define how the product is installed.