Installation files inside MSI #7905
-
When I build my installation I want all files to end up inside the .msi file. How can I do this with WIX 4? In WIX 3 I used compressed="yes" for my components. For example:
With WIX 4 I get the error WIX0204: ICE35: File dbanalyzer.exe is marked compressed, but does not have a CAB specified in the Media table entry for its sequence number. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Your Package element has to have a MediaTemplate child element with EmbedCab="yes" attribute. Here's an example from the IsWiX-Tutorials. This is also my number 1 liked answer on StackOverflow. It's funny how the simple things do this. https://stackoverflow.com/questions/11284625/wix-single-msi-instead-of-msi-cab/11285208#11285208 |
Beta Was this translation helpful? Give feedback.
-
Thank you for answer! In my project file I was using: |
Beta Was this translation helpful? Give feedback.
Your Package element has to have a MediaTemplate child element with EmbedCab="yes" attribute. Here's an example from the IsWiX-Tutorials.
https://github.com/iswix-llc/iswix-tutorials/blob/master/WiX-v4-HeatWave/web-api/Installer/WebAPI/Product.wxs
This is also my number 1 liked answer on StackOverflow. It's funny how the simple things do this.
https://stackoverflow.com/questions/11284625/wix-single-msi-instead-of-msi-cab/11285208#11285208