Hi Matt, I have some information (old because it covers WiX 2.0, but your problem is more of MSI-related issue) in http://blogs.technet.com/alexshev/archive/2008/04/04/from-msi-to-wix-part-16-installable-items-handling-installation-media.aspx I am not 100% sure, don't have time to test it, but my understanding of Layout property is that it helps in compiling multi-CD(DVD) installations. For example, you have an installation with thousands of files in one folder and they do not fit in one CD. In this case you split files in that folder in multiple Media with different Layout folders. So, you have after compilation your msi in the root folder and few External1, External2, etc subfolders. However, MSI expects these files during installation to be in their "actual" subfolders. In my blog entry (section "Mix of uncompressed and compressed files") uncompressed file is placed under Directory element with Id="INSTALLLOCATION" and LongName="MinimalInstallation". If same approach is applied to the "thousands files in one folder" example, during install all External1, External2, etc must be named MinimalInstallation (obviously, they will be on different CD's).
Regards, Alex -----Original Message----- From: Matt Johnson [mailto:ma...@timeamerica.com] Sent: Monday, May 03, 2010 2:56 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] can't find file in non-cab media I have one very large file that I want to keep outside of my main installer. I plan on distributing a CD such as: \Setup.msi \External\BigFile.exe My product media tags are thus: <Media Id="1" Cabinet="main.cab" EmbedCab="yes" /> <Media Id="2" Layout="External" /> I then set DiskId="2" on the component owning BigFile.exe. Wix seems to like this. I build with Votive, vs2010, candle, light, etc. and I get my output media just as above. It even creates the External subdirectory and copies BigFile.exe into it. HOWEVER - when I go to install, it errors because it's looking for BigFile.exe in the same directory as setup.msi. It completely ignores the External subdirectory. I dug through the msi with Orca, and can't find anywhere that references the External directory. Looking at the MSI docs, I can't even find which table it should be in. There is a Source column in the Media table that is blank, but MSI docs say that's for something else. Ideas? Help please. Thanks, Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.timeamerica.com ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users