Microsoft KB Archive/164353

= SMSINST: Command Line Parameter Order for Installer Executables =

Article ID: 164353

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 1.2 Standard Edition
 * Microsoft Systems Management Server 1.0 Standard Edition

-



This article was previously published under Q164353



SUMMARY
A Systems Management Server Installer installation executable file can accept custom command-line parameters that are read into the script variable CMDLINE. When using the built-in command line options available, the built-in command line arguments must be supplied first on the application command line.



MORE INFORMATION
The following are the built-in command line options available when using an installation executable:

Test Mode - /T

Allows an installation script to be tested without making changes to the system.

Extract Mode - /X and /Z


 * /X lists the files contained in the installation executable. Files may be selected for extraction from an installer UI. Placing a directory name after the /X parameter will extract all files to the selected directory.
 * /Z performs the same function as /X, except the computer will exit Windows after extraction.

Manual Mode - /M

Runs an installation in manual mode. The installation executable will prompt for certain directories (if required). This will allow files destined for the Windows or Windows\System directories to be redirected if required.

Silent Mode - /S

Performs an installation in silent mode. The background gradient and progress bar are not displayed. Messages or prompts that the installation uses (except RESTART) will not be displayed.

Please see the Systems Management Server Installer Version 1.0 documentation (http://www.microsoft.com/SMSMGMT/installer.htm) for a more complete overview of these command-line parameters.

If you want to process custom command-line arguments in your installation executable, they must follow the Installer built-in command line options. Built-in arguments will be ignored if they are preceded by custom arguments.

The following is an example for a Setup.exe file: setup.exe [/S] [/X|Z] [/M] [CMDLINE arguments] The following is a similar example for an Uninstal.exe file, where /C is for a Custom removal, and /A is for an Automatic removal: uninstal.exe [/S] [/C] [/A] [x:\path\install.log] "Optional dialog bar  message"

Additional query words: prodsms sms uninstall deinstall de-install

Keywords: kbinfo kbusage KB164353

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.