1. Christopher Craft
  2. PowerBuilder
  3. Thursday, 20 January 2022 23:04 PM UTC

Trying to use the new [appname].xml file to specify the location of the runtime files but I am wondering what files should I place in there.  I know the PB Runtimes but what about PBX files, Oracle Files, INI Files, etc.? 

I am assuming that this feature acts like the Application Path in Windows but that is a big assumption...

Thanks,

Chris Craft

Accepted Answer
Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Friday, 21 January 2022 02:26 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Chris, 

The [appname].xml file is for specifying the location of the PowerBuilder runtime files only. As for the other files such as PBX files, Oracle Files, INI Files, please still package and distribute them in the old way.

Best regards, Julie

Comment
  1. Christopher Craft
  2. Friday, 21 January 2022 16:28 PM UTC
Thank you Julie
  1. Helpful
There are no comments made yet.
André Monz Accepted Answer Pending Moderation
  1. Wednesday, 9 February 2022 15:32 PM UTC
  2. PowerBuilder
  3. # 1

Hello,

is it ok to expand the path in the xml-file with third party runtimes like this:

<RuntimePath>.\Runtime\Runtime 21.0.0.1506;.\Runtime\<thirdparty dlls></RuntimePath

Currently it works...

Comment
  1. André Monz
  2. Wednesday, 9 February 2022 15:34 PM UTC
should be



<RuntimePath>.\Runtime\Runtime 21.0.0.1506;.\Runtime\<another path with thirdparty dlls></RuntimePath
  1. Helpful
  1. Tracy Huang @Appeon
  2. Thursday, 10 February 2022 07:45 AM UTC
Dear André,



No. You cannot do that. In the xml file, you can only input one path and that path should point to the location of the runtime files (runtime files here refer to the files that are installed by the PowerBuilder Runtime component and required by the application at runtime).



Regards

Tracy
  1. Helpful 1
  1. André Monz
  2. Thursday, 10 February 2022 12:27 PM UTC
Ok,ty.
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Thursday, 20 January 2022 23:28 PM UTC
  2. PowerBuilder
  3. # 2

appeon can reply as to whether it changes the runtime path for the running exe (i think it does).

 

I just install everything (pbd, exe, runtimes, pbx, 3rd party dlls ....) in the application directory and i do not distribute the xml file.  that way the user can install (via my install application) to whatever/wherever and everything works.  

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 21 January 2022 15:22 PM UTC
Makes more sense to use the XML route in production where you have a slew of PB Apps that use the same PB Runtime - so that you do not end up duplicating all those runtime files across every PB App on the user's machine.
  1. Helpful
  1. mike S
  2. Friday, 21 January 2022 15:33 PM UTC
eh, saving disk space for runtime dlls is 90's logic.







  1. Helpful
  1. John Fauss
  2. Friday, 21 January 2022 16:15 PM UTC
I agree. It also complicates the upgrade of one application (out of several that share the same runtime DLL's) to a newer version/release.
  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.