Wix: single MSI instead of msi + cab

前端 未结 3 1822
梦如初夏
梦如初夏 2020-12-23 13:07

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

相关标签:
3条回答
  • 2020-12-23 13:21

    You didn't post any source but I assume your wxs file has a Media element. Just set the EmbedCab attribute to "yes".

    0 讨论(0)
  • 2020-12-23 13:28

    Use it like this :

    <Media Id="1" Cabinet="CabFileName.cab" EmbedCab="yes" />
    

    Also this article describes other ways of doing it.

    0 讨论(0)
  • 2020-12-23 13:33

    Set EmbedCab="yes".

    Since WIX 3.8:

    <MediaTemplate EmbedCab="yes" />
    

    Before WIX 3.8:

    <Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" />
    
    0 讨论(0)
提交回复
热议问题