Installshield 2011-升级版本格式为2009.727.1365的现有软件时出现问题 [英] Installshield 2011 - Problem Upgrading existing software with Version format 2009.727.1365

查看:118
本文介绍了Installshield 2011-升级版本格式为2009.727.1365的现有软件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Installshield 2011,我们正在进行主要升级,并且在使用此产品版本格式-2009.727.1365升级软件时遇到问题.我们不断收到标准的已安装的软件比要安装的产品更新"的消息.从我可以收集到的信息来看,使用IS 2011的主要版本必须小于255,而且我认为我们使用的旧格式破坏了升级检查.

Using Installshield 2011, we're creating a major upgrade and having problems upgrading software with this Product Version format - 2009.727.1365. We keep getting the standard 'Installed software is newer than product to be installed' message. With IS 2011, the major version has to be less than 255, from what I can gather, and I think the old format we're using is breaking the check for upgrading.

我创建了一个测试IS项目,从1.00.0000升级到2.00.0000,没有任何问题,因此,我认为该问题与已经安装的产品版本的格式有关.

I've created a test IS project upgrading from 1.00.0000 to 2.00.0000 with no issues, so I'm thinking the issue has to be related to the format of the product version already installed.

是否可以使用InstallScript或其他方法将旧格式与新格式进行比较,然后进行覆盖?

Is there a way to use InstallScript or something to compare our old format with the new one and then do an override?

任何帮助将不胜感激.在此先感谢!

Any help would be greatly appreciated. Thanks in advance!!

**我最终在下面提供的链接中使用了Christopher的回复(超出版本限制).这似乎可以很好地处理现有产品的卸载.再次感谢你们!

**I ended up using Christopher's reply in the link he provided below (Exceeding Version Limits). This seemed to handle the uninstallation of the existing product very well. Thanks again Guys!

推荐答案

您的 ProductVersion 属性无效. SDK说:

Your ProductVersion property is invalid. The SDK says:

ProductVersion属性的值是字符串形式的产品版本.此属性是必需的.

The value of the ProductVersion property is the version of the product in string format. This property is REQUIRED.

字符串的格式如下:

major.minor.build 第一个字段是主要版本,最大值为255.第二个字段是次要版本,最大值为255.第三个字段称为构建版本或更新版本,最大值为65,535.

major.minor.build The first field is the major version and has a maximum value of 255. The second field is the minor version and has a maximum value of 255. The third field is called the build version or the update version and has a maximum value of 65,535.

我还建议您阅读超出版本限制.

如果您了解FindRelatedProducts和RemoveExistingProducts的工作原理,则可以通过一些技巧来解决此问题.

There are hacks to work around this if you understand how FindRelatedProducts and RemoveExistingProducts works.

这篇关于Installshield 2011-升级版本格式为2009.727.1365的现有软件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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