IIRC this worked a while ago with older WiX v3.6 builds but hasn't for a while.
If I run my Bundle with the /layout switch, it will download the .NET 4.0 
Client Profile redistributable & any other MSI's or MSPs I have in my bundle 
which have a DownloadURL specified (and Compressed="no" set).
However any MSI or MSP which doesn't have a DownloadURL specified & is embedded 
in the Bundle using the Compressed="yes" attribute isn't extracted during the 
layout procedure. This means anyone who wants to use the MSI directly for 
managed deployment has to hack around with the Bundle to get at the MSI (run it 
as if to install, wait until it's extracted the embedded files to its temp 
directory, check the log to find the temp directory then copy them out of the 
temp directory & cancel the install).

Code:
    <Chain>
      <PackageGroupRef Id="NetFx40ClientRedist"/>

      <MspPackage Id="SharedContentPatch"
                  SourceFile="..\..\..\install\VESharedContent.msp"
                  After="NetFx40ClientRedist"
                  Compressed="no"
                  DisplayInternalUI="yes"
                  DownloadUrl="http://cdn.iesve.com/ve/VESharedContent.msp";
                  InstallSize="1"
                  PerMachine="yes"
                  Permanent="yes"
                  Vital="yes"
                  Slipstream="yes" />

      <MsiPackage Id="ve"
                  SourceFile="..\..\..\install\ve2012.msi"
                  After="SharedContentPatch"
                  Compressed="yes"
                  DisplayInternalUI="yes"
                  ForcePerMachine="yes"
                  Permanent="no"
                  Visible="no"
                  Vital="yes"  />

      <MsiPackage Id="SketchUpPlugin"
                  SourceFile="..\..\..\install\SketchUpPlugin2012.msi"
                  After="ve"
                  Compressed="yes"
                  DisplayInternalUI="yes"
                  ForcePerMachine="yes"
                  Permanent="no"
                  Visible="no"
                  Vital="no"
                  InstallCondition="SketchUp8Installed = 1 OR 
SketchUp7Installed = 1 OR SketchUp6Installed = 1" />

      <MsiPackage Id="RevitPlugin"
                  SourceFile="..\..\..\install\RevitPlugin2012.msi"
                  After="SketchUpPlugin"
                  Compressed="yes"
                  DisplayInternalUI="yes"
                  ForcePerMachine="yes"
                  Permanent="no"
                  Visible="no"
                  Vital="no"
                  InstallCondition="RAC2008Installed = 1 OR RME2008Installed = 
1 OR RAC2009Installed = 1 OR RME2009Installed = 1 OR RAC2009x64Installed = 1 OR 
RME2009x64Installed = 1 OR RAC2010Installed = 1 OR RME2010Installed = 1 OR 
RAC2010x64Installed = 1 OR RME2010x64Installed = 1 OR RAC2011Installed = 1 OR 
RME2011Installed = 1 OR RAC2011x64Installed = 1 OR RME2011x64Installed = 1 OR 
RAC2012Installed = 1 OR RME2012Installed = 1 OR RAC2012x64Installed = 1 OR 
RME2012x64Installed = 1 OR RAC2013Installed = 1 OR RME2013Installed = 1 OR 
RAC2013x64Installed = 1 OR RME2013x64Installed = 1" />
    </Chain>

Log -> http://upload.iesve.com/downloads/burn_issues/layout.log

Should I bug report this?

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to