-
I have a custom bootstrapper to install three package groups: .NET 4.7.2; SQL Server Express 2019; my main app .msi. I run the bootstrapper .exe (on Windows 10, 64-bit) immediately after a new build and the .msi fails hash comparison and stops the install. I rebooted my system and deleted all of the obj and bin directories for all projects, but the errors still persist. Do I need to explicitly set a hash rather than let it get auto-generated? [5D78:64A4][2021-09-07T09:37:29]i001: Burn v3.11.2.4516, Windows v10.0 (Build 19043: Service Pack 0), path: C:\Users<Administrative User Account>\AppData\Local\Temp{DE6F19A7-ED76-47F2-9DCC-085BF5750E50}.cr<Bootstrapper app name>.exe [5D78:64A4][2021-09-07T09:37:29]i000: Setting string variable 'WixBundleManufacturer' to value 'Promega Inc.' [5D78:64A4][2021-09-07T09:37:29]i000: Loading managed bootstrapper application. [5D78:64A4][2021-09-07T09:37:29]i000: Creating BA thread to run asynchronously. [5D78:6A14][2021-09-07T09:37:29]i000: Launching custom TestBA UX [5D78:6A14][2021-09-07T09:37:29]i000: Current Cultureen-US [5D78:6A14][2021-09-07T09:37:29]i000: cancel text value Cancel [5D78:6A14][2021-09-07T09:37:29]i000: Resource File Path .Setup.Bootstrapper.Custom.Resources.LicenseFiles.en-us.rtf [5D78:6A14][2021-09-07T09:37:29]i000: Assembly Names .Setup.Bootstrapper.Custom.g.resources [5D78:6A14][2021-09-07T09:37:29]i000: Assembly Names .Setup.Bootstrapper.Custom.Resources.LicenseFiles.en-us.rtf [5D78:64A4][2021-09-07T09:37:29]i100: Detect begin, 3 packages [5D78:6A14][2021-09-07T09:37:29]i000: Command value Full [5D78:64A4][2021-09-07T09:37:29]i000: Setting string variable 'NETFRAMEWORK45' to value '528372' [5D78:64A4][2021-09-07T09:37:29]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL', Value = '' [5D78:64A4][2021-09-07T09:37:29]i000: Setting numeric variable 'SqlInstanceKeyFound' to value 0 [5D78:64A4][2021-09-07T09:37:29]i052: Condition 'SqlInstanceKeyFound' evaluates to false. [5D78:64A4][2021-09-07T09:37:29]i052: Condition 'SqlInstanceKeyFound' evaluates to false. [5D78:64A4][2021-09-07T09:37:29]i052: Condition 'SqlInstanceFound' evaluates to false. [5D78:6A14][2021-09-07T09:37:29]i000: Command line arguments [5D78:64A4][2021-09-07T09:37:29]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true. [5D78:64A4][2021-09-07T09:37:29]i052: Condition 'SqlInstanceFound AND (SqlVersion >= v15.0.0.0)' evaluates to false. [5D78:64A4][2021-09-07T09:37:29]i000: Application State Absent [5D78:64A4][2021-09-07T09:37:29]i000: ram size 16867999744 [5D78:64A4][2021-09-07T09:37:29]i000: ram size MB 16086 [5D78:64A4][2021-09-07T09:37:29]i101: Detected package: NetFx472Redist, state: Present, cached: None [5D78:64A4][2021-09-07T09:37:29]i101: Detected package: SqlServerExpress2019Redist, state: Absent, cached: None [5D78:64A4][2021-09-07T09:37:29]i101: Detected package: <.msi package ID>, state: Absent, cached: Complete [5D78:64A4][2021-09-07T09:37:29]i199: Detect complete, result: 0x0 [5D78:6A14][2021-09-07T09:37:53]i000: Setting string variable 'InstallFolder' to value 'C:\Program Files<Install destination directory>' [5D78:6A14][2021-09-07T09:37:53]i000: Setting string variable 'AdminPassword' to value '' [5D78:64A4][2021-09-07T09:37:53]i200: Plan begin, 3 packages, action: Install [5D78:64A4][2021-09-07T09:37:53]i052: Condition 'VersionNT64 >= v10.0' evaluates to true. [5D78:64A4][2021-09-07T09:37:53]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist [5D78:64A4][2021-09-07T09:37:53]i052: Condition 'VersionNT64 >= v10.0' evaluates to true. [5D78:64A4][2021-09-07T09:37:53]w321: Skipping dependency registration on package with no dependency providers: SqlServerExpress2019Redist [5D78:64A4][2021-09-07T09:37:53]i000: Setting string variable 'WixBundleLog_SqlServerExpress2019Redist' to value 'C:\Users<Administrative User Account>\AppData\Local\Temp<Main App Project Name>.Setup.Bootstrapper_20210907093729_000_SqlServerExpress2019Redist.log' [5D78:64A4][2021-09-07T09:37:53]i052: Condition 'VersionNT64 >= v10.0' evaluates to true. [5D78:64A4][2021-09-07T09:37:53]i000: Setting string variable 'WixBundleRollbackLog_<.msi package ID>' to value 'C:\Users<Administrative User Account>\AppData\Local\Temp<Main App Project Name>.Setup.Bootstrapper_20210907093729_001_<.msi package ID>rollback.log' [5D78:64A4][2021-09-07T09:37:53]i000: Setting string variable 'WixBundleLog<.msi package ID>' to value 'C:\Users<Administrative User Account>\AppData\Local\Temp<Main App Project Name>.Setup.Bootstrapper_20210907093729_001_<.msi package ID>.log' [5D78:64A4][2021-09-07T09:37:53]i201: Planned package: NetFx472Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [5D78:64A4][2021-09-07T09:37:53]i201: Planned package: SqlServerExpress2019Redist, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None [5D78:64A4][2021-09-07T09:37:53]i201: Planned package: <.msi package ID>, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [5D78:64A4][2021-09-07T09:37:53]i299: Plan complete, result: 0x0 [5D78:64A4][2021-09-07T09:37:53]i300: Apply begin [5D78:64A4][2021-09-07T09:37:53]i010: Launching elevated engine process. [5D78:64A4][2021-09-07T09:37:55]i011: Launched elevated engine process. [5D78:64A4][2021-09-07T09:37:55]i012: Connected to elevated engine. [7814:8B64][2021-09-07T09:37:55]i358: Pausing automatic updates. [7814:8B64][2021-09-07T09:37:55]i359: Paused automatic updates. [7814:8B64][2021-09-07T09:37:55]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{}, options: 0x7, disable resume: No [7814:8B64][2021-09-07T09:37:56]i000: Caching bundle from: 'C:\Users<Administrative User Account>\AppData\Local\Temp{322A3184-3505-4152-8385-3E7819894568}.be<Bootstrapper app name>.exe' to: 'C:\ProgramData\Package Cache{}<Bootstrapper app name>.exe' [7814:8B64][2021-09-07T09:37:56]i320: Registering bundle dependency provider: {}, version: 1.1.0.0 [7814:8B64][2021-09-07T09:37:56]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{}, resume: Active, restart initiated: No, disable resume: No [7814:542C][2021-09-07T09:37:57]i305: Verified acquired payload: SqlServerExpress2019Redist at path: C:\ProgramData\Package Cache.unverified\SqlServerExpress2019Redist, moving to: C:\ProgramData\Package Cache\333FDBBB45BE64CC77B07D273AB2A58D1EAA98BE\SQL2019-SSEI-Expr.EXE. [7814:542C][2021-09-07T09:37:57]e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache{0B33C9C1-30BF-406D-8314-654E46DB8CE1}v1.1.0.0<Main app .msi name>.msi, expected: 780380AF4C0120AA556286990EB91C0E52ADCD9D, actual: 451B505D2BCFE4EDAC2A49D05E1A5880E94BFADD [7814:542C][2021-09-07T09:37:57]e000: Error 0x80091007: Failed to verify hash of payload: <.msi package ID> [7814:542C][2021-09-07T09:37:57]e310: Failed to verify payload: <.msi package ID> at path: C:\ProgramData\Package Cache{0B33C9C1-30BF-406D-8314-654E46DB8CE1}v1.1.0.0<Main app .msi name>.msi, error: 0x80091007. Deleting file. [7814:542C][2021-09-07T09:37:57]e000: Error 0x80070002: Failed to find payload: <.msi package ID> in working path: C:\Users<Administrative User Account>\AppData\Local\Temp{322A3184-3505-4152-8385-3E7819894568}<.msi package ID> and unverified path: C:\ProgramData\Package Cache.unverified<.msi package ID> [7814:542C][2021-09-07T09:37:57]e000: Error 0x80070002: Failed to cache payload: <.msi package ID> [5D78:4F30][2021-09-07T09:37:57]e314: Failed to cache payload: <.msi package ID> from working path: C:\Users<Administrative User Account>\AppData\Local\Temp{322A3184-3505-4152-8385-3E7819894568}<.msi package ID>, error: 0x80070002. [5D78:4F30][2021-09-07T09:37:57]e349: Application requested retry of payload: <.msi package ID>, encountered error: 0x80070002. Retrying... [7814:542C][2021-09-07T09:37:58]i305: Verified acquired payload: <.msi package ID> at path: C:\ProgramData\Package Cache.unverified<.msi package ID>, moving to: C:\ProgramData\Package Cache{0B33C9C1-30BF-406D-8314-654E46DB8CE1}v1.1.0.0<Main app .msi name>.msi. [7814:8B64][2021-09-07T09:37:59]i301: Applying execute package: SqlServerExpress2019Redist, action: Install, path: C:\ProgramData\Package Cache\333FDBBB45BE64CC77B07D273AB2A58D1EAA98BE\SQL2019-SSEI-Expr.EXE, arguments: '"C:\ProgramData\Package Cache\333FDBBB45BE64CC77B07D273AB2A58D1EAA98BE\SQL2019-SSEI-Expr.EXE" /ACTION=Install /INSTANCENAME= /FEATURES=SQLEngine /Q /HIDECONSOLE /SkipRules=RebootRequiredCheck /IACCEPTSQLSERVERLICENSETERMS /SUPPRESSPRIVACYSTATEMENTNOTICE /UpdateEnabled=False /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"' [7814:8B64][2021-09-07T09:38:00]e000: Error 0xffffffff: Process returned error: 0xffffffff [7814:8B64][2021-09-07T09:38:00]e000: Error 0xffffffff: Failed to execute EXE package. [5D78:64A4][2021-09-07T09:38:00]e000: Error 0xffffffff: Failed to configure per-machine EXE package. [5D78:64A4][2021-09-07T09:38:00]i319: Applied execute package: SqlServerExpress2019Redist, result: 0xffffffff, restart: None [5D78:64A4][2021-09-07T09:38:00]e000: Error 0xffffffff: Failed to execute EXE package. [7814:8B64][2021-09-07T09:38:00]i351: Removing cached package: SqlServerExpress2019Redist, from path: C:\ProgramData\Package Cache\333FDBBB45BE64CC77B07D273AB2A58D1EAA98BE [7814:8B64][2021-09-07T09:38:00]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{}, resume: None, restart: None, disable resume: No [7814:8B64][2021-09-07T09:38:00]i330: Removed bundle dependency provider: {} [7814:8B64][2021-09-07T09:38:00]i352: Removing cached bundle: {}, from path: C:\ProgramData\Package Cache{} [7814:8B64][2021-09-07T09:38:00]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{}, resume: None, restart initiated: No, disable resume: No [5D78:64A4][2021-09-07T09:38:00]i399: Apply complete, result: 0xffffffff, restart: None, ba requested restart: No |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It is extremely likely this is an issue where the MSI is getting updated after the Bundle is created. Never had a problem with hash mismatches that wasn't wrong files. If you track the problem down to a bug in Burn, please do open an issue with detailed repro steps. |
Beta Was this translation helpful? Give feedback.
-
In case someone else has this issue... I ended up changing the following line in the "Product".wxs file for the .MSI:
to
Using the guid worked for when it was just the .MSI. Once I put the .MSI into a bundle was another story. |
Beta Was this translation helpful? Give feedback.
In case someone else has this issue...
I ended up changing the following line in the "Product".wxs file for the .MSI:
to
Using the guid worked for when it was just the .MSI. Once I put the .MSI into a bundle was another story.