Adobe Photoshop finally Repaired

I finally “repaired” Photoshop and Illustrator after reading this tip.

Good stuff. After downloading SQLite Browser, I edited the entries with Photoshop to change the paths to point to “/Applications”, the original install path.

Here’s the description of the problem:

I installed the Adobe CS3 Suite on my external 1TB storage. I then realised that I needed some Apps to be on the computer itself. And you cannot decide a separate location for each application in the installer.

So I copied Photoshop and Illustrator to my computer harddisk.

This resulted in a dialog that says “Application has moved.” every time I start the application. It asks to “Repair Now” or “Cancel”. “Repair Now” does nothing.

The dialog is forever reoccurring. And it prevents me from opening files directly when Photoshop is not already running. I noticed it also causes the launch of the application to be very very slow.

Anyway, here’s how I did it.

Pre SQLite steps:

  • Install SQLite Browser. Link is above.
  • Copy caps.db found in “/Library/Application Support/Adobe/caps” to the Desktop.
  • Duplicate the file so you keep a copy of the original. (in case anything goes wrong)

  1. Load caps.db from the Desktop.
  2. Go to the “Browse Data” tab.
  3. Select “payload_data”.
  4. Photoshop and Illustrator are located in the last few entries, so you have to go to the second page.
  5. Look for “Photoshop” in the value and check the left side for the id that matches it.
  6. Change all occurrences of the paths that are incorrect to the moved location. In this case, there are three occurrences under the same id so I changed them to “/Applications” from “/Volumes”.

Tags: ,

5 Responses to “Adobe Photoshop finally Repaired”

  1. Archrux Says:

    How I fixed this was to create an alias (a symbolic link) to the new location. I’d moved the Adobe folder from /Applications to /NewApps.
    In Terminal application:

    cd /Applications
    ln -s /NewApps/Adobe Adobe

    This wouldn’t be of much use with an external drive, however, because it would still look for the drive.

    Thanks for the info though :)

  2. chris Says:

    @Archrux

    Thanks for the info! That would and much easier for users who are just moving the file around heheh. Thanks for reading too. :)

  3. Amos Bar-Zeev Says:

    Works VERY well was VERY EASY.

    Thank you

  4. Richard Bronosky Says:

    THANK YOU!!!

    This lead me to my own command line solution which I think is actually a little easier. My situation was that I moved all the folders for the Adobe CS3 apps to a folder named Adobe, in the Applications folder. So, here are two commands that…
    (1) make a backup of the file with a timestamp as the extension. This way running the command multiple times does not overwrite the backup like it would if the extension were a constant, like .bak
    (2) replace all occurrences of “/Applications” with “/Applications/Adobe” in values that start with “/Applications”

    If you placed your apps in a different path, just use that instead of “/Applications/Adobe” If you didn’t move all the CS3 apps, or if you renamed the apps or changed/removed their self-named parent folders, then my automated approach will not work for you and you will have to do it the manual way described by the original poster.

    You will get prompted for your user’s password, and you must have admin privileges. I don’t know if the following will wrap, so I’m going to tell you to make sure that there are only 2 lines and that they both begin with “sudo”:
    sudo cp /Library/Application Support/Adobe/caps/caps.db /Library/Application Support/Adobe/caps/caps.db.$(date +%s)
    sudo sqlite3 /Library/Application Support/Adobe/caps/caps.db “update payload_data set value=replace(value,’/Applications’,'/Applications/Adobe’) where value like ‘/Applications%’;”

  5. Richard Bronosky Says:

    I’m going to try to see if I can get it to accept html “PRE” tags
    <pre>
    sudo cp /Library/Application Support/Adobe/caps/caps.db /Library/Application Support/Adobe/caps/caps.db.$(date +%s)
    sudo sqlite3 /Library/Application Support/Adobe/caps/caps.db “update payload_data set value=replace(value,’/Applications’,'/Applications/Adobe’) where value like ‘/Applications%’;”
    </pre>

Leave a Reply