1. Raymond Longoria
  2. PowerBuilder
  3. Tuesday, 5 December 2023 22:46 PM UTC

I upgraded an application from 2021 to 2022 R2. I generated the compiler generated xml files for 2022. When we test the runtime packager on test computers, the runtime files get installed in a different folder than what is in the xml files. Is there a way to make the installation of the runtime files be consistent across all computers?

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Wednesday, 6 December 2023 01:37 AM UTC
  2. PowerBuilder
  3. # Permalink

just put the runtime in the same directory as your application.  then you can skip the xml file.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 December 2023 01:23 AM UTC
  2. PowerBuilder
  3. # 1

Hi Raymond;

  The installation of the PB runtime files location is up to you and your operations team.

   It is assumed that the <AppName>.XML file will be edited accordingly upon deployment to point to where the PB runtime folder was installed.

   You will need to co-ordinate this runtime / XML synchronization with your production rollout team.

Regards .. Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 6 December 2023 02:00 AM UTC
  2. PowerBuilder
  3. # 2

Your choices are:

All PB Runtime files in the same folder as the EXE

The PB Runtime folder gets added to the system path

The PB Runtime folder gets added to App Paths in the registry

The <appname>.xml file contains the correct path to the PB Runtime folder

 

Here is an example of the App Paths registry setting:

The app I work on uses the App Paths setting. Our installer software installs the PB Runtime into one folder and the application files in another. It sets the App Paths registry value as well.

Comment
There are no comments made yet.
Raymond Longoria Accepted Answer Pending Moderation
  1. Wednesday, 6 December 2023 22:39 PM UTC
  2. PowerBuilder
  3. # 3

After thinking about this more, I realized that I want to preset the install path in the runtime installer. Do I use the App Paths registry setting to set this or is there another way?

Comment
There are no comments made yet.
Raymond Longoria Accepted Answer Pending Moderation
  1. Thursday, 14 December 2023 00:26 AM UTC
  2. PowerBuilder
  3. # 4

In the "Installing Powerbuilder Runtime" documentation, it says the following:

"PowerBuilder Runtime" is always installed to %systemdrive%\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime [version], for example, C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.0.0.1234"

When I generate the executables, in Run tab, the Runtime Path in Application XML is preset to 

C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.1.0.2828

When I run the runtime packager on my test computer, the runtime files are installed at:

C:\Program Files (x86)\Appeon\Common\PowerBuilder

But when I run it on a different computer it is installed at:

C:\Program Files (x86)\Appeon\Powerbuilder Runtime Packager

Why the inconsistency between computers? In powerbuilder 2019 the packager installed consistently at C:\Program Files (x86)\Appeon\Common\PowerBuilder. I am wondering why it is inconsistent with Powerbuilder 2022 R2.

We don't have a production rollout team that I can ask to help me with your suggestions. Any more help would be appreciated.

Comment
There are no comments made yet.
Raymond Longoria Accepted Answer Pending Moderation
  1. Wednesday, 20 December 2023 16:51 PM UTC
  2. PowerBuilder
  3. # 5

After reading the documentation a little more closely and considering the suggestion to put the runtime, I went ahead and added the runtime files to the MSI and it worked. For some reason I thought we had to run the runtime packager MSI in order for it to work. 

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.