0

Earlier, I had created an installer using the Wix toolset, but at that time, the setup(bootstrapper exe) file was not code signed. Recently, I signed the setup file, but since then, the setup file has not been launched. Before signing the code, the setup file was executing without any issue. The below command is used for code signing the setup file -

C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86>signtool.exe sign /f "C:\CodeSignCert\CodeSigningCert-EXP2025-0823.pfx" /p "Sg!Delivers" /tr http://timestamp.sectigo.com/ /td "SHA256" /fd "SHA256" "C:\SetPIST.exe"

I got the message "The setup file is signed correctly," but after executing the setup file, it crashed. When I analyzed the log, I got -

[3C5C:2740][2025-04-22T05:54:36]i359: Paused automatic updates. [3C5C:2740][2025-04-22T05:54:36]i360: Creating a system restore point. [3C5C:2740][2025-04-22T05:54:36]w363: Could not create system restore point, error: 0x80070422. Continuing... [3C5C:2740][2025-04-22T05:54:36]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{0f589c08-e054-49e0-b824-0bd37b0ea52f}, options: 0x7, disable resume: No [3C5C:2740][2025-04-22T05:54:36]i000: Caching bundle from: 'C:\WINDOWS\Temp{560EB646-87BA-4BF5-88BD-639493DC59C0}.be\SetFax.exe' to: 'C:\ProgramData\Package Cache{0f589c08-e054-49e0-b824-0bd37b0ea52f}\SetFax.exe' [3C5C:2740][2025-04-22T05:54:36]i320: Registering bundle dependency provider: {0f589c08-e054-49e0-b824-0bd37b0ea52f}, version: 9.0.0.0 [3C5C:2740][2025-04-22T05:54:36]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{0f589c08-e054-49e0-b824-0bd37b0ea52f}, resume: Active, restart initiated: No, disable resume: No [40A4:4170][2025-04-22T05:54:36]i336: Acquiring container: WixAttachedContainer, copy from: C:\Test\SetFax.exe [40A4:4170][2025-04-22T05:54:36]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Test' [40A4:2C10][2025-04-22T05:54:36]e000: Error 0x80070001: Failed to extract all files from container, erf: 1:2:0 [40A4:4170][2025-04-22T05:54:36]e000: Error 0x80070001: Failed to wait for operation complete. [40A4:4170][2025-04-22T05:54:36]e000: Error 0x80070001: Failed to open container. [40A4:4170][2025-04-22T05:54:36]e000: Error 0x80070001: Failed to open container: WixAttachedContainer.

Troubleshooting steps I followed - I checked the certificate; it is valid. The disk has enough space on my machine. The antivirus is disabled. I have used the different timestamp URLs in the command. I have upgraded the Wix toolset to 3.14. Ran the "chkdsk /r C:" command from the command prompt, but still the issue is there.

Note - If I run the MSI file(referred to in the setup file),it launches successfully.

2
  • You need to extract bundle.xe and sign it also. See duplicate. Commented Apr 22 at 14:09
  • Thanks, @Palle Due. I have extracted the bundle engine, signed the extracted engine, re-attached the signed engine to the bundle, and then signed the entire bundle. This helped me launch the setup file successfully. Commented Apr 23 at 9:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.