I think i'm nearly there but have one final hurdle. I have defined 2 media elements like this:
<Media Id="1" Cabinet='MainFiles.cab' EmbedCab='yes' CompressionLevel='mszip'/> <Media Id='2' Layout='DocFiles' /> The idea is that files from the Media=1 will be embedded into the msi and the files from Media=2 will be picked up from a directory relative to the msi. So on the distribution media all I have is: Setup.msi DocFiles\doc1 \doc2 The problem is that when I run the installer, it still expects to find files (doc1, doc2) in the main directory (at the same level as the msi) instead of the "DocFiles" directory. When building, the installer actually creates the source structure as above (which made me think everything was specified ok). Any ideas? Thanks sanjay > -----Original Message----- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: 22 March 2010 14:40 > Subject: Re: [WiX-users] Installing from embedded CAB file and Folder > > On 3/22/2010 8:43 AM, Sanjay Poria wrote: > > Bob's suggestion of removing the @Cabinet or @EmbedCab attributes to > create "loose files" would work but then every installation file would > have to be taken from this "loose file structure". > > You can have multiple Media elements, mixing loose files with cabinets. > > -- > sig://boB > http://joyofsetup.com/ > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users