1. Peter Piechutzki
  2. PowerBuilder
  3. Tuesday, 17 October 2017 15:03 PM UTC

Hi,

I have a slight problem with the Appeon Runtime Packager for PB 2017 build 1681. No matter what Database Interfaces or Other Components I Check, the runtime packager includes pbjvm170.dll  in the MSI Package. This would be not much of a problem but installing the runtime on a blank Windows 7 32 bit Virtal Machine in Virtualbox with all current MS Patches results in the error

"Module C:\Program Files\Appeon\Shared\PowerBuilder\pbjvm170.dll failed to register. HRESULT -2147024770. Conmtact your support personell."

To my knowledge I'm not using any Java in my Application, so PBJVM shouldn't be needed. Nevertheless I gave it a try installing JRE 8 u 144 on the VM and again tried installing the PB Runtime files. Same result. Even if i click "ignore" the Runtime doesn't get installed fully.

The same problem arises in a blank Windows 8 VM.

Is there any way I can either tell the runtime packger to omit Java and the pbjvm170.dll or make the pbjvm170.dll register in Windows correctly?

regards

Peter

P.S. hope to see lots of you at the PBUG Meeting in November!

 

 

Accepted Answer
Luca Ferrante Accepted Answer Pending Moderation
  1. Tuesday, 17 October 2017 15:18 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Peter,

before you run installation module generated by the Runtime Packager you must ensure that msvcr71.dll, msvcp71.dll, msvcr100.dll,  msvcp100.dll , atl71.dll and gdiplus.dll are present in your VM (or system).

For example, atl71.dll and gdiplus.dll must be installed on the user's computer before the pbjvm125.dll file can be registered.

Hope this solve your problem

Regards

Luca Ferrante

Comment
There are no comments made yet.
Peter Piechutzki Accepted Answer Pending Moderation
  1. Wednesday, 18 October 2017 16:05 PM UTC
  2. PowerBuilder
  3. # 1

Sorry it took me some time to respond. Other things brought me off the project. I thank you all for your help!

Acutually my above statement was a bit incorrect. If I press the ignore button pbjvm does't get registered, but the runtime gests fully installed otherwise. But thanks to your help I now have the needed files to get installed before I install the Powerbuilder Runtime package.

The missing one was gdiplus.dll! Thanks alot Roland, the idea of dependency walker also came up to my mind, I just didn't find the time yet to look into it.

Other than that it needed

atl80.dll, atl100.dll msccp80.dll, msvcp100.dll, msvcr80.dll, msvcr100.dll as stated in the Runtime Packager Help.

Just for test purposes I copied these from my development machine to my blank windows 7 VM and voila! the PB runtime installed flawlessly. So I'll include these in my setup build. I can imagine appeon ommited these out of the PB Runtime Packager due to license reasons. And I'm not very sure I would be allowed to distribute (only) them, leaving away others from the MS VC++ runtime Libraries and the MS .NET ATL, It's just for a personal program though, so I'm not very much worried about this matter right now. And as you were saying, gdiplus is available on most windows systems. And for the other DLL's I would just need the MS redistributable runtime package(s).

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 17 October 2017 19:31 PM UTC
  2. PowerBuilder
  3. # 2

Most DLL files do not need to be registered. If the file implements a COM interface it needs to be registered.

I opened pbjvm170.dll in Dependency Walker and found that it does have the DLLRegisterServer and DLLUnregisterServer functions so it does need to be registered.

Other DLL files that it requires would have to be present for registration to succeed. The required non-system files are:

GDIPLUS.DLL - most systems should have this but include it to be safe.

MSVCR100.DLL, MSVCP100.DLL - this is part of the Microsoft C/C++ runtime library. It should be on your system if you installed the 2010 Redistributable.

PBSHR170.DLL - Part of PowerBuilder

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 October 2017 15:46 PM UTC
  2. PowerBuilder
  3. # 3

Hi Peter;

   No, the PB Packager utility includes this the JVM inter-op DLL as a default. What you are asking for would be an enhancement request. I would suggest that you enter a support ticket for this issue though so that Appeon can address this legitimate bug and/or requirement properly.

FWIW: I have never had this issue when running the MSI on my VM's.

Regards ... Chris

Comment
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.