Downgrade Safari 6 to 5.1.7 on Lion

Today I needed an older version of Safari for some JavaScript debugging. I created a new VMware machine, installed Lion from my DeployStudio server and reinstalled a fresh 10.7.5 base image. Bad luck, Safari is already at version 6. I need to downgrade to 5.1.7.

Finding the package aka 5.1.7 for Lion was hard enough. But then the installer complained like this:

Safari installer window
Trying to downgrade from Safari 6.x to 5.1.7

„Safari can’t be installed on this disk. This volume already has a newer version of Safari installed“

Ok, let’s delete Safari 6 from the Application folder. No luck. Still complaining. Terminal to the rescue. You need to delete some more files:

sudo rm -rf /Applications/Safari.app
sudo rm -rf /System/Library/StagedFrameworks/Safari
sudo rm -rf /System/Library/PrivateFrameworks/Safari.framework

Now 5.1.7 installation worked like a charm.

As usual, I would not recommend to do this on your main system. Some virtualization software is just perfect for the job.

Veröffentlicht von

Ruggero De Pellegrini

PHOTOGRAPHER, DEVELOPER & INDIVIDUALIST

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.