Wix:单个 MSI 而不是 msi + cab [英] Wix: single MSI instead of msi + cab
本文介绍了Wix:单个 MSI 而不是 msi + cab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的 Wix 项目创建 install.msi 和 cab1.cab.我怎样才能让它把所有东西都捆绑到 msi 中?我可能会使用 7-zip SFX 来解决这个问题,但我见过其他只有一个 msi 的应用程序.
My Wix project creates install.msi and cab1.cab. How can I have it bundle everything into the msi? I will likely use 7-zip SFX to work around this but I have seen other apps with only a single msi.
推荐答案
您没有发布任何来源,但我认为您的 wxs 文件具有 Media 元素.只需将 EmbedCab 属性设置为是"即可.在 MediaTemplate
例如
You didn't post any source but I assume your wxs file has a Media element. Just set the EmbedCab attribute to "yes" in MediaTemplate
e.g.
<MediaTemplate EmbedCab="yes" />
这篇关于Wix:单个 MSI 而不是 msi + cab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文