cancel
Showing results for 
Search instead for 
Did you mean: 

signing exe with digital certicate

Former Member
0 Kudos

I have PowerGen so I will be using it to invoke the signing tool from the project settings. However what are the tools available and there syntax?

thanks


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Thanks Paul. I have VS 2010 on my machine so I have this tool loaded. Do you know if developers who just have Powerbuilder will have this tool in the standard .NET Framework?

Former Member
0 Kudos

It's part of the CryptoAPI libraries in the Windows SDK.  So it's not in the "framework" - developers have to download and install the SDK.  But they don't need a full blown Visual Studio installation.

Answers (1)

Answers (1)

former_member190719
Active Contributor
0 Kudos

You might want to try it first to make sure it works.  As I remember, PowerBuilder executables aren't "normal" executables.  There is an exe stub, but then there is some additional information added on to the end of the file that isn't in a "normal" executable.  Some tools that are made to work directly on "normal" exe's end up truncating that extra info, which renders the executable useless.

As far as I know, PowerGen has the capability to sign the executable itself,  You just need a certificate to give to PowerGen.

http://ecrane.com/support/viewtopic.php?id=159

Former Member
0 Kudos

As of some recent version of PB, you can sign an exe with no problems.

I know it works for PB 12.5 native executables, but does NOT work for PB 10.2 and below.

former_member190719
Active Contributor
0 Kudos

Doesn't work for 10.5 that I know of either.  I'm guessing they fixed in somewhere in the 11.x timeframe.  As I recall, they were doing some work about that time to help end users be able to get Vista certification for the compiled apps.

Former Member
0 Kudos

Bruce,

If I were reporting to management can PowerGen sign executables the answer is no. You must install the SDK - PowerGen merely calls it for you.