Donnerstag, 22. November 2012

Installation of Adobe Creative Suite CS5.5 failed on Mac Os X 10.7 Lion because of Font problems

Today I had to install Adobe Creative Suite CS 5.5 at work for some of my colleague on a Mac Os X 10.7 Lion system . He came to me after trying out the Trial version of CS5 on his own and since our company now has official licences for the full CS5.5, he asked me if I can help him install it because the Installer produced some kind of errors.
I could help him fix those problems and since I haven't found any useful information about this on the net, I write down what I did in case someone finds it useful.
So first thing I tested out was the "Adobe Creative Suite Cleaner Tool" here. The installer dialog said: "Installation failed" and "unknown error occured" or in German "Installation fehlgeschlagen", "Ein unbekannter Installationsfehler ist aufgetreten". It happened for all CS products: PS Photoshop,Illustrator and Indesign.
So I took a look into the log files at "/Library/Logs/Adobe/Installers/" and found these suspicious lines:
 [...]  
 DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-Medium.otf'(Seq 46)  
 DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-Medium.otf" Error 0(Seq 46)  
 DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-It.otf'(Seq 31)  
 DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-It.otf" Error 0(Seq 31)  
 WARNING: DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-Medium.otf'(Seq 46)  
 ERROR: DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-Medium.otf" Error 0(Seq 46)  
 WARNING: DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-It.otf'(Seq 31)  
 ERROR: DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-It.otf" Error 0(Seq 31)  
 b110-imac18:src oliverpelz$ grep otf ~/Desktop/Adobe\ Photoshop\ CS5.1\ 12.1\ 11-21-2012   
 DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-Medium.otf'(Seq 46)  
 DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-Medium.otf" Error 0(Seq 46)  
 DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-It.otf'(Seq 31)  
 DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-It.otf" Error 0(Seq 31)  
 WARNING: DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-Medium.otf'(Seq 46)  
 ERROR: DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-Medium.otf" Error 0(Seq 46)  
 WARNING: DF054: Unable to read Adobe file version for file path '/Library/Fonts/MinionPro-It.otf'(Seq 31)  
 ERROR: DF024: Unable to preserve original file at "/Library/Fonts/MinionPro-It.otf" Error 0(Seq 31)  
 [..]  
So after some messing around with DiskUtilitys-File Permission repair tool, chmodding /Library/Fonts and single Fonts etc. and moving around those files above I could not get it to install properly.
So in the end the solution was to completely move the Fonts folder around, so it cannot be accessed during installation, then start the installation and after it has installed everything correctly copy all the Fonts back.
!!A word of caution: Be careful with those commands, I will not take responsibility if you wreck your Mac installation, you have to know what you do:
 
 $mkdir ~/Desktop/Fonts-Backup;  
 $sudo mv /Library/Fonts ~/Desktop/Fonts-Backup/  
 # now install adobe ... after installation is done do the following thing:
 $sudo mv /Library/Fonts ~/Desktop/Fonts-Backup-Adobe-fresh-installed 
 $sudo rsync -rav ~/Desktop/Fonts-Backup/Fonts /Library/ 

In the end I think the problem was that the trial version installed the fonts listed above but did something wrong with file permissions. The Adobe deinstaller did not remove those files so that it is fair enough to say that the Deinstaller does not remove 100% of the Adobe installations.