wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

Burn: mbapreq.dll crashes when upgrading and having more than one bal:PrereqSupportPackage package #4507

Closed wixbot closed 8 years ago

wixbot commented 10 years ago

In the following scenario setup crashes with an access violation:

In my authoring I am using a slightly modified version of the NetFx452.wxs package. In addition I have added packages for installing the Chinese and Japanese language packs and tagged them bal:PrereqSupportPackage="yes".
When running the setup the log states:
[0A94:077C][2014-08-18T08:34:02]i000: Loading prerequisite bootstrapper application because managed host could not be loaded, error: 0x80131700.
[0A94:0BF0][2014-08-18T08:34:02]i000: Setting version variable 'WixBundleFileVersion' to value '7.3.0.65534' [0A94:077C][2014-08-18T08:34:02]i100: Detect begin, 3 packages
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'VersionNT64' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i000: Registry key not found. Key = 'SOFTWARE\Thermo\Chromeleon\7\Core Components'
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'NOT PreviousInstallFolder' evaluates to true. [0A94:077C][2014-08-18T08:34:02]i000: Registry key not found. Key = 'SOFTWARE\Thermo\Chromeleon\7\Core Components'
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'PreviousInstallFolder' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'VersionNT64' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1041'
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'NOT VersionNT64' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'VersionNT64' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i000: Setting string variable 'NETFRAMEWORK45' to value '378758' [0A94:077C][2014-08-18T08:34:02]i052: Condition 'NOT VersionNT64' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'VersionNT64' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\2052'
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'NOT VersionNT64' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i102: Detected related bundle: {51a9280f-947b-43df-a35e-0db4aa1f8a44}, type: Upgrade, scope: PerMachine, version: 7.2.2.6122, operation: MajorUpgrade
[0A94:077C][2014-08-18T08:34:02]i052: Condition '(NETFRAMEWORK45 >= 379893)' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i052: Condition '(NETFRAMEWORK45_JA_JP_LANGPACK >= 379893)' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i052: Condition '(NETFRAMEWORK45_ZH_CN_LANGPACK >= 379893)' evaluates to false.
[0A94:077C][2014-08-18T08:34:02]i101: Detected package: exePackage.Microsoft.Net.4.5.2.Core, state: Absent, cached: None
[0A94:077C][2014-08-18T08:34:02]i101: Detected package: exePackage.Microsoft.Net.4.5.2.ja_JP, state: Absent, cached: None
[0A94:077C][2014-08-18T08:34:02]i101: Detected package: exePackage.Microsoft.Net.4.5.2.zh_CN, state: Absent, cached: None
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'WixBundleInstalled OR (VersionNT > v6.0) OR ((VersionNT = v6.0) AND (ServicePackLevel >= 2))' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i052: Condition 'WixBundleInstalled OR (NOT (VersionNT = v6.1) OR (ServicePackLevel >= 1))' evaluates to true.
[0A94:077C][2014-08-18T08:34:02]i199: Detect complete, result: 0x0
[0A94:077C][2014-08-18T08:34:07]i200: Plan begin, 3 packages, action: Install
[0A94:077C][2014-08-18T08:34:07]i202: Planned bundle: {51a9280f-947b-43df-a35e-0db4aa1f8a44}, ba requested state: None over default: Absent
[0A94:077C][2014-08-18T08:34:07]i052: Condition 'NOT (WixBundleAction = 6)' evaluates to true. [0A94:077C][2014-08-18T08:34:07]w321: Skipping dependency registration on package with no dependency providers: exePackage.Microsoft.Net.4.5.2.Core
[0A94:077C][2014-08-18T08:34:07]i000: Setting string variable 'WixBundleLog_exePackage.Microsoft.Net.4.5.2.Core' to value 'C:\Users\DSedlmay\AppData\Local\Temp\Thermo Chromeleon 7 SDK Documentation_20140818083402_0_exePackage.Microsoft.Net.4.5.2.Core.log'
[0A94:077C][2014-08-18T08:34:07]i052: Condition 'NOT (WixBundleAction = 6)' evaluates to true.

