Wix组件在分支应用程序时需要更改Guid

发布于 2024-10-04 03:57:12 字数 386 浏览 0 评论 0原文

我的场景非常简单:

我有一个 Windows 应用程序,其中有几个文件位于“Program files...”文件夹中。这些文件根据其中包含的功能类型分为多个组件。这些文件主要是 .net 程序集,无论如何都不是全局的。它们应该只由我的应用程序使用。我在安装新版本时使用主要升级。

现在我想发布该应用程序的 v1.0 版本,同时继续使用 v2.0。这两个版本将并行运行,所以我当然需要更改 UpgradeCode。当然,我还在源代码管理中创建了一个分支来管理 v1.0 和 v2.0 轨道。

我的问题是:我需要为 v2.0 中的所有组件创建新的 guid 吗?。在最好的情况下,不同 msi 数据库中的组件之间不会发生冲突吗?

最好的问候

// 亨里克·卡尔森

My scenario is really straight forward:

I have a windows application with several files that lands in a "Program files..." folder. These files are divided into components depending on what kind of functionality there's in them. The files are mostly .net assemblies are not in any way global. They should only be used by my application. I use major upgrade when installing a new version.

Now I want to make a release v1.0 of the application and at the same time keep on working with v2.0. The two version which shall run side by side, so course I need to change the UpgradeCode. I also of course make a branch in my source control to manage the v1.0 and v2.0 tracks.

My question is: Do I need to make new guids for all the components i v2.0?. In the best of worlds there is no conflict between component in different msi-databases?

Best regards

// Henrik Carlsson

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

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

发布评论

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

评论(1

一袭水袖舞倾城 2024-10-11 03:57:12

无需更改 GUID。如果您要进行更新,WIX 希望您更改 wix 文件中的升级代码 GUID

Theres no need to change GUID. If you are going for a update WIX prefers that you change the Upgrade code GUID in wix file

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