1. Robert Kratschmann
  2. PowerBuilder
  3. Monday, 25 November 2019 12:07 PM UTC

Hi,

does Powerbuilder offer a possibility to automatically sign created EXE or PBD files?

In the PB compiler documentation I did not find a parameter to do this. Maybe it is possible to define a postbuild event to call signtool.exe?

Many thanks

Robert

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 25 November 2019 18:54 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Robert;

  Signing of EXE's is currently not supported. However ...

You can sign your PB generated App's EXE using the Microsoft's SignTool:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa387764(v=vs.85).aspx

FYI:  SignTool.exe (Sign Tool)

   You are also most welcome as well to create a Support Ticket for this feature as an enhancement request.

Regards ... Chris

 

Comment
  1. Ben Rogers
  2. Wednesday, 8 January 2020 19:47 PM UTC
Does this work with executables created with PB 2017?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 8 January 2020 19:51 PM UTC
Hi Ben ... Yes, in fact ... its been used on PB 12.x compiled Apps as well. ;-)
  1. Helpful
  1. Ben Rogers
  2. Thursday, 9 January 2020 16:13 PM UTC
Thanks for the feedback Chris!
  1. Helpful
There are no comments made yet.
Daniel Vivier Accepted Answer Pending Moderation
  1. Friday, 29 November 2019 02:23 AM UTC
  2. PowerBuilder
  3. # 1

For my business' use, the main point of signing is to make anti-virus software happier, and avoid complaints from browsers when downloading about "unknown vendor". So we sign both the program's EXE, and the installer that we build for it. And yes, we do it with signtool. The signing of the EXE is done in a batch file we build, and the installation builder we use (SetupFactory, which we love) includes options for signing.

Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Monday, 25 November 2019 19:56 PM UTC
  2. PowerBuilder
  3. # 2

PBD is proprietary file format without signing capacity. But it is worth an enhancement request. 

Comment
  1. Miguel Leeuwe
  2. Friday, 29 November 2019 04:09 AM UTC
Would there even be a need to sign a pbd? I mean, you wouldn't sign a distributed TXT file for example?

Yes, for EXE or DLL's I do see the need.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.