When clicking the "Accept and Install" button setup crashes:
Problem signature:
Problem Event Name: APPCRASH
Application Name: Setup.exe_Thermo Chromeleon 7 SDK Documentation
Application Version: 7.3.0.65534
Application Timestamp: 53e0fe41
Fault Module Name: mbapreq.dll
Fault Module Version: 3.9.805.0
Fault Module Timestamp: 53e0fe4c
Exception Code: c0000005
Exception Offset: 00003a46
OS Version: 6.1.7601.2.1.0.256.49
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Please note: On a pristine installation (without upgrade) it works a expected.
When upgrading and just having one bal:PrereqSupportPackage="yes" in the chain it seems to work as expected but the log shows, that the heap gets corrupted too:
[08FC:07D0][2014-08-18T09:06:08]i001: Burn v3.9.805.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\DSedlmay\Desktop\Debug\Setup.exe, cmdline: ''
[08FC:07D0][2014-08-18T09:06:08]i000: Initializing string variable 'InstallFolder' to value '[ProgramFilesFolder]Thermo\Chromeleon'
[08FC:07D0][2014-08-18T09:06:08]i000: Initializing hidden variable 'PersistedSelectionStates'
[08FC:07D0][2014-08-18T09:06:08]i000: Initializing hidden variable 'PersistedBaStartTime'
[08FC:07D0][2014-08-18T09:06:08]i000: Initializing string variable 'LogFilesBackupDir' to value '[CommonAppDataFolder]Dionex\Chromeleon\SetupLogs'
[08FC:07D0][2014-08-18T09:06:08]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\DSedlmay\AppData\Local\Temp\Thermo Chromeleon 7 SDK Documentation_20140818090608.log'
[08FC:07D0][2014-08-18T09:06:08]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\DSedlmay\Desktop\Debug\Setup.exe'
[08FC:07D0][2014-08-18T09:06:08]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\DSedlmay\Desktop\Debug\'
[08FC:07D0][2014-08-18T09:06:08]i052: Condition '(VersionNT > v5.2) AND (NOT (VersionNT = v6.0) OR (ServicePackLevel >= 2))' evaluates to true.
[08FC:07D0][2014-08-18T09:06:08]i000: Setting string variable 'WixBundleName' to value 'Thermo Chromeleon 7 SDK Documentation'
[08FC:07D0][2014-08-18T09:06:09]i000: Loading prerequisite bootstrapper application because managed host could not be loaded, error: 0x80131700.
[08FC:09A0][2014-08-18T09:06:09]i000: Setting version variable 'WixBundleFileVersion' to value '7.3.0.65534'
[08FC:07D0][2014-08-18T09:06:09]i100: Detect begin, 2 packages
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'VersionNT64' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i000: Registry key not found. Key = 'SOFTWARE\Thermo\Chromeleon\7\Core Components'
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'NOT PreviousInstallFolder' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i000: Registry key not found. Key = 'SOFTWARE\Thermo\Chromeleon\7\Core Components'
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'PreviousInstallFolder' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'VersionNT64' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1041'
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'NOT VersionNT64' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'VersionNT64' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i000: Setting string variable 'NETFRAMEWORK45' to value '378758'
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'NOT VersionNT64' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'VersionNT64' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\2052'
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'NOT VersionNT64' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i102: Detected related bundle: {51a9280f-947b-43df-a35e-0db4aa1f8a44}, type: Upgrade, scope: PerMachine, version: 7.2.2.6122, operation: MajorUpgrade
[08FC:07D0][2014-08-18T09:06:09]i052: Condition '(NETFRAMEWORK45 >= 379893)' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i052: Condition '(NETFRAMEWORK45_ZH_CN_LANGPACK >= 379893)' evaluates to false.
[08FC:07D0][2014-08-18T09:06:09]i101: Detected package: exePackage.Microsoft.Net.4.5.2.Core, state: Absent, cached: None
[08FC:07D0][2014-08-18T09:06:09]i101: Detected package: exePackage.Microsoft.Net.4.5.2.zh_CN, state: Absent, cached: None
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'WixBundleInstalled OR (VersionNT > v6.0) OR ((VersionNT = v6.0) AND (ServicePackLevel >= 2))' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i052: Condition 'WixBundleInstalled OR (NOT (VersionNT = v6.1) OR (ServicePackLevel >= 1))' evaluates to true.
[08FC:07D0][2014-08-18T09:06:09]i199: Detect complete, result: 0x0
[08FC:07D0][2014-08-18T09:06:10]i200: Plan begin, 2 packages, action: Install
[08FC:07D0][2014-08-18T09:06:10]i202: Planned bundle: {51a9280f-947b-43df-a35e-0db4aa1f8a44}, ba requested state: None over default: Absent
[08FC:07D0][2014-08-18T09:06:10]i052: Condition 'NOT (WixBundleAction = 6)' evaluates to true.
[08FC:07D0][2014-08-18T09:06:10]w321: Skipping dependency registration on package with no dependency providers: exePackage.Microsoft.Net.4.5.2.Core
[08FC:07D0][2014-08-18T09:06:10]i000: Setting string variable 'WixBundleLog_exePackage.Microsoft.Net.4.5.2.Core' to value 'C:\Users\DSedlmay\AppData\Local\Temp\Thermo Chromeleon 7 SDK Documentation_20140818090608_0_exePackage.Microsoft.Net.4.5.2.Core.log'
[08FC:07D0][2014-08-18T09:06:10]i052: Condition 'NOT (WixBundleAction = 6)' evaluates to true.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse condition "e4-41ae-baba-1c437c7f7ecb}". Identifier cannot start at a digit, at position 2.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to read next symbol.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse value.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse term.
[08FC:07D0] [2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse boolean-factor.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse boolean-term.
[08FC:07D0][2014-08-18T09:06:10]e000: Error 0x8007000d: Failed to parse expression.
[08FC:07D0][2014-08-18T09:06:10]e051: Error 0. Failed to parse condition e4-41ae-baba-1c437c7f7ecb}. Unexpected symbol at position (null)

