如何在Visual Studio安装项目中创建卸载程序?

问题描述:

我已经创建了一个Visual Studio安装项目,但是我不知道如何在我的Visual Studio安装项目中创建卸载程序,请告诉我该怎么做??

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??

我正在使用Visual Studio 2005,或者是否有其他任何软件可以通过卸载程序创建完整的安装程序.

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

我已经创建了一个Visual Studio安装项目,但是我不知道如何在我的Visual Studio安装项目中创建卸载程序,请告诉我该怎么做??

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??

卡扎尔的答案是正确的.Visual Studio安装程序将创建一个.msi文件,该文件描述数据库表中的安装.Windows安装程序引擎msiexec.exe使用.msi文件(与Word使用的.docx很像).如果已经安装了该应用程序,则会显示unistall/modify/repair选项.

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.

我正在使用Visual Studio 2005,或者是否有其他任何软件可以通过卸载程序创建完整的安装程序.

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

有免费和商业产品.Windows有两种常规的安装类型:Windows Installer(.msi)文件和基于脚本的安装程序.

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