[wix-users] Wix4 WIX0204 ICE35 error issue

Rob Mensching rob at firegiant.com
Tue Mar 21 15:39:09 PDT 2023

In WiX v4, try removing all the "Compressed" attributes. I think the defaults will give you what you want.

Note: The wix-users mailing list is being deprecated. Use the GitHub Discussions (https://github.com/orgs/wixtoolset/discussions) instead now.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Bengt Gunne via wix-users
Sent: Monday, March 13, 2023 6:03 AM
To: wix-users at lists.wixtoolset.org
Cc: Bengt Gunne <bengt.gunne at mimer.com>
Subject: [wix-users] Wix4 WIX0204 ICE35 error issue


I have recently upgraded our WiX3 installation to use WiX 4 rc3. Most of it went fine, but there is one detail that I have not yet figured out how to work around yet.

In my installation all files inside the msi have been marked as compressed. So I have:

<PackageName=...Compressed="no"InstallerVersion="200" > :     <MediaTemplateEmbedCab="yes"/>
           <FileId="mimcomm.dll"KeyPath="yes"Vital="no"Compressed="yes"Source="$(var.dist32)\client\mimcomm.dll"  />

I get errors for each file in the .msi as follows:

C:\dev\v111\win32\winsetup\MimerInstall\MimerSQL.wxs(474): error
WIX0204: ICE35: File mimcomm.dll is marked compressed, but does not have a CAB specified in the Media table entry for its sequence number.

I have tried to make this error message go away by trying various <Media> tags and variations of the MediaTemplate above, but with no success.

Can someone point me in the right direction? I want all the files inside the .msi file, hence Compressed="yes". My installation works fine if I set Compressed="no".



Bengt Gunne
+46 18 780 92 00

Mimer Information Technology AB
Väderkvarnsgatan 17A
SE-753 29 Uppsala, SWEDEN

www.mimer.com <https://www.mimer.com>
developer.mimer.com <https://developer.mimer.com>

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list