使用 Wix 升级 [英] Upgrade with Wix

查看:37
本文介绍了使用 Wix 升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了页面如何实现WiX安装程序升级的几乎所有解决方案列表? ,但没有升级成功.我升级的时候总是提示这个信息:

I tried nearly all solutions list on page How to implement WiX installer upgrade? , but didn't upgrade successful. always prompt this message when I was upgrade:

此产品的另一个版本已安装.此版本的安装无法继续.要配置或删除此产品的现有版本,请使用控制面板上的添加/删除程序."

"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."

当我跟踪安装程序日志时,它显示:

When I trace the installer log, it shows:

已安装此产品的另一个版本.此版本的安装无法继续.要配置或删除此产品的现有版本,请使用控制面板上的添加/删除程序.{CCA05551-C990-4ACA-9B01-A65AA9FBF884}MSI (c) (50:40) [13:49:33:462]:产品:--配置失败.

Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. {CCA05551-C990-4ACA-9B01-A65AA9FBF884} MSI (c) (50:40) [13:49:33:462]: Product: -- Configuration failed.

MSI (c) (50:40) [13:49:33:462]:Windows Installer 重新配置了产品.产品名称: 产品版本:2.0.1.6.产品语言:1033.重新配置成功或错误状态:1638.

MSI (c) (50:40) [13:49:33:462]: Windows Installer reconfigured the product. Product Name: Product Version: 2.0.1.6. Product Language: 1033. Reconfiguration success or error status: 1638.

我错过了任何配置吗?

推荐答案

要使包执行重大升级,您必须增加其 ProductVersion 并更改 产品代码.

To make a package perform a major upgrade you must increase its ProductVersion and change the ProductCode.

您可以在此处阅读不同类型的升级:http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx

You can read about different types of upgrades here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx

这篇关于使用 Wix 升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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