[英]Update an existing installation using InstallShield LE
We've got aa quite simple WinForms application. 我们有一个非常简单的WinForms应用程序。 I've created an installation using InstallShield LE which works fine on the first install.
我使用InstallShield LE创建了一个安装,它在第一次安装时工作正常。 I'd like that users will be able to run the installation also for updating an existing copy.
我希望用户也可以运行安装来更新现有副本。 The problem is that I can't figure out what is the right way to create this update package.
问题是我无法弄清楚创建此更新包的正确方法是什么。 I've tried:
我试过了:
Changing the Product Code - the installation works but a new entry is being created in Add/Remove programs and the old entry is not removed. 更改产品代码 - 安装有效但在添加/删除程序中创建了新条目,并且未删除旧条目。
Keeping the Product Code - Windows installer shouts: "another version of this product is already installed" 保留产品代码 - Windows安装程序大喊:“已经安装了此产品的另一个版本”
Tried to play with other codes (Upgrade Code / Product Version) - doesn't help 试图玩其他代码(升级代码/产品版本) - 没有帮助
Is there any easy way to create this? 有没有简单的方法来创建它? Maybe something to tell the installer to remove its previous version if exist?
如果存在,可能会告诉安装程序删除其以前的版本?
In your InstallShield setup project, you should do the following: 在InstallShield安装项目中,您应该执行以下操作:
pres button "..." in /General info/product code to generate new guid 在一般信息/产品代码中按下“...”以生成新的guid
Optional settings. 可选设置。 In /Upgrade PAth / Upgrade code
在/升级PAth /升级代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.