on 02-10-2016 3:50 PM
When I include PBSHR126.dll with my application to deploy, I get an error when I try and run the application.
PBSHR126.DLL is either not designed to run on Windows or it contains an error.
How do I remedy this? There is very little documentation on 12.6 as it is, so any info would be appreciated.
Hi Chris;
FYI: You can get this problem if you ...
a) Package the wrong version of the PBSHR126.DLL
b) There are two or more versions of PBSHR126.DLL on the target PC.
c) Other supporting run time DLL's are not present for PBSHR126.DLL to run.
=> See PB Help & search on the keyword "Deployment".
BTW:
1) Is this for PB Classic or PB.Net?
2) What type of EXE are you building?
.Net, P-Code, M-Code, etc
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I recommend using the PowerBuilder Runtime Packager tool to bundle your runtime files in a .msi file.
Then you only install the msi file in each target computer.
pbpack126.exe is the name of the tool.
HTH,
Jacob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is something very wrong with the latest packager as well. Even if you press the CREATE button, the packager errors, as follows:
Why is it looking for LIBJCC.dll in the MS-Windows System32 path when a) it is never installed there and b) the Libjcc.dll is in the "Shared" PB folder which is in my System Path (triple checked that)?
Chris,
I see what you're seeing too on my Windows 8.1 machine with the latest EBF build 4088.
If I click around to the other options, I see a few options enabled but when I try to actually create the msi I get errors For me, it's looking in c:\windows\system32 for either libjcc.dll or apache_license.txt. If you click the 64 bit and .NET radio buttons and then try to create the msi, is that what you see?
I'm looking into it.
Pat
Chris,
I uninstalled PB 12.6 and then reinstalled, runtime packager was correct and enabled. I then just applied the latest EBF, build 4088 and it looks correct also. So not sure if it was something caused by upgrading to another EBF or not but see if that works for you. I also made sure on both autorun.exe to initially install and then setup.exe with the EBF, that I right clicked and ran as administrator. It looks OK to me now and does build the msi . I was seeing exactly what you were seeing earlier.
Pat
Chris,
I did not reinstall the .Net prerequisites as I knew they were already on my laptop. Did you right click and run both installs as administrator?
I have many versions of PB on this machine. Are the runtime packagers for your other versions enabled?
Let me see if I can find a Windows 7 machine.
Pat
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.