I am using wix3.0.5419.0 to generate an msi from 2 wxs files (first sets
project, second sets files in a <Fragment> tag), but the resulting msi
is too small and doesn't work.

Incantations to generate msi in my build product directory:
Paraffin.exe -dir '.\.' -custom "MyApp" -g -alias '.\' -ext '.WXS' 
MyApp.fragment.wxs
candle.exe MyApp.wxs MyApp.fragment.wxs' -ext WixUIExtension.dll
light -sval  MyApp.wixobj MyApp.fragment.wixobj -o MyApp.msi -ext  
WixUIExtension.dll

I used dark to de-construct the resulting msi into wxs, which only
contains the first wxs and none of the second wxs.  I also used dark's
-x, and the resulting File directory is empty, so I am missing some step
to load files into the msi.

The first wxs is created by hand, and the second wxs is created by
Paraffin3.0, and contains all my files.  As an experiment, I joined both
into one wxs file and then tried to build, which errors:
MyApp.wxs(2310) : error LGHT0094 : Unresolved reference to symbol 'Media:1' in 
section 'Product:{20A1EE0E-832E-4541-9C9B-6527AB358F76}'.

Incantation:  
candle.exe MyApp.wxs  -cultures:en-us  -ext WixUIExtension.dll
light -sval MyApp.wixobj -o MyApp.msi -cultures:en-us -ext  WixUIExtension.dll


I am new to wix, but looking at other people's wxs files, I see a line 
<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="none" />
What makes this cab file?
Is it necessary?
Is this why i get the error above?

In the wix docs, and searching the net,  I don't see a step in the
procedure to create a cab file, and my msi is definitely empty.

I feel like I need to be steered in the right direction.  
Is there a wix tool that makes the cab? 
Or am I supposed to deal with wix after making the cab file?  



CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to