Script2Exe.exe crash when signing exe

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
coder12345
Posts: 9
Joined: Tue Jul 10, 2012 11:13 pm

Script2Exe.exe crash when signing exe

Post by coder12345 » Tue Jul 10, 2012 11:13 pm

Whenever trying to use the "sign executable" feature I get windows crash window.Please let me know what additional details you need.Problem signature: Problem Event Name: APPCRASH Application Name: Script2Exe.exe Application Version: 3.0.18.0 Application Timestamp: 4fecdc39 Fault Module Name: CRYPT32.dll Fault Module Version: 6.1.7601.17827 Fault Module Timestamp: 4f962bf6 Exception Code: c0000005 Exception Offset: 0000e25b OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1049 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Script2Exe.exe crash when signing exe

Post by davidc » Wed Jul 11, 2012 4:46 am

What OS and what version of PowerShell Studio do you have installed? David
David
SAPIEN Technologies, Inc.

User avatar
coder12345
Posts: 9
Joined: Tue Jul 10, 2012 11:13 pm

Script2Exe.exe crash when signing exe

Post by coder12345 » Wed Jul 11, 2012 5:45 am

W7 SP1 x86Latest 3.0.7

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Script2Exe.exe crash when signing exe

Post by davidc » Wed Jul 11, 2012 6:07 am

Does this crash only occur when you use the packager setting "Sign executable after packaging"? Are you specifying a pfx file with or without a password?Can you sign ps1 files in the editor without a crash? David
David
SAPIEN Technologies, Inc.

User avatar
coder12345
Posts: 9
Joined: Tue Jul 10, 2012 11:13 pm

Script2Exe.exe crash when signing exe

Post by coder12345 » Thu Jul 12, 2012 1:52 am

Yes, the crash occurs when I use the packager setting "Sign executable after packaging".I specify a file pfx file with a password.Signing a script works ok.

User avatar
coder12345
Posts: 9
Joined: Tue Jul 10, 2012 11:13 pm

Script2Exe.exe crash when signing exe

Post by coder12345 » Thu Jul 12, 2012 11:44 pm

Interesting, looks like you can close the incident. Crash occurs when you explicitly specify the same key as you already have installed. If you do not specify it - all goes well.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Script2Exe.exe crash when signing exe

Post by davidc » Fri Jul 13, 2012 4:58 am

Can you clarify what you mean? Not quite sure I understand what is happening. Can you also send a screenshot of the settings that caused the crashed or if possible the pff file (if it is a form) to support@sapien.com Either case we would still like to prevent this crash from happening in the future. David
David
SAPIEN Technologies, Inc.

User avatar
franky13
Posts: 68
Joined: Thu Jan 15, 2009 1:48 am

Script2Exe.exe crash when signing exe

Post by franky13 » Sun Jul 15, 2012 10:48 pm

Hu Support,I do have exactly the same problem (script2exe.exe crashing in module CRYPT32.dll ) using PowerShell Studio 2012 3.0.7 on german Windows 7 x64 Enterprise...Please let me know, what you need from me to investigate this further. Thank you,Frank

User avatar
coder12345
Posts: 9
Joined: Tue Jul 10, 2012 11:13 pm

Script2Exe.exe crash when signing exe

Post by coder12345 » Sun Jul 15, 2012 10:49 pm

try checking the "sign code" checkbox without(!) specifying path to the key file and the password

User avatar
franky13
Posts: 68
Joined: Thu Jan 15, 2009 1:48 am

Script2Exe.exe crash when signing exe

Post by franky13 » Sun Jul 15, 2012 10:53 pm

Hi coder 12345,it doesn't crash then, but the resulting executable is not signed (it has no "Digital signatures" tab in the properties dialog)... This is the same result I get, when I do leave the "Sign executable after packaging" checkbox completely unchecked...But thanks anyway for trying to help!Regards Frank