Microsoft KB Archive/908100

= How to silently remove Visual Studio 2005 when it has been installed in administrator mode =

Article ID: 908100

Article Last Modified on 11/28/2005

-

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:  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. Click Start, click Run, type the following command, and then click OK:

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

For example, type the following command:

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

 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. Click Done to close the Visual Studio 2005 Maintenance screen.

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

For more information, see the &quot;Creating a Network Image&quot; 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. Click Start, click Run, type the following command, and then click OK:

&quot;\\Computer\Share\ \vs\setup\Setup.exe&quot; /unattendfile &quot; \ &quot;

For example, type the following command:

&quot;\\Computer\vs\setup\setup.exe&quot; /unattendfile &quot;\\computer\share\vs8_uninstall.ini&quot;

</li></ol>

<div class="references_section">