使用 WiX 和许多组件创建补丁
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你到底想做什么?使用新文件执行应用程序升级?如果您确实有足够的更改来使用 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.