Hi, I’m brand new to code signing. Just got my certificate through K Software, a Comodo reseller. I tried adding a call to kSignCMD.exe at the end of my build script, and it appears to work: the properties for my installer show my certificate, and the UAC prompt when I install also shows me as the publisher.
However, the installer fails. The start of the log looks fine as far as I can see, but here’s how the log ends: Apply begin Creating a system restore point. Created a system restore point. Caching bundle from: 'C:\Users\david\AppData\Local\Temp\{e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}\.be\MapCreatorSetup-x64-1.1.3.exe' to: 'C:\ProgramData\Package Cache\{e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}\MapCreatorSetup-x64-1.1.3.exe' Registering bundle dependency provider: {e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}, version: 1.1.3.0 Acquiring container: WixAttachedContainer, copy from: C:\mc\MapCreatorSetup-x64-1.1.3.exe Setting string variable 'WixBundleLastUsedSource' to value 'C:\mc\' Error 0x80070001: Failed to extract all files from container, erf: 1:2:0 Error 0x80070001: Failed to wait for operation complete. Error 0x80070001: Failed to open container. Error 0x80070001: Failed to open container: WixAttachedContainer. Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\david\AppData\Local\Temp\{e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}\F0BE7EF5275BEDA1781A0DC8690CC9EBB929A6A8, error: 0x80070001. Error 0x80070001: Failed while caching, aborting execution. Removed bundle dependency provider: {e3cdbd3a-6ab1-4f6c-94b2-4f005172e581} Removing cached bundle: {e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}, from path: C:\ProgramData\Package Cache\{e3cdbd3a-6ab1-4f6c-94b2-4f005172e581}\ Apply complete, result: 0x80070001, restart: None, ba requested restart: No I’ve examined this Insignia documentation: http://wixtoolset.org/documentation/manual/v3/overview/insignia.html but I don’t really understand what I’m supposed to do to get code signing to be part of my build script. Here are what I assume is the pertinent information about my build script: After my build script builds all the components and produces an .exe, it calls candle.exe on about a dozen .wxs files, representing various components such as localization, help file, license, and finally the actual product. Next, it calls light.exe with the .wixobj’s produced in the previous steps, to create an msi. Then it calls candle.exe on my bundle.wxs. Finally, it calls light.exe on the bundle.wixobj. Where in these steps should I insert call(s) to sign my code, and what should those calls look like? Also, is there any command I can add to the script that will output whether code signing worked? Thanks, David ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users