Search code examples
visual-studio-2005installationprojects-and-solutions

How to create uninstaller in visual studio setup project?


I have created a visual studio setup project, but I don't know how to create uninstaller in my visual studio setup project, please tell me how to do that??

I am using Visual Studio 2005, Or is there any other software which creates complete setups with uninstaller.


Solution

  • I have created a visual studio setup project, but I don't know how to create uninstaller in my visual studio setup project, please tell me how to do that??

    Kazar's answer is correct. The Visual Studio setup creates a .msi file that describes the installation in a database table. .msi files are consumed by the Windows Installer engine msiexec.exe (much like .docx consumed by Word). If the application is already installed, then the unistall/modify/repair options are presented.

    I am using Visual Studio 2005, Or is there any other software which creates complete setups with uninstaller.

    There are free and commercial products available. There are two general types of installations for Windows: Windows Installer (.msi) files and script-based installers.