Hi all, We use normally the same ProductCode + UpgradeCode for x86 and x64 packages and exclude them by using a launch condition. (I know not Windows Installer recommended but due to sake of simplicity e.g. when creating two MSIs from one InstallShield solution done that way). Same as now for WiX packages as they are normally excluded as well by launchCondition. In that configuration the below described issues occur.
As already legacy packages exist in such "bad" configurations a workaround in bundle.wxs would be mostly appreciated. Thanks and best regards, Tobias --- Full description of behavior: bundle.wxs: ... <MsiPackage Id="x86" SourceFile="x86.msi" InstallCondition="Not VersionNT64" ForcePerMachine="yes" SuppressSignatureVerification="yes" > <MsiProperty Name="INSTALLDIR" Value="[InstallFolder]"/> </MsiPackage> <MsiPackage Id="x64" SourceFile="x64.msi" InstallCondition="VersionNT64" ForcePerMachine="yes" SuppressSignatureVerification="yes" > <MsiProperty Name="INSTALLDIR" Value="[InstallFolder]"/> </MsiPackage> ... - Install works fine (only Bootstrapper1_20120808165620_0_x86.log generated) --- Repair (on x86): - [PLATFORM].msi: Reinstalled to default INSTALLDIR from MSI (It works if only one MSI x86.msi or x64.msi is included.) - Bootstrapper1_20120808165751_0_x86.log + Bootstrapper1_20120808165751_1_x64.log are generated. (Regular install only *_x86.log) - Log: [085C:0284][2012-08-08T16:57:50]: Burn v3.6.3206.0, Windows v5.1 (Build 2600: Service Pack 3), path: C:\Documents and Settings\test\My Documents\visual studio 10\Projects\Bootstrapper1\bin\Debug\Bootstrapper1.exe, cmdline: '' [085C:0284][2012-08-08T16:57:51]: Setting string variable 'WixBundleLog' to value 'C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751.log' [085C:0284][2012-08-08T16:57:51]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Documents and Settings\test\My Documents\visual studio 10\Projects\Bootstrapper1\bin\Debug\Bootstrapper1.exe' [085C:0284][2012-08-08T16:57:51]: Detect 2 packages [085C:0284][2012-08-08T16:57:51]: Detected partially cached package: x64, invalid payload: x64, reason: 0x80070570 [085C:0284][2012-08-08T16:57:51]: Detected package: x86, state: Present, cached: Complete [085C:0284][2012-08-08T16:57:51]: Detected package: x64, state: Present, cached: Partial [085C:0284][2012-08-08T16:57:51]: Detect complete, result: 0x0 [085C:0284][2012-08-08T16:57:53]: Plan 2 packages, action: Repair [085C:0284][2012-08-08T16:57:53]: Condition 'Not VersionNT64' evaluates to true. [085C:0284][2012-08-08T16:57:53]: Setting string variable 'WixBundleLog_x86' to value 'C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751_0_x86.log' [085C:0284][2012-08-08T16:57:53]: Condition 'VersionNT64' evaluates to false. [085C:0284][2012-08-08T16:57:53]: Plan disabled rollback for package: x64, due to incomplete cache: Partial, original rollback action: Install [085C:0284][2012-08-08T16:57:53]: Setting string variable 'WixBundleLog_x64' to value 'C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751_1_x64.log' [085C:0284][2012-08-08T16:57:53]: Planned package: x86, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register [085C:0284][2012-08-08T16:57:53]: Planned package: x64, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: None, cache: No, uncache: Yes, dependency: Unregister [085C:0284][2012-08-08T16:57:53]: Plan complete, result: 0x0 [085C:0284][2012-08-08T16:57:53]: Apply begin [0968:04F0][2012-08-08T16:57:53]: Creating a system restore point. [0968:04F0][2012-08-08T16:58:01]: Created a system restore point. [0968:0AD0][2012-08-08T16:58:01]: Verified existing payload: x86 at path: C:\Documents and Settings\All Users\Application Data\Package Cache\{22222222-3333-4444-5555-666666666666}v1.00.0001.1000\x86.msi. [0968:04F0][2012-08-08T16:58:01]: Applying execute package: x86, action: Repair, path: C:\Documents and Settings\All Users\Application Data\Package Cache\{22222222-3333-4444-5555-666666666666}v1.00.0001.1000\x86.msi, arguments: ' ALLUSERS="1" ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLDIR=""' [0968:04F0][2012-08-08T16:58:04]: Registering package dependency provider: {22222222-3333-4444-5555-666666666666}, version: 1.00.0001.1000, package: x86 [085C:0284][2012-08-08T16:58:04]: Applied execute package: x86, result: 0x0, restart: None [0968:04F0][2012-08-08T16:58:04]: Registering dependency: {11111111-2222-3333-4444-555555555555} on package provider: {22222222-3333-4444-5555-666666666666}, package: x86 [0968:04F0][2012-08-08T16:58:04]: Removed dependency: {11111111-2222-3333-4444-555555555555} on package provider: {22222222-3333-4444-5555-666666666666}, package x64 [0968:04F0][2012-08-08T16:58:04]: Applying execute package: x64, action: Uninstall, path: C:\Documents and Settings\All Users\Application Data\Package Cache\{22222222-3333-4444-5555-666666666666}v1.00.0001.1000\x64.msi, arguments: ' ALLUSERS="1" ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLDIR=""' [0968:04F0][2012-08-08T16:58:05]: Removed package dependency provider: {22222222-3333-4444-5555-666666666666}, package: x64 [085C:0284][2012-08-08T16:58:05]: Applied execute package: x64, result: 0x0, restart: None [0968:04F0][2012-08-08T16:58:05]: Removing cached package: x64, from path: C:\Documents and Settings\All Users\Application Data\Package Cache\{22222222-3333-4444-5555-666666666666}v1.00.0001.1000\ [085C:0284][2012-08-08T16:58:05]: Apply complete, result: 0x0, restart: None, ba requested restart: No [085C:0284][2012-08-08T16:58:08]: Shutting down, exit code: 0x0 [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleAction = 6 [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleElevated = 1 [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleInstalled = 1 [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleLog = C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751.log [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleLog_x64 = C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751_1_x64.log [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleLog_x86 = C:\DOCUME~1\test\LOCALS~1\Temp\Bootstrapper1_20120808165751_0_x86.log [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleName = Bootstrapper1 [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleOriginalSource = C:\Documents and Settings\test\My Documents\visual studio 10\Projects\Bootstrapper1\bin\Debug\Bootstrapper1.exe [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleProviderKey = {11111111-2222-3333-4444-555555555555} [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleTag = [085C:0284][2012-08-08T16:58:08]: Variable: WixBundleVersion = 1.0.0.0 [085C:0284][2012-08-08T16:58:08]: Exit code: 0x0, restarting: No ------------------------------------------------------------------------------ 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