Bug #22131 None of the MySQL Gui Tools start if they are copied to the Applications folder
Submitted: 8 Sep 2006 22:00 Modified: 11 Sep 2006 22:21
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.1.11 OS:MacOS (Mac OS X 10.4)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: start crash

[8 Sep 2006 22:00] [ name withheld ]
Description:
None of the MySQL Gui Tools start if they are copied to the Applications folder individually.  Worse still they die silently without any kind of exception or error message.  Everything works fine if the whole folder is copied to the Applications folder.

The problem is that there is a soft link that goes up two levels and expects "Library/Frameworks" to be there.

/Applications/MySQL Query Browser.app/Contents>ls -l
lrwxr-xr-x     1 josh  admin    24 Sep  8 14:23 Frameworks@ -> ../../Library/Frameworks
-rw-r--r--     1 josh  admin   987 Jul 19 16:09 Info.plist
drwxr-xr-x     3 josh  admin   102 Jul 19 16:10 MacOS/
-rw-r--r--     1 josh  admin     8 Jul 19 16:09 PkgInfo
drwxr-xr-x   137 josh  admin  4658 Jul 19 16:09 Resources/
/Applications/MySQL Query Browser.app/Contents>

How to repeat:
Copy MySQL Administrator to /Applications folder and double click

Suggested fix:
At the very least throw an error.  Better, put the frameworks directly in each app or have an installer put it in a global place like /Library.
[11 Sep 2006 16:47] Alfredo Kojima
You need to drag the whole folder to the Applications folder.
I will add a dialog to warn the installation is incorrect, tho.
[11 Sep 2006 22:21] Alfredo Kojima
The dylib resolution occurs before the program executes, so it's not possible to add a runtime check, but I've changed the dmg background to be more clear about the installation procedure.