Microsoft KB Archive/818418

= Command-line options for installing Microsoft TechNet products =

Article ID: 818418

Article Last Modified on 3/27/2007

-

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

-



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.



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 &quot;C:\TechNet.log&quot;

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 &quot;C:\TechNet.log&quot;

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=&quot;C:\TestInstall&quot;

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=



Note  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.

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

