Hi Bruce, Every now and then we also get the problem where the timestamp server is unavailable and the code signing fails, which in turn causes our automated build to fail. Our application is very large and takes more than an hour to complete a full build, so as you could imagine a code signing failure is very annoying. I'm interested to know how you went about implementing your own task for code signing?
Thanks and best regards, // Darren From: Bruce Cran <br...@cran.org.uk> To: "General discussion about the WiX toolset." <wix-users@lists.sourceforge.net>, Date: 23/10/2013 06:34 AM Subject: Re: [WiX-users] Signing binaries and msi... On 10/22/2013 6:47 PM, Tony wrote: > Answering my own question... > > ".(though now I see it needs to be "property", so I'll give that a try)" > <-- that was it. I don't know why I was thinking it need to be a WiX > property and/or preprocessor variable. **OBVIOUSLY** it needs to be a > "property" within the project file. Duh! > > Now the signing attempt fails as expected. I'll go grab our signing cert > and give it try. When you install the cert you might want to change the signtool commands to specify its thumbprint instead of relying on signtool's auto-selection: signtool sign /sha1 cert-thumbprint or, specify the cert's Subject Name with /n. I realised my previous email used the wrong parameter for the description: I think it's actually /d. Another thing: MSBuild has a built-in task for running signtool, SignFile - http://msdn.microsoft.com/en-us/library/ms164304.aspx. But I ended up writing my own implementation which retries 10 times with pauses in-between to try and handle network problems which prevent the timestamp server being reached. -- Bruce Cran ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users