如何使用 WiX 将 MSM 包含到 MSP 中 [英] How to include MSM into a MSP with WiX
问题描述
我正在使用 WiX 来构建 MSI 和 MSP.
I am using WiX for building MSI and MSP.
在我的 MSI 中,我有一个 MSM 文件.
In my MSI, I have an MSM file present.
我对 MSM 中的文件进行了一些更改并重新生成了相同的文件.
I made some changes to the files in the MSM and re generated the same.
现在我想创建一个包含 MSM 更改的补丁/MSP.
Now I wanted to create a patch/MSP with the change in MSM included.
请帮助我使用更新后的 MSM 文件创建 MSP.
Please help me to create a MSP with the updated MSM file.
推荐答案
MSP - Windows Installer 补丁 - 只是 MSI 更新的分发/打包机制,已经在运行作为一个完整的包.
An MSP - a Windows Installer Patch - is merely a distribution / packaging mechanism for an MSI update that is already working as a full package.
因此,制作包含更新文件的 MSP 的过程(是否合并模块)是为不同版本制作两个完整的 MSI 包,然后根据它们之间的差异制作 MSP 包.
Hence the process of making an MSP that contains the updated files - merge module or not - is to make two full MSI packages for the different versions and then to make an MSP package out of the differences between them.
这个详尽的教程详细解释了 WiX 补丁的创建:使用补丁创建属性.修补很复杂且容易出错,您应该了解修补限制.
This thorough tutorial explains WiX patch creation in full detail: Using Patch Creation Properties. Patching is complicated and error prone, and you should be aware of the restrictions for patches.
这篇关于如何使用 WiX 将 MSM 包含到 MSP 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!