Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wix Installer showing 0x80070001: Failed while caching [duplicate]

I created a wix bundle which was working properly before codesigning. After googling and checking wix documentation, I got to know that I need to use insignia.exe for code signing the wix bundle. Please any idea on how to use this tool. Thanks in Anticipation.

like image 272
tolem23 Avatar asked Nov 29 '25 14:11

tolem23


1 Answers

I use the next command sequence (it's a part of my cmd file. Certificate is stored in a file on hard drive. If you want to sign your installer by the certificate from the store just fix signing part. All result code check is omitted)

set INSIGNIA_PATH="C:\Program Files (x86)\WiX Toolset v3.8\bin\insignia.exe"

rem Detach engine

del /q engine.exe

%INSIGNIA_PATH% -ib Setup.exe -o engine.exe

rem Sign engine

SignTool.exe sign /f certificate.pfx /p CERT_PASSWORD /t TIMESTAMP_URL engine.exe

rem Attach engine

%INSIGNIA_PATH% -ab engine.exe Setup.exe -o ProductSetup.exe

rem Sign bundle

SignTool.exe sign /f certificate.pfx /p CERT_PASSWORD /t TIMESTAMP_URL ProductSetup.exe
like image 176
AndreiSh Avatar answered Dec 02 '25 03:12

AndreiSh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!