使用 WiX 和许多组件创建补丁

发布于 2024-10-10 11:02:14 字数 366 浏览 0 评论 0原文

我正在使用 WiX(当前为 3.6)为我的应用程序创建设置。下一步是在必须更改某些内容时创建补丁。当我使用 heat 为许多文件自动创建组件时,这些组件是使用 ComponentGroup 引用的。遗憾的是,PatchFamily 只允许 ComponentRefs 而不允许 ComponentGroupRefs。由于这些组件是自动生成的,我寻找一种启用补丁创建的方法。

我尝试的方式记录在这里: Patchwork

目前我正在研究使用的可能性管理安装并在它们之间进行区分。

有人找到解决办法了吗?

I'm using WiX (currently 3.6) to create a setup for my application. Next step is to create patches when something must be changed. As I use heat to create automatically components for a lot of files, those components are referenced using a ComponentGroup. Sadly, the PatchFamily allows only for ComponentRefs and not ComponentGroupRefs. As those components are auto generated, I search a way to enable patch creation.

The way I tried is documented here: Patchwork

Currently I'm investigating the possibility to use administrative installs and make a diff between them.

Has anyone found a solution?

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

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

发布评论

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

评论(1

一身软味 2024-10-17 11:02:14

你到底想做什么?使用新文件执行应用程序升级?如果您确实有足够的更改来使用 ComponentGroupRefs,那么可能值得进行实际升级。补丁(至少根据我的理解)更多地意味着对程序的小更改,而升级则用于影响大量文件的大更改。

what exactly is it that you are trying to do? Perform an upgrade of the application with new files? If you really have enough changes that you are using ComponentGroupRefs, then it might just be worth doing an actual upgrade. Patches (at least from my understanding) are meant more for small changes to the program, while upgrades are for large changes effecting numerous files.

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