I am trying to build MSI with no cab and all files uncompressed. I have
the following Media element declaration:

 

<Media Id="1" Layout="InstallTree" VolumeLabel="DISK1" />

 

Myproject.wxs(1266): error LGHT0135: The file '_SOMEDATAFILE.TXT' should
be compressed but is not part of a compressed media. Files will be
compressed if either the File/@Compressed or Package/@Compressed
attributes are set to 'yes'.  This can be fixed by setting the
Media/@Cabinet attribute for media '1'.

 

There is nothing unusual about the data file in question and I don't
particularly want it compressed in the first place, at least not in this
build scenario where files are not in CAB. 

 

The file in question is declared like practically all the files in my
install:

 

<Component Id="_ SOMEDATAFILE.TXT"
Guid="{35E55CB8-330C-4Cf0-8850-1758651C8C3C}">

 

<File Id="_ SOMEDATAFILE.TXT" Name="Somedatafile.txt" KeyPath="yes"
DiskId="1" Source="$(var.BASEPATH)\Folder1\Folder2\Somedatafile.txt " />

 

</Component>

 

Thanks for any input!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to