Re: [WiX-users] Uncompressed files not showing up in install image

2008-04-25 Thread Alexander Shevchuk
Here is how all this compression/CAB embedding seems to work:

To set the "compression" state of the file use:

-  Package/@Compressed - this will set the "default" state for all 
files in the installation package.

-  File/@Compressed - overrides the package level setting on per-file 
basis.

What  Compressed="no" means:  It means that file will not be included in the 
CAB file and has to be distributed along with the msi file.

Compressed="yes" means that file will be included in the CAB file and 
File/@DiskId determines which one CAB file it will be.

Use Media/@CompressionLevel to set the compression level for files stored in 
the CAB file.  One of the settings is "none" - means, files will be "stored" in 
the CAB file without compression.
Use Media/EmbedCab="yes" to embed the CAB file into msi file and 
Media/EmbedCab="no" to have it as a standalone file which will be distributed 
along with msi file.

For more detailed explanation see:
http://blogs.technet.com/alexshev/archive/2008/04/04/from-msi-to-wix-part-16-installable-items-handling-installation-media.aspx


Do you want all files to not be included in the msi or you don't want them to 
be compressed, but still included in the msi?


Alex


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Tsuji
Sent: Friday, April 25, 2008 3:22 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uncompressed files not showing up in install image

I'm having a problem building a WiX project in which I'm trying to specify all 
of my files as uncompressed.  Currently I do have a working project with the 
files compressed into the MSI, but I need to change this to make them 
uncompressed on the install image.

What I've tried so far is to change the Compressed="yes" attribute to 
Compressed="no" on all the File elements, and remove the Cabinet and EmbedCab 
attributes in the Media element.  The WiX project then builds without errors, 
but the resulting image does not contain my files, and launching the MSI 
produces an error that it can't find the files at their specified location.

What can cause this to happen?

Here is an example of the Directory, Feature, and Media elements in my wxs 
file.  (File and directory names have been changed for security purposes, and 
I've only listed one file, though my actual wxs contains many files that follow 
the same format.)


















Let me know if I need to provide more details.  Thanks.


Wayne Tsuji
Software Design Engineer
Microsoft Dynamics Point of Sale

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uncompressed files not showing up in install image

2008-04-25 Thread Wayne Tsuji
I'm having a problem building a WiX project in which I'm trying to specify all 
of my files as uncompressed.  Currently I do have a working project with the 
files compressed into the MSI, but I need to change this to make them 
uncompressed on the install image.

What I've tried so far is to change the Compressed="yes" attribute to 
Compressed="no" on all the File elements, and remove the Cabinet and EmbedCab 
attributes in the Media element.  The WiX project then builds without errors, 
but the resulting image does not contain my files, and launching the MSI 
produces an error that it can't find the files at their specified location.

What can cause this to happen?

Here is an example of the Directory, Feature, and Media elements in my wxs 
file.  (File and directory names have been changed for security purposes, and 
I've only listed one file, though my actual wxs contains many files that follow 
the same format.)


















Let me know if I need to provide more details.  Thanks.


Wayne Tsuji
Software Design Engineer
Microsoft Dynamics Point of Sale

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users