2009/02/06

Create an uninstaller for setup project in Visual Studio

R1040868.JPG
Seattle.US

regarde, quel beau le temp!

****

In order to easily uninstall the software installed by msi file, which is created by setup project in Visual Studio, I searched a bit on the internet.

At first, I have to create a bat file in my application folder of my set up project. And then, write in msiexec \x {xxxx-xxxx} in the bat file with proper product code, which can be found in the property of the setup project.

Create a shortcut for the bat file in the program menu. And then, when the msi file is installed, you can find the uninstall shortcut.

voila.

http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/

No comments:

Post a Comment