1. Magesh Kumar
  2. PowerBuilder
  3. Thursday, 26 September 2024 13:22 PM UTC

I have migrated my PowerBuilder application from version 2017 Re to 2022. After verifying it on my system, it is working fine. 

However when I pushed the PBD and application files to QA, When they try to open the application, they are getting the following error on their machine.

Runtime path not exist, path C:\Program Files(x86)\Appeon\Common\PowerBuilder\Runtime 22.2.0.3356

 

Could anyone explain why this error is occuring on other machines and how to resolve it? 

This needs to be resolved immediately.

 

Thanks

Magesh Kumar Accepted Answer Pending Moderation
  1. Friday, 27 September 2024 16:31 PM UTC
  2. PowerBuilder
  3. # 1

Thanks for the reply Smith



I've stored the new runtime files for PB 2022 in a separate folder and set the correct path in PB before creating the executable.



However, I'm encountering an error when I click 'Build and Deploy Project'. Do you know what could be causing this?

 

Will it cause any issue in user's machine?

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 27 September 2024 16:36 PM UTC
The runtime file version in the path you specified is not matching the runtime version you configured in System Options of PB IDE.
  1. Helpful
  1. Roland Smith
  2. Friday, 27 September 2024 16:42 PM UTC
The runtime on the Run tab should be the one from C:\Program Files (x86)\Appeon\Common\PowerBuilder that matches the IDE setting.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 27 September 2024 14:28 PM UTC
  2. PowerBuilder
  3. # 2

Create a file called <program_name>.xml where <program_name> is the same as your exe and place the xml file in the same folder. The contents should look like this and point to the folder where the PB runtime is located.

<?xml version="1.0" encoding="utf-8" ?>
<Application>
    <RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.0.0.1892</RuntimePath>
</Application>
Comment
  1. Magesh Kumar
  2. Friday, 27 September 2024 16:27 PM UTC
Thanks for the reply Smith



I've stored the new runtime files for PB 2022 in a separate folder and set the correct path in PB before creating the executable.



However, I'm encountering an error when I click 'Build and Deploy Project'. Do you know what could be causing this?





  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 27 September 2024 13:16 PM UTC
  2. PowerBuilder
  3. # 3

Hi, Magesh -

Use the Runtime Packager tool (shown below) to create an installation MSI:

Best regards, John

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 26 September 2024 14:21 PM UTC
  2. PowerBuilder
  3. # 4

Hi Magesh;

  Deployment is different in PB 2022 as follows:

  1. The App EXE project will create an <AbbName>.XML file inthe folder where it build the App's EXE file
  2. You should use the PB Packager utility to create an install MSI for the PB runtime.
  3. Make sure that the MSI runtime matches the bitness of your PB App EXE.
  4. Install the runtime MSI  on the deployment machine.
  5. Copy the PB App and the <AppName>.XML file to the deployment folder.
  6. Edit the XML file to ensure that it reflects the proper location of the PB runtime.

HTH

Regards ... Chris

Comment
  1. Magesh Kumar
  2. Friday, 27 September 2024 09:15 AM UTC
Thanks Chris



Do we have any steps or demo session for how to install MSI for the PB runtime.



  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 27 September 2024 15:48 PM UTC
The MSI creation & deployment of the PB runtime is the same process & procedure using the PB Packager utility since PB 5.0.

This is all well described in the PB Help under Deployment.
  1. Helpful 1
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Thursday, 26 September 2024 13:46 PM UTC
  2. PowerBuilder
  3. # 5

you need to either:

  • put the runtime files in the same directory as your PB exe (and not bother distributing the xml file)
  • -or- create the directory listed in the xml file (the path you listed) and put the runtime there.
Comment
  1. Magesh Kumar
  2. Thursday, 26 September 2024 13:56 PM UTC
I don't see any xml files in my PB exe folder.



Any example of the file type or name of the file
  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.