Script2Exe.exe crash when signing exe
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Script2Exe.exe crash when signing exe
I'm sending you both a new packager executable. Please backup and replace the current executable with the new one and report any error messages here. Thank you, David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Script2Exe.exe crash when signing exe
Hi David,thanks for the new executable - it doesn't crash anymore, however the resulting exe is not signed, too...In the output-window the following is displayed:Adding C:Users<MyUsername>AppDataRoamingSAPIENPowerShell Studio 2012Tempdeb05fa18ef3420d9b64078ba9555253<MyFormname>.ps1Writing scripts to C:<Path containing spaces><MyExename>.exeEmbedding default manifest...Unable to sign C:<Path containing spaces><MyExename>.exeExecutable file signedPackage completedAny help is greatly appreciated..Thanks Frank
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Script2Exe.exe crash when signing exe
Would you mind installing a PrimalScript 2012 trial and see if you get the same effect there?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Script2Exe.exe crash when signing exe
Hi Alex,I still have the full version of PrimalScript 2009 installed an I can sign any script there without problems (I can even export my PowerShell Studio Form as a ps1-script in PowerShell Studio, open the ps1 in PrimalScript 2009 and create a signed Executable there - but that's a very ugly workaround).If I try to sign a normal ps1-Script in PowerShell Studio, I get the following in the output field "Es wurde kein Anbieter für den Speicher oder das Objekt angegeben". Google doesn't give very much when searching for this whole phrase, but in the first hit, it reveals an error code of 0x80092006. If I google this errorcode, there are lots of hits concerning a failed signtool execution. Maybe this can give you any hints regarding the problem?Thanks in advanceFrank
Script2Exe.exe crash when signing exe
Unfortunately you can't use PrimalScript 2009 as a comparison since it uses a different / older engine to sign and packager. Using PrimalScript 2012 will help us isolate the cause of the problem. David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Script2Exe.exe crash when signing exe
OK, I installed an eval-version of PrimalScript 2012 on a test-machine. I can observe two different behaviours now:1. When I specify the path to my pfx-file and the certificates password and then try to sign a .ps1-script I just receive a messagebox "The specified file could not be signed"...2. If I install the certificate in my personal certificate store and leave the certificate path blank, then I can successfully sign a test-script.Please advise how we could narrow this down.Thanks Frank
Script2Exe.exe crash when signing exe
In this case we want you to test the packager signing which is different then the normal script signing.David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Script2Exe.exe crash when signing exe
Same error here... output is:SAPIEN Script Packager 3.1 (c) 2005 - 2012 SAPIEN Technologies, Inc.Adding C:Users<Username>DesktopSignTest.ps1Writing scripts to C:Users<Username>DesktopSignTest.exeEmbedding default manifest...ERROR: Unable to sign executable filePackage completedExecutable is created, but it's not signed. Please advice...Thanks Frank
- coder12345
- Posts: 9
- Last visit: Wed Sep 23, 2015 7:54 am
Script2Exe.exe crash when signing exe
with the updated file and the same setup I cannot reproduce the problem, all gets compiled and signed!
Script2Exe.exe crash when signing exe
Interesting that it works, but I'm glad it is resolved in your case coder12345. Franky, Did you get the same error code as coder1234? David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.