1. Tom Holscher
  2. PowerBuilder
  3. Thursday, 23 September 2021 11:32 AM UTC

Hello,

 

i have build a exe and copied all pbd to the exe in the same folder. When i run the exe on my build server there comes no error, but when i use a computer without powerbuilder installed i get this error: see pic24637.gif

 

I Used the IDE Compiler and not the pbautobuilder.

 

Kind Regards, Tom Holscher

 

 

Attachments (1)
Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 23 September 2021 13:06 PM UTC
  2. PowerBuilder
  3. # Permalink

Powerbuilder looks for the runtime in the path that is specified in XML file (applicationame.xml) that is created on build. Change the path to the runtime in the xml file.

The other way: If you don't deploy the xml file Powerbuilder searches the for runtime files like other Windows applications. For example you can specify the path in windows PATH variable.

HTH,

René

 

Comment
  1. mike S
  2. Saturday, 25 September 2021 14:25 PM UTC
just put the runtime files in the application folder
  1. Helpful 2
  1. Deva Shanmuga
  2. Thursday, 15 June 2023 12:45 PM UTC
Hi Rene

Which runtime path I need to specify in the xml file. can anyone give with an example.



Thanks

Deva
  1. Helpful
  1. René Ullrich
  2. Thursday, 15 June 2023 12:55 PM UTC
Hi Deva

here is an example for a xml file:



<Application>

<RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2703</RuntimePath>

</Application>



You have to place it in the same folder where the exe is and name it like the exe file (e,g, test.xml for test.exe).

RuntimePath have to point to the folder where the application can find the runtime DLLs.
  1. Helpful 1
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.