如何使 WiX Toolset (Burn) Bootstrapper 识别升级?

发布于 2025-01-15 19:46:00 字数 232 浏览 3 评论 0原文

我正在使用 WiX(Burn)Bootstrapper 来包装我的 MSI 安装程序(以便我可以用它安装一些必备库。)

它可以很好地安装和卸载,但我似乎不知道如何实现升级与它?假设我安装了 1.0.0 版本,现在运行 1.0.1 版本。

附言。我确保 MSI 和引导程序的 XML 标记中的 UpgradeCode 值相同。但这没有帮助。引导程序的行为仍然就像升级到下一个版本只是简单的安装一样。

I'm using the WiX (Burn) Bootstrapper to wrap my MSI installer (so that I can install some prerequisite libraries with it.)

It works fine for installation and uninstallation, but I can't seem to figure out how to implement an upgrade with it? Say, if I had version 1.0.0 installed and now I run it for version 1.0.1.

PS. I made sure that UpgradeCode values in the XML markup for both MSI and bootstrapper are the same. But it didn't help. The bootstrapper still behaves like an upgrade to the next version is just a plain installation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回梦 2025-01-22 19:46:00

升级后的引导程序应该像普通安装一样运行。如果1.0.1版本安装成功,一切正常。

如果您希望引导程序检测以前的版本,您应该使用自定义引导程序应用程序和 DetectRelatedBundle 事件。

The upgraded bootstrapper should behave like a plain installation. If version 1.0.1 was installed successfully, everything is ok.

If you want bootstrapper to detect previous version, you should use custom bootstrapper application and DetectRelatedBundle event.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文