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

Mouni K mouni.c2cbit at gmail.com
Wed Mar 22 06:53:09 PDT 2023


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.


More information about the wix-users mailing list