Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Signing Bootstrapper Pieces

$
0
0
In our current code, we have an uncompressed silent bootstrapper containing our msi and our dotNet dependency. After creating the bundle, we sign the msi and the bootstrapper files, move them, and pass them on. The issue is that it appears that signing the msi is causing the hash to change, such that the bootstrapper refuses to launch it and exits with the log saying

e000: Error 0x80091007: Hash mismatch for path:
e000: Error 0x80091007: Failed to verify hash of payload:
e310: Failed to verify payload:
e000: Error 0x80091007: Failed to cache payload:
e314: Failed to cache payload:

My suspicion is that we probably need to sign the msi before creating the bootstrapper, but given that our signing tool doesn't live in the same process (signing occurs as part of a separate process that handles release prep so that every debug build does not have to go through all the extra steps while the msi and bootstrapper creation occur in one big move) I would like to know if 1) We can somehow update the hash using Wix# 2)We can create the msi and then after the signing build the bootstrapper (thus only creating the bootstrapper when we relase an updated version of our code) or 3) If we just have to move our signing tool into our main project and start signing the msi as it gets built. Do any of these sound like solutions to our issue, or do you have any other insights into why signing the msi after adding it to the bundle is causing an error?

Thank You

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>