Hi Lorna,
1) No, not necessarily, but the application will run faster if installed/copied on the local hard drive of the user's PC.
2) It doesn't matter if you install the powerbuilder runtime before or after, but you have to:
2A- Install the pb runtime on the user's pc. The runtime "packager" allows you to create an MSI installer for the needed powerbuilder runtime files. The result can be used to install the runtime on the user's pc.
or ...
2B- copy all the needed runtime dll's and files somewhere to a folder which is in the PATH
or ...
2C- copy all the needed runtime dll's and files to the folder where the EXE is (in your case on drive V:\SCMS2019. This last option only works if after any file operation (like fileopen(), etc.) of using GetFileSaveName() and similar functions, you will have to set the "current windows directory" back to where the EXE is, using ChangeDirectory().
If you can, I recommend installing (2A) the runtime and make sure there are no older runtimes already installed. (install those first if the user no longer needs them for older (other) applications).
regards,
Miguel
PS: What I do personally:
I have no runtime install and no fixed PATH changes.
What I have is:
- a shortcut to the exe on my desktop. The shortcut's "start in" ("inicio en") points to where the pb runtime folder is.
- In the application object's Open event, I modify the PATH variable to be preceded with the path to the Runtime, followed by whatever was in the path already (so not fixed in windows itself, but from my code).
This will change the path, but only for the running powerbuilder application's session. Other applications like word or excel won't see that change of the path.
This allows us to be able to have older and newer applications on the same machine, using different runtimes without conflicting with eachother.
saludos