Hi Fokes:
I'm just putting together an executable bootstrapper using burn.
I have the following bundle:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define SRWorkingDirectory = "c:\work\srrt59\" ?>
<Bundle Name="Surface Reader" Version="1.0.0.0" Manufacturer="Raised Bar"
UpgradeCode="b9c6a24e-5ab1-40fc-bb6c-bba7384053b4">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
<Variable Name="InstallFolder" Type="string"
Value="[ProgramFiles6432Folder]Raised Bar\Surface Reader" />
<Chain>
<MsiPackage SourceFile="$(var.SRWorkingDirectory)Windows\Installer
MSI\bin\x64\$(var.Configuration)\SurfaceReader64.msi" Compressed="yes"
DisplayInternalUI="yes" InstallCondition="VersionNT64 >=v6.0"/>
<MsiPackage SourceFile="$(var.Installer MSI X86.TargetPath)"/>
</Chain>
</Bundle>
</Wix>
When compiled and run, the install fails and I get the following log output:
[080C:0560][2012-07-11T03:53:26]: Burn v3.6.3102.0, Windows v6.1 (Build 7601:
Service Pack 1), path: C:\Work\srrt60\Surface Reader
Installer\bin\Release\Surface Reader Installer.exe, cmdline: '-burn.unelevated
BurnPipe.{64775B4A-E70F-4E33-BF63-AC37949186B0}
{5317C24E-1339-459C-AB8C-B843A0896304} 3580'
[080C:0560][2012-07-11T03:53:26]: Initializing string variable 'InstallFolder'
to value '[ProgramFiles6432Folder]Raised Bar\Surface Reader'
[080C:0560][2012-07-11T03:53:27]: Setting string variable 'WixBundleLog' to
value 'C:\Users\Sean\AppData\Local\Temp\Surface_Reader_20120711035327.log'
[080C:0560][2012-07-11T03:53:27]: Setting string variable
'WixBundleOriginalSource' to value 'C:\Work\srrt60\Surface Reader
Installer\bin\Release\Surface Reader Installer.exe'
[080C:0560][2012-07-11T03:53:27]: Setting string variable 'WixBundleName' to
value 'Surface Reader'
[080C:0560][2012-07-11T03:53:30]: Detect 2 packages
[080C:0560][2012-07-11T03:53:30]: Detected package: SurfaceReader64.msi, state:
Absent, cached: None
[080C:0560][2012-07-11T03:53:30]: Detected package: SurfaceReader32.msi, state:
Absent, cached: None
[080C:0560][2012-07-11T03:53:30]: Detect complete, result: 0x0
[080C:0C28][2012-07-11T03:53:40]: Setting string variable 'InstallFolder' to
value 'C:\Program Files\Raised Bar\Surface Reader'
[080C:0560][2012-07-11T03:53:43]: Plan 2 packages, action: Install
[080C:0560][2012-07-11T03:53:43]: Condition 'VersionNT64 >=v6.0' evaluates to
true.
[080C:0560][2012-07-11T03:53:43]: Setting string variable
'WixBundleRollbackLog_SurfaceReader64.msi' to value
'C:\Users\Sean\AppData\Local\Temp\Surface_Reader_20120711035327_0_SurfaceReader64.msi_rollback.log'
[080C:0560][2012-07-11T03:53:43]: Setting string variable
'WixBundleLog_SurfaceReader64.msi' to value
'C:\Users\Sean\AppData\Local\Temp\Surface_Reader_20120711035327_0_SurfaceReader64.msi.log'
[080C:0560][2012-07-11T03:53:43]: Setting string variable
'WixBundleRollbackLog_SurfaceReader32.msi' to value
'C:\Users\Sean\AppData\Local\Temp\Surface_Reader_20120711035327_1_SurfaceReader32.msi_rollback.log'
[080C:0560][2012-07-11T03:53:43]: Setting string variable
'WixBundleLog_SurfaceReader32.msi' to value
'C:\Users\Sean\AppData\Local\Temp\Surface_Reader_20120711035327_1_SurfaceReader32.msi.log'
[080C:0560][2012-07-11T03:53:43]: Planned package: SurfaceReader64.msi, state:
Absent, default requested: Present, ba requested: Present, execute: Install,
rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[080C:0560][2012-07-11T03:53:43]: Planned package: SurfaceReader32.msi, state:
Absent, default requested: Present, ba requested: Present, execute: Install,
rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[080C:0560][2012-07-11T03:53:43]: Plan complete, result: 0x0
[080C:0560][2012-07-11T03:53:43]: Apply begin
[0DFC:1718][2012-07-11T03:53:43]: Creating a system restore point.
[0DFC:1718][2012-07-11T03:54:51]: Created a system restore point.
[0DFC:1718][2012-07-11T03:54:54]: Caching bundle from:
'C:\Users\Sean\AppData\Local\Temp\{a0b06f74-2bbf-4b09-9965-95b28122b818}\.be\Surface
Reader Installer.exe' to: 'C:\ProgramData\Package
Cache\{a0b06f74-2bbf-4b09-9965-95b28122b818}\Surface Reader Installer.exe'
[0DFC:1718][2012-07-11T03:54:54]: Registering bundle dependency provider:
{a0b06f74-2bbf-4b09-9965-95b28122b818}, version: 1.0.0.0
[0DFC:139C][2012-07-11T03:54:55]: Verified acquired payload:
SurfaceReader64.msi at path: C:\ProgramData\Package
Cache\.unverified\SurfaceReader64.msi, moving to: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\SurfaceReader64.msi.
[0DFC:139C][2012-07-11T03:54:55]: Verified acquired payload:
SurfaceReader32.msi at path: C:\ProgramData\Package
Cache\.unverified\SurfaceReader32.msi, moving to: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\SurfaceReader32.msi.
[0DFC:1718][2012-07-11T03:54:55]: Applying execute package:
SurfaceReader64.msi, action: Install, path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\SurfaceReader64.msi,
arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0DFC:1718][2012-07-11T03:55:37]: Registering package dependency provider:
{096AD882-6A32-442F-BDCF-12F7948DE5D4}, version: 1.0.0.0, package:
SurfaceReader64.msi
[080C:0560][2012-07-11T03:55:37]: Applied execute package: SurfaceReader64.msi,
result: 0x0, restart: None
[0DFC:1718][2012-07-11T03:55:37]: Registering dependency:
{a0b06f74-2bbf-4b09-9965-95b28122b818} on package provider:
{096AD882-6A32-442F-BDCF-12F7948DE5D4}, package: SurfaceReader64.msi
[0DFC:1718][2012-07-11T03:55:37]: Applying execute package:
SurfaceReader32.msi, action: Install, path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\SurfaceReader32.msi,
arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0DFC:1718][2012-07-11T03:55:38]: Error 0x80070666: Failed to install MSI
package.
[0DFC:1718][2012-07-11T03:55:38]: Error 0x80070666: Failed to execute MSI
package.
[080C:0560][2012-07-11T03:55:38]: Error 0x80070666: Failed to configure
per-machine MSI package.
[080C:0560][2012-07-11T03:55:38]: Applied execute package: SurfaceReader32.msi,
result: 0x80070666, restart: None
[080C:0560][2012-07-11T03:55:38]: Error 0x80070666: Failed to execute MSI
package.
[0DFC:1718][2012-07-11T03:55:38]: Applying rollback package:
SurfaceReader32.msi, action: Uninstall, path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\SurfaceReader32.msi,
arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[0DFC:1718][2012-07-11T03:55:44]: Removed package dependency provider:
{096AD882-6A32-442F-BDCF-12F7948DE5D4}, package: SurfaceReader32.msi
[080C:0560][2012-07-11T03:55:44]: Applied rollback package:
SurfaceReader32.msi, result: 0x0, restart: None
[0DFC:1718][2012-07-11T03:55:44]: Removing cached package: SurfaceReader32.msi,
from path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\
[0DFC:1718][2012-07-11T03:55:44]: Skipped rollback of package:
SurfaceReader64.msi, action: Uninstall, already: Absent
[080C:0560][2012-07-11T03:55:44]: Applied rollback package:
SurfaceReader64.msi, result: 0x0, restart: None
[0DFC:1718][2012-07-11T03:55:44]: Removing cached package: SurfaceReader64.msi,
from path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\
[0DFC:1718][2012-07-11T03:55:44]: Unable to remove cached package:
SurfaceReader64.msi, from path: C:\ProgramData\Package
Cache\{096AD882-6A32-442F-BDCF-12F7948DE5D4}v1.0.0.0\, reason: 0x80070003.
Continuing...
[0DFC:1718][2012-07-11T03:55:44]: Removed bundle dependency provider:
{a0b06f74-2bbf-4b09-9965-95b28122b818}
[0DFC:1718][2012-07-11T03:55:44]: Removing cached bundle:
{a0b06f74-2bbf-4b09-9965-95b28122b818}, from path: C:\ProgramData\Package
Cache\{a0b06f74-2bbf-4b09-9965-95b28122b818}\
[080C:0560][2012-07-11T03:55:44]: Apply complete, result: 0x80070666, restart:
None, ba requested restart: No
If I run either of the two msi's in iisolation the install works without a
hitch.
Anyone got any ideas?
Cheers
Sean.
------------------------------------------------------------------------------
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