gpt4 book ai didi

wix - 使用 InstallShield 或 WiX 修补多个实例安装

转载 作者:行者123 更新时间:2023-12-04 09:43:23 24 4
gpt4 key购买 nike

我有一个在 InstallShield 12 中构建的项目。它是一个需要多次安装的 Web 应用程序,并且这些安装需要打补丁。

我可以在 WiX 和 InstallShield 中创建转换和补丁。
当我尝试从 InstallShield 修补转换后的安装时,出现错误:

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program.  Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."

在 InstallShield 中,我尝试通过“补丁设计”选项卡将转换中的新产品代码添加到“目标产品代码列表”。这样做会使补丁创建出错:
"ERROR: At least one of the GUIDs '{ORIGINAL-GUID},{TRANSFORM-GUID}' defined in the ListOfTargetProductCodes property in the Properties table of the .pcp file is invalid."

在 WiX (3.5) 中,我使用 dark.exe 将我的项目从 InstallShield 转换为 WiX。我已经足够了,我可以为转换安装补丁,但我收到警告:
"Patch.wxs(11) : warning PYRO1079 : The cabinet 'Data1.cab' does not contain any files."

这是一个问题,因为我试图在补丁中运行 SQL 脚本,但该补丁没有将我的 sql 文件插入到 cab 中。

我还通过 WiX 尝试了 .pcp 方法(在 WiX 3.0 之前),并且只能达到我在 InstallShield 中获得的程度。

到目前为止,我主要引用这个页面来获取答案: http://ysdevlog.blogspot.com/2011/08/revisited-multiple-instance.html

TL;DR:如何使用(最好)InstallShield 或 WiX 为多个实例安装生成补丁?

最佳答案

我已经完全放弃 InstallShield 解决了我自己的问题。我没有将我的 InstallShield 最终 msi 转换为 WiX,而是在纯 WiX 中重新创建了我的项目。
这样做允许我安装多个实例,并修补它们。

很遗憾我无法弄清楚如何通过 InstallShield 让它工作。

关于wix - 使用 InstallShield 或 WiX 修补多个实例安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9471790/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com