1. Gimmy Susan
  2. PowerBuilder
  3. Wednesday, 21 December 2022 08:19 AM UTC

Hi everyone

When I install the powerbuilder RunTime created with 'Runtime Packager' an installation folder is created and the path is changed.

Are you aware that some DLLs are installed in the GAC ?

If yes, who takes precedence? The GAC or the folder in path ?

 

thanks in advance for the reply

 

Gimmy

Accepted Answer
Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 21 December 2022 09:34 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi.

This is documented.

From PB 2022 Documentation (bullet 10).

PowerBuilder Runtime Packager - - Application Techniques (appeon.com)

From PB 2019R3 Documentation (again bullet 10).

Deploying Applications and Components - - Application Techniques (appeon.com)

I pretty sure that if a dll is found in the same path where your exe resides, this one will be used.

Be careful with following note from help:

The Sybase.PowerBuilder.DataWindow.Excel12.dll file will be automatically installed to the Windows GAC folder, for example, C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Sybase.PowerBuilder.DataWindow.Excel12, if you run the MSM or MSI package. However, if you manually copy runtime DLLs to the client (instead of using the MSM or MSI package), make sure to copy the Sybase.PowerBuilder.DataWindow.Excel12.dll file to the same directory as the application executable, as this file is a C# assembly DLL and cannot be loaded through the environment variable.

Andreas.

Comment
There are no comments made yet.


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