[08FC:07D0][2014-08-18T09:06:10]w321: Skipping dependency registration on package with no dependency providers: exePackage.Microsoft.Net.4.5.2.zh_CN
[08FC:07D0][2014-08-18T09:06:10]i201: Planned package: exePackage.Microsoft.Net.4.5.2.Core, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[08FC:07D0][2014-08-18T09:06:10]i201: Planned package: exePackage.Microsoft.Net.4.5.2.zh_CN, state: Absent, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[08FC:07D0][2014-08-18T09:06:10]i207: Planned related bundle: {51a9280f-947b-43df-a35e-0db4aa1f8a44}, type: Upgrade, default requested: Absent, ba requested: None, execute: None, rollback: None, dependency: None
[08FC:07D0][2014-08-18T09:06:10]i299: Plan complete, result: 0x0
[08FC:07D0][2014-08-18T09:06:10]i300: Apply begin
[0960:09F4][2014-08-18T09:06:16]i360: Creating a system restore point.
[0960:09F4][2014-08-18T09:06:28]i361: Created a system restore point.
[0960:09F4][2014-08-18T09:06:28]i000: Caching bundle from: 'C:\Users\DSedlmay\AppData\Local\Temp{79a742ef-b0e4-41ae-baba-1c437c7f7ecb}.be\Setup.exe' to: 'C:\ProgramData\Package Cache{79a742ef-b0e4-41ae-baba-1c437c7f7ecb}\Setup.exe'
[0960:09F4][2014-08-18T09:06:28]i320: Registering bundle dependency provider: {79a742ef-b0e4-41ae-baba-1c437c7f7ecb}, version: 7.3.0.65534
[08FC:03BC][2014-08-18T09:06:28]i338: Acquiring package: exePackage.Microsoft.Net.4.5.2.Core, payload: exePackage.Microsoft.Net.4.5.2.Core, copy from: C:\Users\DSedlmay\Desktop\Debug\Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-ENU.exe
[08FC:03BC][2014-08-18T09:06:29]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\DSedlmay\Desktop\Debug\'
[0960:0858][2014-08-18T09:06:29]i305: Verified acquired payload: exePackage.Microsoft.Net.4.5.2.Core at path: C:\ProgramData\Package Cache.unverified\exePackage.Microsoft.Net.4.5.2.Core, moving to: C:\ProgramData\Package Cache\89F86F9522DC7A8A965FACCE839ABB790A285A63\Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-ENU.exe.
[08FC:03BC][2014-08-18T09:06:29]i338: Acquiring package: exePackage.Microsoft.Net.4.5.2.Core, payload: payload.Microsoft.Net.4.5.2.Documentation.Eula, copy from: C:\Users\DSedlmay\Desktop\Debug\Packages\Microsoft .Net Framework 4.5.2\Eula.rtf
[0960:0858][2014-08-18T09:06:29]i305: Verified acquired payload: payload.Microsoft.Net.4.5.2.Documentation.Eula at path: C:\ProgramData\Package Cache.unverified\payload.Microsoft.Net.4.5.2.Documentation.Eula, moving to: C:\ProgramData\Package Cache\89F86F9522DC7A8A965FACCE839ABB790A285A63\Packages\Microsoft .Net Framework 4.5.2\Eula.rtf.
[0960:09F4][2014-08-18T09:06:29]i301: Applying execute package: exePackage.Microsoft.Net.4.5.2.Core, action: Install, path: C:\ProgramData\Package Cache\89F86F9522DC7A8A965FACCE839ABB790A285A63\Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-ENU.exe, arguments: '"C:\ProgramData\Package Cache\89F86F9522DC7A8A965FACCE839ABB790A285A63\Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /norestart /q /ChainingPackage "Thermo Chromeleon 7 SDK Documentation"'
[08FC:07D0][2014-08-18T09:13:56]i319: Applied execute package: exePackage.Microsoft.Net.4.5.2.Core, result: 0x0, restart: None
[0960:09F4][2014-08-18T09:13:56]i351: Removing cached package: exePackage.Microsoft.Net.4.5.2.Core, from path: C:\ProgramData\Package Cache\89F86F9522DC7A8A965FACCE839ABB790A285A63\
[08FC:07D0][2014-08-18T09:13:56]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[08FC:07D0][2014-08-18T09:13:56]i500: Shutting down, exit code: 0x0
[08FC:07D0][2014-08-18T09:13:56]i000: The prerequisites were successfully installed. The bootstrapper application will be reloaded.
[08FC:07D0][2014-08-18T09:13:56]i006: Bootstrapper application requested to be reloaded. [08FC:07D0][2014-08-18T09:13:57]i000: Loading managed bootstrapper application. [08FC:07D0][2014-08-18T09:13:57]i000: Creating BA thread to run asynchronously.

