使用 Wix 升级
我尝试了页面如何实施WiX安装程序升级? ,但没有升级成功。升级时总是提示此消息:
“已安装此产品的另一个版本。无法继续安装此版本。要配置或删除此产品的现有版本,请使用控制面板上的添加/删除程序。”
当我跟踪安装程序日志时,它显示:
已安装该产品的另一个版本。该版本的安装无法继续。要配置或删除该产品的现有版本,请使用控制面板上的添加/删除程序。 {CCA05551-C990-4ACA-9B01-A65AA9FBF884} MSI (c) (50:40) [13:49:33:462]:产品:-- 配置失败。
MSI (c) (50:40) [13:49:33:462]:Windows Installer 重新配置了产品。产品名称:产品版本:2.0.1.6。产品语言:1033。重新配置成功或错误状态:1638。
我错过了任何配置吗?
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:
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 reconfigured the product. Product Name: Product Version: 2.0.1.6. Product Language: 1033. Reconfiguration success or error status: 1638.
Any configuration I missed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要使软件包执行主要升级,您必须增加其 ProductVersion 并更改 产品代码。
您可以在此处了解不同类型的升级:
http://msdn.microsoft。 com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx
To make a package perform a major upgrade you must increase its ProductVersion and change the ProductCode.
You can read about different types of upgrades here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx