如何使InstallShield卸载以前的版本?

时间:2022-05-18 17:07:55

I've followed the instructions outlined here, but it doesn't work exactly as I need.:

我按照这里列出的说明进行操作,但它并不完全符合我的要求:

How to get InstallShield LE to uninstall the existing installation automatically? (apparently this has worked for other people, so it's worth having a look. If it does the trick, be sure upvote @JYelton's answer)

如何让InstallShield LE自动卸载现有安装? (显然这对其他人有用,所以值得一看。如果有诀窍,请务必upvote @ JYelton的回答)

The result of these instructions are that I can install the application without having to uninstall, but now there are 2 separate instances of the application in my Add or Remove Programs window. It doesn't actually uninstall the previous version, it just installs the new version application along-side the previous one.

这些说明的结果是我可以安装应用程序而无需卸载,但现在在“添加或删除程序”窗口中有2个单独的应用程序实例。它实际上并没有卸载以前的版本,只是将新版本的应用程序与前一版本一起安装。

How can I make InstallShield uninstall previous versions of the application?

如何让InstallShield卸载以前版本的应用程序?

1 个解决方案

#1


19  

Configure the new project to remove the old one by using the Upgrade Paths view: Add a New Upgrade Path, and browse to your previous .msi file to ensure it uses the right Upgrade Code. Then tweak the settings that appear, if necessary; typically they should be correct.

使用“升级路径”视图配置新项目以删除旧项目:添加新的升级路径,并浏览到以前的.msi文件以确保它使用正确的升级代码。然后根据需要调整显示的设置;通常他们应该是正确的。

#1


19  

Configure the new project to remove the old one by using the Upgrade Paths view: Add a New Upgrade Path, and browse to your previous .msi file to ensure it uses the right Upgrade Code. Then tweak the settings that appear, if necessary; typically they should be correct.

使用“升级路径”视图配置新项目以删除旧项目:添加新的升级路径,并浏览到以前的.msi文件以确保它使用正确的升级代码。然后根据需要调整显示的设置;通常他们应该是正确的。