How to silently remove Visual Studio 2005 when it has been installed in administrator mode (908100)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition

SUMMARY

This step-by-step article describes how to silently remove Microsoft Visual Studio 2005 when it has been installed in administrator mode.

MORE INFORMATION

Visual Studio 2005 includes an administrator-mode Setup program that you can use to silently install and deploy Visual Studio 2005 to a client computer. When you run the uninstall program in unattended mode, the Setup program silently removes the administrator-designated options without any user interaction or display.

Create the .ini file to remove the program

You must create an .ini file that is based on the options that you select for removal. The Setup program uses this .ini file to remove Visual Studio .NET 2005 on the remote computer.

Note Before you follow these steps to remove the program, you must have Visual Studio 2005 installed on the administrator computer.

To create the .ini file, follow these steps:
  1. Insert the Visual Studio 2005 CD 1 or the Visual Studio 2005 DVD into the CD drive or into the DVD drive, and then close the autorun message.
  2. Click Start, click Run, type the following command, and then click OK:

    n:\vs\setup\Setup.exe /createunattend PathOfINIFile\INIFileName

    For example, type the following command:

    d:\vs\setup\setup.exe /createunattend c:\vs8_uninstall.ini

  3. On the Visual Studio 2005 Maintenance screen, click Uninstall Microsoft Visual Studio 2005. The uninstall .ini file is automatically created at the location that you specified in step 2.

    For example, the C:\Vs8_uninstall.ini file is created.

    Note The Done link appears on the Visual Studio 2005 Maintenance screen after the program has successfully created and saved the .ini file at the specified location.
  4. Click Done to close the Visual Studio 2005 Maintenance screen.

Remove Visual Studio 2005

Use the .ini file that you created in the "Create the .ini file to remove the program" section to remove the selected options of Visual Studio 2005 in the unattended (silent) mode. To do this, follow these steps:
  1. Verify that Visual Studio 2005 is available on the network computer.

    For more information, see the "Creating a Network Image" section in the Adminreadme.htm file. The Adminreadme.htm file is located on Visual Studio 2005 CD 1 or on the Visual Studio 2005 DVD.
  2. Click Start, click Run, type the following command, and then click OK:

    "\\Computer\Share\Path\vs\setup\Setup.exe" /unattendfile "PathOfINIFile\INIFileName"

    For example, type the following command:

    "\\Computer\vs\setup\setup.exe" /unattendfile "\\computer\share\vs8_uninstall.ini"

REFERENCES

For more information about how to install Microsoft Visual Studio 2005 in Setup Administrator mode, see the Adminreadme.htm file that is located in the Setup folder on Visual Studio 2005 CD 1 or on the Visual Studio 2005 DVD.

Modification Type:MajorLast Reviewed:11/28/2005
Keywords:kbsetup kbInstallation kbhowto kbinfo KB908100 kbAudDeveloper kbAudITPRO