Originally opened by dieter.sedlmayer

wixbot commented 10 years ago

Can you provide your Chain or the BootstrapperApplicationData.xml? I have a couple of bundles that have multiple bal:PrereqSupportPackages, and I haven't seen this.

Originally posted by rseanhall

wixbot commented 10 years ago

The chain is quite simple. It installs .Net 4.5.2 as a pre-requiste using WixMbaPrereqPackageId and the Japanese and Chinese language packs using the PrereqSupportPackage tag. Once this should succeed an MSI patch for vista may be applied.

In case of the crash the BootstrapperApplicationData.xml is as follows:
<?xml version="1.0" encoding="utf-16"> <BootstrapperApplicationData xmlns="http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData">
<BundleConfiguration Id="Thermo.Chromeleon.SDK.Bootstrapper" DisplayName="Thermo Chromeleon 7 SDK Documentation" InstallationGuideFile="Installation Guide - Chromeleon 7.2.pdf" LicenseTermsFile="Individual License Agreement.rtf" />
<LogFile PackageId="exePackage.Microsoft.Net.4.5.2.Core" Folder="[TempFolder]" FileNameRegex="Microsoft .NET Framework._.log" />
<LogFile PackageId="exePackage.Microsoft.Net.4.5.2.jaJP" Folder="[TempFolder]" FileNameRegex="Microsoft .NET Framework..log" />
<MbaPrerequisiteSupportPackage PackageId="exePackage.Microsoft.Net.4.5.2.ja_JP" />
<MbaPrerequisiteSupportPackage PackageId="exePackage.Microsoft.Net.4.5.2.zh_CN" />
<Mutex Name="{FE0F444E-3839-43DC-AA5A-1DAD8411A6B1}" />
<ProgressProvider PackageId="exePackage.Microsoft.Net.4.5.2.Core" ProvidesProgress="yes" />
<ProgressProvider PackageId="exePackage.Microsoft.Net.4.5.2.ja_JP" ProvidesProgress="yes" />
<ProgressProvider PackageId="exePackage.Microsoft.Net.4.5.2.zh_CN" ProvidesProgress="yes" />
<WixBalCondition Condition="WixBundleInstalled OR (VersionNT > v6.0) OR ((VersionNT = v6.0) AND (ServicePackLevel >= 2))" Message="Installation cannot continue. Installation of this product requires Windows Vista with Service Pack 2 or Windows Server 2008 with Service Pack 2 to be installed." />
<WixBalCondition Condition="WixBundleInstalled OR (NOT (VersionNT = v6.1) OR (ServicePackLevel >= 1))" Message="Installation cannot continue. Installation of this product requires Windows 7 with Service Pack 1 or Windows Server 2008 R2 with Service Pack 1 to be installed." />
<WixBalCondition Condition="WixBundleInstalled OR (VersionNT > v5.2)" Message="Installation cannot continue. Installation of this product requires at least Windows Vista or Windows Server 2008." />
<WixBundleProperties DisplayName="Thermo Chromeleon 7 SDK Documentation" LogPathVariable="WixBundleLog" Compressed="no" Id="{e71738a9-0737-47bd-8bce-e8dd240da4ef}" UpgradeCode="{0A64E1A5-4375-4510-967A-70D29E689DF2}" PerMachine="yes" />
<WixMbaPrereqInformation PackageId="exePackage.Microsoft.Net.4.5.2.Core" LicenseUrl="Eula.rtf" />
<WixPackageProperties Package="exePackage.Microsoft.Net.4.5.2.Core" Vital="yes" DisplayName=".Net 4.5.2" Description="TODO" DownloadSize="70127762" PackageSize="70127762" InstalledSize="2147483647" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_exePackage.Microsoft.Net.4.5.2.Core" RollbackLogPathVariable="WixBundleRollbackLog_exePackage.Microsoft.Net.4.5.2.Core" Compressed="no" DisplayInternalUI="no" Version="4.5.51209.34209" InstallCondition="NOT (WixBundleAction = 6)" Cache="no" />
<WixPackageProperties Package="exePackage.Microsoft.Net.4.5.2.ja_JP" Vital="yes" DisplayName=".Net 4.5.2 ja-JP" Description="TODO" DownloadSize="7109320" PackageSize="7109320" InstalledSize="598855688" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_exePackage.Microsoft.Net.4.5.2.ja_JP" RollbackLogPathVariable="WixBundleRollbackLog_exePackage.Microsoft.Net.4.5.2.ja_JP" Compressed="no" DisplayInternalUI="no" Version="4.5.51209.34209" InstallCondition="NOT (WixBundleAction = 6)" Cache="no" />
<WixPackageProperties Package="exePackage.Microsoft.Net.4.5.2.zh_CN" Vital="yes" DisplayName=".Net 4.5.2 zh-CN" Description="TODO" DownloadSize="6724704" PackageSize="6724704" InstalledSize="598855688" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_exePackage.Microsoft.Net.4.5.2.zh_CN" RollbackLogPathVariable="WixBundleRollbackLog_exePackage.Microsoft.Net.4.5.2.zh_CN" Compressed="no" DisplayInternalUI="no" Version="4.5.51209.34209" InstallCondition="NOT (WixBundleAction = 6)" Cache="no" />
<WixPackageProperties Package="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x64" Vital="yes" DisplayName="Microsoft Windows Installer 4.5 KB958655" Description="Installs Microsoft Windows Installer 4.5 KB958655 on Windows Vista and Windows Server 2008." DownloadSize="3342348" PackageSize="3342348" InstalledSize="3342348" PackageType="Msu" Permanent="yes" Compressed="no" DisplayInternalUI="no" InstallCondition="VersionNT64 AND (VersionNT >= v6.0)" Cache="no" />
<WixPackageProperties Package="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x86" Vital="yes" DisplayName="Microsoft Windows Installer 4.5 KB958655" Description="Installs Microsoft Windows Installer 4.5 KB958655 on Windows Vista and Windows Server 2008." DownloadSize="1960465" PackageSize="1960465" InstalledSize="1960465" PackageType="Msu" Permanent="yes" Compressed="no" DisplayInternalUI="no" InstallCondition="NOT VersionNT64 AND (VersionNT >= v6.0)" Cache="no" />
<WixPayloadProperties Payload="exePackage.Microsoft.Net.4.5.2.Core" Package="exePackage.Microsoft.Net.4.5.2.Core" Name="Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" Size="69999448" LayoutOnly="no" />
<WixPayloadProperties Payload="payload.Microsoft.Net.4.5.2.Documentation.Eula" Package="exePackage.Microsoft.Net.4.5.2.Core" Name="Packages\Microsoft .Net Framework 4.5.2\Eula.rtf" Size="128314" LayoutOnly="no" />
<WixPayloadProperties Payload="exePackage.Microsoft.Net.4.5.2.ja_JP" Package="exePackage.Microsoft.Net.4.5.2.ja_JP" Name="Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-JPN.exe" Size="7109320" LayoutOnly="no" />
<WixPayloadProperties Payload="exePackage.Microsoft.Net.4.5.2.zh_CN" Package="exePackage.Microsoft.Net.4.5.2.zh_CN" Name="Packages\Microsoft .Net Framework 4.5.2\NDP452-KB2901907-x86-x64-AllOS-CHS.exe" Size="6724704" LayoutOnly="no" />
<WixPayloadProperties Payload="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x64" Package="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x64" Name="Packages\Microsoft Windows Installer 4.5\Windows6.0-KB958655-v2-x64.MSU" Size="3342348" DownloadUrl="http://go.microsoft.com/fwlink/?LinkID=161057" LayoutOnly="no" />
<WixPayloadProperties Payload="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x86" Package="msuPackage.Microsoft.Windows.Installer.4.5.Vista.KB958655.v2.x86" Name="Packages\Microsoft Windows Installer 4.5\Windows6.0-KB958655-v2-x86.MSU" Size="1960465" DownloadUrl="http://go.microsoft.com/fwlink/?LinkID=161056" LayoutOnly="no" />
<WixPayloadProperties Payload="payloadGroup.Thermo.Chromeleon.SDK.Autorun.autorun.inf" Name="autorun.inf" Size="342" LayoutOnly="yes" /> <WixStdbaOverridableVariable Name="InstallFolder" />
<WixStdbaOverridableVariable Name="LogFilesBackupDir" />
</BootstrapperApplicationData>

