Command-line options for installing Microsoft TechNet products

Article translations Article translations
Article ID: 818418 - View products that this article applies to.
Expand all | Collapse all

On This Page

SUMMARY

This article contains information about the command-line options that you can use to install Microsoft TechNet products at a command prompt. By using these options, you can do the following:
  • Silently Install TechNet products, without a user interface.
  • Change the location where TechNet is installed.
  • Change the Installation Type from Typical to Full or Custom.

MORE INFORMATION

Silently install TechNet

To silently install TechNet products, use the /q command-line option or the /qn command-line option. At a command prompt, run either of the following commands to silently install TechNet products:
  • setup.exe /q
  • setup.exe /qn
Because you are not running Setup through a user interface, Microsoft recommends that you use a log file to log information about the installation. You can use the /L command-line option to log information to a log file. For example, run the following command at a command prompt to log information to the file Test.txt that is located in the root directory of drive C:
setup.exe /q /L*v "C:\TechNet.log"
Note /L*v indicates that all typical information, including verbose output, is logged to the log file. However, the logged information does not include extra debugging information. You can only log the extra debugging information on a computer running Windows Server 2003.

To log the extra debugging information on a computer running Windows Server 2003, run the following command at a command prompt:
setup.exe /q /L*vx "C:\TechNet.log"

Change the location where TechNet will be installed

To change the location where TechNet will be installed, use the INSTALLPATH property, followed by the full directory path of the location where you want to install the TechNet product. For example, run the following command at a command prompt to install TechNet to C:\TestInstall:
setup.exe INSTALLPATH="C:\TestInstall"

Change the Installation Type from Typical to Full or Custom

To change the Installation Type from Typical to Full or Custom, use the ADDLOCAL property. For example:
  • To perform a Full Install of TechNet, run the following command at a command prompt:
    setup.exe ADDLOCAL=ALL
  • To perform a Custom Install of TechNet, run the following command at a command prompt:
    setup.exe ADDLOCAL=Feature
Note Feature is the type of feature that you want to install. The available features are organized hierarchically. You can install a subfeature only after you install the corresponding parent feature. The available parent features include Products and Technologies, TechNet Library, and Troubleshooting and Support.

Summary of common command-line options that are used together

Note When you use the /q command-line option to perform a silent install, Microsoft recommends that you use the /L*v command-line option that is described earlier in this article.

Collapse this tableExpand this table
Installation DetailsCommand to Run at the Command Prompt
Non-silent installation to the default folder by using the Typical install typesetup
Silent installation to the default folder by using the Typical install typesetup /q
Non-silent installation to a custom path by using the Typical install typesetup INSTALLPATH="C:\TestInstall"
Silent installation to a custom path by using the Typical install typesetup /q INSTALLPATH="C:\TestInstall"
Non-silent installation to the default folder by using the Full install typesetup ADDLOCAL=ALL
Silent installation to the default folder by using the Full install typesetup /q ADDLOCAL=ALL
Non-silent installation to a custom path by using the Full install typesetup INSTALLPATH="C:\TestInstall" ADDLOCAL=ALL
Silent installation to a custom path by using the Full install typesetup /q INSTALLPATH="C:\TestInstall" ADDLOCAL=ALL
Non-silent installation to the default folder by using the Custom install typesetup ADDLOCAL=Feature
Silent installation to the default folder by using the Custom install typesetup /q ADDLOCAL=Feature
Non-silent installation to a custom path by using the Custom install typesetup INSTALLPATH="C:\TestInstall" ADDLOCAL=Feature
Silent installation to a custom path by using the Custom install typesetup /q INSTALLPATH="C:\TestInstall" ADDLOCAL=Feature

Note Feature is the type of feature that you want to install (as described earlier in this article).

REFERENCES

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
227091 Command-line switches for the Microsoft Windows Installer tool
314881 The command-line options for the Microsoft Windows Installer tool Msiexec.exe
For more information, visit the following Microsoft Web sites:
About Windows Installer
http://msdn2.microsoft.com/en-us/library/aa367449.aspx

Command line options
http://msdn2.microsoft.com/en-us/library/aa367988.aspx

ADDLOCAL property
http://msdn2.microsoft.com/en-us/aa367536.aspx

Properties

Article ID: 818418 - Last Review: March 27, 2007 - Revision: 3.3
APPLIES TO
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kbvs2005applies kbvs2005swept kbui kbcommandline kbsetup kbconsole kbappsetup kbinfo KB818418

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com