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.