Please note the dot at the start of the display names of the .Net 4.5.2 packages. If I omit them installation seems to work - at least it does not crash but I still get [0B60:0270][2014-08-18T17:40:23]e000: Error 0x8007000d: Failed to parse condition "ꪘI䒠NꍸGJ". Unexpected character at position 0.
[0B60:0270][2014-08-18T17:40:23]e000: Error 0x8007000d: Failed to read next symbol.
[0B60:0270][2014-08-18T17:40:23]e051: Error 0. Failed to parse condition ꪘI䒠NꍸGJ. Unexpected symbol at position (null)
in the log

Originally posted by dieter.sedlmayer

wixbot commented 10 years ago

I think the root issue is that WIXSTDBA_PREREQ_PACKAGE is keeping a pointer to the BAL_INFO_PACKAGE and BalInfoAddRelatedBundleAsPackage invalidates that pointer. WIXSTDBA_PREREQ_PACKAGE should probably be keeping the offset instead, or it shouldn't keep track of the package at all and GetPrereqPackage should lookup the package. I won't be able to test this out until the weekend, so if someone else wants to take this they should go ahead.

Originally posted by rseanhall

wixbot commented 10 years ago

AssignedTo set to bobarnson

wixbot commented 10 years ago

Originally changed by barnson AssignedTo changed from bobarnson to shall

wixbot commented 10 years ago

Pull request: https://github.com/wixtoolset/wix3/pull/142

Originally posted by rseanhall

wixbot commented 10 years ago

Originally changed by rseanhall Resolution set to fixed Status changed from Open to Resolved