InstallShield LE“此产品的另一个版本已注册" [英] InstallShield LE "Another version of this product is already registered"

查看:162
本文介绍了InstallShield LE“此产品的另一个版本已注册"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2010中使用InstallShield LE遇到了障碍.第二次运行生成的setup.exe(版本号增加),出现错误

I'm running into a roadblock using InstallShield LE in VS2010. The second time running the resulting setup.exe (with incremented version numbers), I get the error

该产品的另一个版本是 已经注册

Another version of this product is already registered

通过递增版本号",我的意思是我将.exe的AssemblyVersion和AssemblyFileVersion中的次要版本,内部版本号和修订版本更改为较大的数字(DLL设置为"1.0.*")

By "incremented version numbers", I mean I changed the Minor Version, Build Number and Revision to larger numbers in AssemblyVersion and AssemblyFileVersion of my .exe (the DLL's are set to "1.0.*")

[assembly: AssemblyVersion("0.2.103.005")]
[assembly: AssemblyFileVersion("0.2.103.005")]
[assembly: AssemblyInformationalVersion("Alpha 0.1 - 2/8/2011")]

,还将Installshield LE安装项目的常规信息"选项卡中的产品版本"从0.10.0000更新为0.11.0000.

and also updated the Product Version in the General Information tab of the Installshield LE setup project from 0.10.0000 to 0.11.0000.

在其他SO帖子和制造商的社区支持论坛上,我确实遇到了此错误消息的实例,但是没有找到适用于我的解决方案.

I did come across instances of this error message in other SO postings and on the manufacturer's community support forum, but did not find a solution that applies to me.

推荐答案

事实证明,答案是在升级路径"选项卡上创建一个条目.当您执行此操作时,InstallShield LE将显示一个文件选择对话框.如果您使用的是旧的安装程序,则大概可以浏览到该安装程序,以获取有关希望从哪个版本升级的信息.就我而言,我没有旧的安装程序,因此我按了取消,并且无论如何都创建了新的升级路径条目.然后,我调整了该条目的属性,以指定升级的最低和最高版本,一切都按预期进行.

It turns out the answer is to create an entry on the Upgrade Paths tab. When you do that, InstallShield LE will present a file selection dialog. If you have the old installer, presumably you can browse to it to get information about what version you wish to be able to upgrade from. In my case I didn't have the old installer handy, so I pressed cancel and the new Upgrade Paths entry was created anyway. I then adjusted the properties of that entry to specify a minimum and maximum version for the upgrade, and everything worked as expected.

编辑

(来自@lookatmike的评论)

(from @lookatmike's comment)

您还必须在常规信息"选项卡中更改产品版本和(有些违反直觉的)产品代码.升级代码必须保持不变.

You also have to change the Product Version and (somewhat counterintuitively) the Product Code in the general information tab. The Upgrade Code must stay the same.

这篇关于InstallShield LE“此产品的另一个版本已注册"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