Microsoft KB Archive/810225

= How to silently remove Visual Studio .NET in administrative mode =

Article ID: 810225

Article Last Modified on 3/4/2006

-

APPLIES TO


 * 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 step-by-step article describes how to silently remove Visual Studio .NET when it has been installed in administrator mode.

Microsoft Visual Studio .NET offers an administrator mode setup that you can use to perform silent installation and deployment to a client computer. When you run the uninstall program in the unattended mode, Setup silently removes the administrator designated options without any user interaction or display.

Create the INI File for Removing the Program
You will create an .ini file that is based on the options you select for removal. Setup uses this .ini file to remove Visual Studio .NET on the remote computer.

Note Before you perform the steps to remove the program, you must have Visual Studio .NET installed on the administrator computer.

To create the uninstall .ini file, follow these steps:  Insert Visual Studio .NET CD 1 or DVD, and then close the autorun message. Click Start, and then click Run. Type the following path:

n:\setup\Setup.exe /createunattend \

For example:

d:\setup\setup.exe /createunattend c:\vs7_uninstall.ini

 On the Visual Studio .NET Maintenance screen, click Uninstall Microsoft Visual Studio .NET. The uninstall .ini file is created automatically at the location that you specified in step 3. For example, C:\Vs7_uninstall.ini.

The Done link appears on the Visual Studio .NET Maintenance screen when the program has successfully created the .ini file and saved it at the specified location. Click Done to close the Visual Studio .NET Maintenance screen.

Remove Visual Studio .NET
The following steps describe how to use the .ini file that you created in the previous procedure to remove the selected options of Visual Studio .NET in the unattended mode:  Verify that Visual Studio .NET is available on the network computer. (See &quot;Creating a Network Image&quot; in the Adminreadme.htm file. This documentation is located on Visual Studio .NET CD 1 or DVD.) Click Start, and then click Run.</li> Type the following path:

&quot;\\ \ \...\setup\Setup.exe&quot; /unattendfile \

For example:

&quot;\\Computer\VisualStudio\setup\setup.exe&quot; /unattendfile &quot;\\computer\share\vs7_uninstall.ini&quot;

</li> Click OK.</li></ol>

<div class="references_section">