Microsoft small business knowledge base

Article ID: 912203 - Last Review: October 15, 2007 - Revision: 1.7


This article describes the command-line switches that are supported by a software installation package, an update package, or a hotfix package that was created by using Microsoft Self-Extractor.


A Microsoft Self-Extractor package is a self-extracting executable (.exe) file. You can run the .exe file to install the package. To run the .exe file, use one of the following methods:
  • Double-click the .exe file.
  • Run the .exe file from a command line.
If you run the .exe file from a command line, several switches may be available for use in the package.

Note Not all switches may be available in all packages.

To determine which switches are available in the package, use one of the following Help switches when you run the package at a command line:
  • /?
  • /h
  • /help
The following table lists the command-line switches that are supported by Microsoft Self-Extractor.
Collapse this tableExpand this table
/extract:[path]Extracts the content of the package to the path folder. If a path is not specified, then a Browse dialog box appears.
/log:[path to log file]Enables verbose logging for the update installation.

Note In addition to the path information, the file name must be included. Because the command does not create a folder that does not exist, only an existing folder name should be provided. In addition to the file name that is specified, a separate log file will be created for each .msi file that is run.
/lang:lcidSets the user interface to the specified locale when multiple locales are available in the package.
/quietRuns the package in silent mode.
/passiveRuns the update without any interaction from the user.
/norestartPrevents prompting of the user when a restart of the computer is needed.
/forcerestartForces a restart of the computer as soon as the update is finished.
/?, /h, /helpShows this help message.

  • Microsoft Expression Web Designer
  • Microsoft Office Basic 2007
  • Microsoft Office Enterprise 2007
  • Microsoft Office Home and Student 2007
  • Microsoft Office Professional 2007
  • Microsoft Office Professional Plus 2007
  • Microsoft Office Standard 2007
  • Microsoft Office Ultimate 2007
  • Microsoft Office Access 2007
  • Microsoft Office Excel 2007
  • Microsoft Office Groove 2007
  • Microsoft Office InfoPath 2007
  • Microsoft Office OneNote 2007
  • Microsoft Office Outlook 2007
  • Microsoft Office PowerPoint 2007
  • Microsoft Office Project Professional 2007
  • Microsoft Office Project Standard 2007
  • Microsoft Office Publisher 2007
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office Visio Professional 2007
  • Microsoft Office Visio Standard 2007
  • Microsoft Office Word 2007
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 2.0
kbcommandline kbsettings kbsetup kbtshoot kbexpertiseinter KB912203
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support