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.)

<Directory Id="ProgramFilesFolder" SourceName="PROGRA~1" LongSource="program 
files">
            <Directory Id="MY_PRODUCT_NAME" Name="MYPROD~1" LongName="My 
Product Name">
                        <Directory Id="INSTALLDIR" src="MySourceFolder">
                                    <Component Id="MyComponentName" 
Guid="3513EC11-E682-406C-84DF-D2407619AD40" SharedDllRefCount="yes">
                                                <File Id="My.File.Name" 
Name="MY19A4~1.DLL" LongName="My.File.Name.dll" Compressed="no" KeyPath="yes" 
DiskId="1" />
                                    </Component>
                        </Directory>
            </Directory>
</Directory>

<Feature Id="Application_Files" Title="Application Files" Level="1" 
ConfigurableDirectory="INSTALLDIR">
            <ComponentRef Id="MyComponentName" />
</Feature>

<Media Id="1" DiskPrompt="1" VolumeLabel="DISK1" />


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

Reply via email to