Create an uninstaller for setup project in Visual Studio


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.



No comments:

Post a Comment