MySQL-Backup-Manager icon indicating copy to clipboard operation
MySQL-Backup-Manager copied to clipboard

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

Open mrcarl79 opened this issue 10 years ago • 2 comments

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

mrcarl79 avatar Oct 21 '15 09:10 mrcarl79

Get the same error here

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

Nark0t1k avatar Dec 28 '15 06:12 Nark0t1k

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.

cbaerike avatar Feb 17 '16 01:02 cbaerike