Error installing Pervasive Backup Agent

I get the following error message when installing Pervasive Backup Agent 2.0 for Pervasive 10
Error installing Pervasive Backup Agent
The closes to a solution I have found is this but it does not work for me so far.

The registry key talked about there has full permission in my case.

I installed Process Monitor but not sure what to look for when installing fails. I'm trying to install on a Windows 2008 R2 server

Please help
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill BachPresident and Btrieve GuruCommented:
If baeh.dll is failing to register you probably don't have the correct permissions to the location of the files it depends on or to the PSQL keys in the system registry.  Check the following on the machine:

   1.      Verify that the PATH environment variable contains the fully qualified path to the PSQL \bin folder (by default, this location is set to "c:\program files\Pervasive Software\PSQL\bin\").
   2.      Verify you have read/write access to the PSQL bin folder.
   3.      Verify you have read/write access to the PSQL data folder (by default on Windows 2003 this would be "C:\Documents and Settings\all users\Application Data\Pervasive Software\psq\".  (If this folder does not exist, create it as well.)
   4.      Verify you have read/write access to the system registry key HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\ and all sub-keys.
mirtheilSoftware DeveloperCommented:
I vaguely remember an issue with Backup Agent and BAEH.DLL not registering.
A couple more questions:  
What version of PSQL are you using?  
What's the version of the Backup Agent installer?
What other Pervasive products do you have installed on that server?
GerhardpetAuthor Commented:
Both the version questions are posted with my original question

Pervasive 10
Backup Agent 2.0
No other pervasive products installed

Will look in to permissions. Also I'm on Windows 2008 R2 not Windows 2003
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

GerhardpetAuthor Commented:
Also what is the difference in installing the 64 Bit Backup Agent and Pervasive client server edition vs. the 32bit

The server is a 64bit but Pervasive 10 is 32bit as far as I know

This is what I have in the PATH environment variable for pervasive

C:\Program Files (x86)\Pervasive Software\PSQL\pba\bin;C:\Program Files (x86)\Pervasive Software\PSQL\bin\;C:\Program Files\Pervasive Software\PSQL\bin\;

Open in new window

mirtheilSoftware DeveloperCommented:
What patch level of Pervasive 10 are you using (10.00, 10.10, 10.20, 10.30, etc)?  
What's in the HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Products\Pervasive.SQL NT Server\InstallInfo key?  There should be  versions, build numbers, and some other information.  

Make sure that the Backup Agent and Pervasive engine are the same bitness (32 or 64).  THe OS bitness doesn't matter.  PSQL 32 bit works fine on 64 bit Windows.
GerhardpetAuthor Commented:
I'm at engine version 10.31

Ok I see that I installed PSQL 64Bit and Backup Agent is 32Bit. I guess I will have to correct that first
Bill BachPresident and Btrieve GuruCommented:
I agree with Mirtheil -- because you have a 32-bit PSQL v10 Engine, you would install the 32-bit Backup Agent to go along with it.

If the above suggestions didn't help, you can go back to ProcMon for help, too.  Close all applications (including those on the system tray, if needed) except for ProcMon. This will reduce the junk you have to sort through.  Start capturing all registry and file traffic (turn off the boxes for network and process capture in the tool bar) and run your install.  As SOON as it errors out, stop the capture.  Now, find the installer process -- it might be MSIEXEC, or it could be something different -- and set a Filter where Process Name Is MSIEXEC.EXE (or whatever process name you see in the far left of the screen).  Now, start at the end and work your way backwards to find something that shows an error message.  (This process is NOT fun, but it is thorough, and it will show you what is wrong if you look hard enough.)  If the file is small enough, you could consider posting it, too, for another set of eyes.
mirtheilSoftware DeveloperCommented:
Because you have PSQL 64 bit, you need the 64 bit Backup Agent (or you need to go back to the 32 bit PSQL for the 32 bit Backup Agent).  
The BAEH.DLL is a hook module and has specific dependencies in the PSQL engine.  Those dependencies are bit specific.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GerhardpetAuthor Commented:
Ok so I will correct the bitness first and then post back what results I get. I will have to do that after hours to ensure no one is using the database
GerhardpetAuthor Commented:
Problem fixed. All I needed to do is install the 64 bit Backup Agent

Back to my question: Also what is the difference in installing the 64 Bit Backup Agent and Pervasive client server edition vs. the 32bit
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.