cbaerike / MySQL-Backup-Manager

MySQL Backup Manager is a simple software solution for backing up MySQL Databases automatically. It uses a Windows service for the backup process and has an GUI attached for administrating which databases needs backup
http://martin-rohwedder.github.io/MySQL-Backup-Manager/
27 stars 7 forks source link

Error 1001. An exception occured in the OnAfterInstall event... #12

Open mrcarl79 opened 8 years ago

mrcarl79 commented 8 years ago

Hi, So I tried again after your last reply, but I still get this error and I do have MySQL installed locally (installed by Plesk).

It seem a similar error to what made you fork this from the original code, but I have followed though the code and it should pick up my Location from the registry fine. So I'm a bit confused!

Here is a screen grab of various bits of info that might be useful, can you see anything I'm missing here? or is there anyway to debug the issue better?

Thanks, Carl

microsoft remote desktop today at 9 59 17 pm
Nark0t1k commented 8 years ago

Get the same error here

http://i.imgur.com/rz7rv3L.png

cbaerike commented 8 years ago

I'm not sure where the code could fail at this point. There are very few locations in the code where a null reference exception are possible anymore, and I can't see why any of them would be hit.

One thing is a bit odd about your installation: The MySQL binary files are in the C:\Program Files\ folder, which would indicate that this is a 64-but install. However, the registry entries are in the \Wow6432Node subkey, which would indicate a 32-bit install. Can you please verify which version of MySQL you're running? If it's the 64-bit version, could you copy the "MySQL AB" registry folder one level up, into \SOFTWARE?

I'll add some more try/catch blocks to the installer in the next version to allow better debugging.