1. Gary Privette
  2. PowerBuilder
  3. Thursday, 29 September 2022 21:47 PM UTC

We are migrating from PB2017 to PB2022.  We have an in-house developed deployment program (built in PowerBuilder) that we have been flawlessly using for many years that uses the Version value of the Project object that we set when we deploy the application.  I have noticed that the compiler is now placing a Runtime value in the Executable, appended to the Version value.  This is causing a problem with our deployment program.  Is it possible to have the compiler not append this Runtime Value?  For example, we might set the Version to "Release 09.00.00 Build 350".  When the application is deployed, the executable has "Release 09.00.00 Build 350(Runtime 22.0.0.1878)".  Can there be a parameter value or option to exclude "(Runtime 22.0.0.1878)" from the Version value?

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 September 2022 23:47 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Gary;

  This feature is hard coded into the new PB releases. It affects the IDE, PBC & PBAutoBuild compilers.

   There was a support ticket opened about this change in PB 2021 but I believe (as far as I can remember) that Engineering stated on this ticket that they were not going to change this behaviour.

Regards ... Chris

Comment
  1. Roland Smith
  2. Friday, 30 September 2022 00:09 AM UTC
That's rather unfortunate. They should add a compiler option.
  1. Helpful 1
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 30 September 2022 13:24 PM UTC
  2. PowerBuilder
  3. # 1

Hi, Gary -

I totally understand where you're coming from with this issue, but can you not make a minor enhancement to your in-house deployment program to look for and discard the runtime "suffix" from the app's version information, if present?

Best regards, John

Comment
There are no comments made yet.
Gary Privette Accepted Answer Pending Moderation
  1. Friday, 30 September 2022 14:24 PM UTC
  2. PowerBuilder
  3. # 2

Thank you all for your responses.  I agree with Roland, there should be a compiler option for this.  You would think that entering a Version value, would be the Version value that is written to the exe.  How can I be certain this will not change again?  I can add coding to parse this value, and I suppose I will need to do this.  I was hoping this would be a compiler option that would allow me to drop this added text, so I didn't have to change the deployment application.  Thanks, again.  Now I know how to move forward.  Looking forward to experimenting with new PB2022 features.

Comment
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.