[wix-users] Error 0x80091007: Failed to cache payload

Rob Mensching rob at firegiant.com
Wed Mar 22 09:07:59 PDT 2023


Hash the file and make sure it matches.

Note: The wix-users mailing list is being deprecated. Use the GitHub Discussions (https://github.com/orgs/wixtoolset/discussions) instead now.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Mouni K via wix-users
Sent: Wednesday, March 22, 2023 6:53 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Mouni K <mouni.c2cbit at gmail.com>
Subject: [wix-users] Error 0x80091007: Failed to cache payload

Hi WiX users,

I have been seeing the below issue with our MSI when we are doing a new install of our product.

***************************************************************************************************
 Acquiring package:  OURPRODUCT  , payload: OURPRODUCT, copy from:
C:\23_test\products\ourprod\SetUps\OURPRODUCT\OurProductSetup.msi
[0F3C:0FB4][2023-03-21T16:04:33]: Error 0x80091007: Hash mismatch for path:
C:\ProgramData\Package Cache\.unverified\ OURPRODUCT
[0F3C:0FB4][2023-03-21T16:04:33]: Error 0x80091007: Failed to verify hash of payload:  OURPRODUCT
[0F3C:0FB4][2023-03-21T16:04:33]: Failed to verify payload:  OURPRODUCT  at
path: C:\ProgramData\Package Cache\.unverified\ OURPRODUCT , error:
0x80091007. Deleting file.
[0F3C:0FB4][2023-03-21T16:04:33]: Error 0x80091007: Failed to cache
payload: OURPRODUCT
***************************************************************************************************

We use a Custom Bootstrapper built on WiX Toolset 3.6 with MSI Chaining.

Additional details-
1. We haven't changed anything in the bootstrapper. Only added one new payload to the bundle as below- <Payload Id="B25AAB41CF014F838958ECBE1B10A747" SourceFile ="$(var.SolutionDir)\..\3rdPartyTools\Oracle.ManagedDataAccess.dll"></Payload>

2. We are not signing the bundle nor the MSIs.
3. We are not changing / modifying the bundle after the bundle is generated 4. We collect the bundle and build an .iso out of it.

When we execute the msi separately, it installs just fine.
Any clues as to what needs to be checked or what might cause this error?
Any help shall be greatly appreciated.

Regards,
Mounika.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list