OK I have filed a bug: https://sourceforge.net/tracker/?func=detail&aid=3487838&group_id=105970&atid=642714 I've tried to include your information, please add/correct as appropriate. Peter
---------------------------------------- > From: hkra...@infinitec.de > To: wix-users@lists.sourceforge.net > Date: Wed, 15 Feb 2012 09:03:14 +0000 > Subject: [WiX-users] Burn: Chain with MSI only packages fails with "Directory > not found" error > > I'm using WiX v3.6.2610.0 > > > > Test platform: Windows 2003 x86 en, latest service pack > > > > I created a Burn Bootstrapper which installs one MSI as "Per User". Depending > on the state of the target machine, some prereqs have to be installed > per-machine. > > > > So I created this bootstrapper: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> > > <Bundle Name="Super product" Version="1.0.0.0" Manufacturer="Someone" > > UpgradeCode="2F4ACE94-1117-4D3F-98E4-7DBA5EACC60E" Compressed="yes" > > > <BootstrapperApplicationRef > Id="WixStandardBootstrapperApplication.HyperlinkLicense" /> > > <WixVariable Id="WixStdbaLogo" Value="AppIcon.bmp" /> > > <WixVariable Id="WixStdbaLicenseUrl" Value="http://example.com/license.html" > /> > > > > <util:RegistrySearch Key="SOFTWARE\Microsoft\VSTO Runtime Setup\v4R" > Value="VSTORFeature_CLR40" Win64="no" Variable="VSTO2010Present" Root="HKLM"/> > > <Chain> > > <ExePackage Name="VSTO 2010 x64" > > DetectCondition="VSTO2010Present=1" Compressed="no" > > InstallCommand="vstor40_x64.exe /q" > > DownloadUrl="http://download.microsoft.com/download/F/3/9/F395E3C2-28A0-4F0D-9E20-FF4D1ADB08D8/vstor40_x64.exe" > > SourceFile="External Setups\vstor40_x64.exe" > > PerMachine="yes" > > UninstallCommand="vstor40_x64.exe /qu" > > Vital="yes" Permanent="yes" /> > > <MsiPackage SourceFile="Installers\OutlookAddinX86.msi" Name="Outlook addin > (x86)" Cache="yes" Compressed="yes" /> > > </Chain> > > </Bundle> > > </Wix> > > > > Works like charm if the ExePackage needs to be installed as well. But if that > package is already installed, the setup fails: > > > > [180C:1704][2012-02-15T09:58:18]: Burn v3.6.2610.0, path: > C:\Product\Development\UI\Build\Outlook Addin Setup\Bootstrapper.exe, > cmdline: '' > > [180C:1704][2012-02-15T09:58:18]: Setting string variable 'WixBundleLog' to > value > 'C:\Users\Administrator\AppData\Local\Temp\Super_product_20120215095818.log' > > [180C:1704][2012-02-15T09:58:18]: Setting string variable 'WixBundleName' to > value 'Super product' > > [180C:1704][2012-02-15T09:58:18]: Setting string variable > 'WixBundleOriginalSource' to value 'C:\Product\Development\UI\Build\Outlook > Addin Setup\Bootstrapper.exe' > > [180C:1704][2012-02-15T09:58:19]: Detect 2 packages > > [180C:1704][2012-02-15T09:58:19]: Setting string variable 'VSTO2010Present' > to value '1' > > [180C:1704][2012-02-15T09:58:19]: Condition 'VSTO2010Present=1' evaluates to > true. > > [180C:1704][2012-02-15T09:58:19]: Detected package: VSTO_2010_x64, state: > Present, cached: No > > [180C:1704][2012-02-15T09:58:19]: Detected package: Outlook_addin__x86_, > state: Absent, cached: No > > [180C:1704][2012-02-15T09:58:19]: Detect complete, result: 0x0 > > [180C:1704][2012-02-15T09:58:22]: Plan 2 packages, action: Install > > [180C:1704][2012-02-15T09:58:22]: Skipping dependency registration on package > with no dependency providers: VSTO_2010_x64 > > [180C:1704][2012-02-15T09:58:22]: Planned package: VSTO_2010_x64, state: > Present, default requested: Present, ba requested: Present, execute: None, > rollback: None, cache: No, uncache: No, dependency: None > > [180C:1704][2012-02-15T09:58:22]: Setting string variable > 'WixBundleLog_Outlook_addin__x86_' to value > 'C:\Users\Administrator\AppData\Local\Temp\Super_product_20120215095818_0_Outlook_addin__x86_.log' > > [180C:1704][2012-02-15T09:58:22]: Setting string variable > 'WixBundleRollbackLog_Outlook_addin__x86_' to value > 'C:\Users\Administrator\AppData\Local\Temp\Super_product_20120215095818_0_Outlook_addin__x86__rollback.log' > > [180C:1704][2012-02-15T09:58:22]: Planned package: Outlook_addin__x86_, > state: Absent, default requested: Present, ba requested: Present, execute: > Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register > > [180C:1704][2012-02-15T09:58:22]: Plan complete, result: 0x0 > > [180C:1704][2012-02-15T09:58:22]: Apply begin > > [180C:1704][2012-02-15T09:58:22]: Caching bundle from: > 'C:\Users\Administrator\AppData\Local\Temp\1\{db0b8631-45f6-43e8-9c45-4dbf76a5a05d}\.be\Bootstrapper.exe' > to: 'C:\Users\Administrator\AppData\Local\Package > Cache\{db0b8631-45f6-43e8-9c45-4dbf76a5a05d}\Bootstrapper.exe' > > [180C:1704][2012-02-15T09:58:22]: Error 0x80070003: Failed to cache bundle > from: > 'C:\Users\Administrator\AppData\Local\Temp\1\{db0b8631-45f6-43e8-9c45-4dbf76a5a05d}\.be\Bootstrapper.exe' > to 'C:\Users\Administrator\AppData\Local\Package > Cache\{db0b8631-45f6-43e8-9c45-4dbf76a5a05d}\Bootstrapper.exe' > > [180C:1704][2012-02-15T09:58:22]: Error 0x80070003: Failed to cache bundle > from path: > C:\Users\Administrator\AppData\Local\Temp\1\{db0b8631-45f6-43e8-9c45-4dbf76a5a05d}\.be\Bootstrapper.exe > > [180C:1704][2012-02-15T09:58:22]: Error 0x80070003: Failed to begin > registration session. > > [180C:1704][2012-02-15T09:58:22]: Error 0x80070003: Failed to register bundle. > > [180C:1704][2012-02-15T09:58:22]: Apply complete, result: 0x80070003 restart: > No > > > > So, the package fails because it cannot find a directory. > > > > Any clues on this? Bug in Burn? Or do I need to change something about my > installer? > > > > Kind regards, > > Henning > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users