I installed CS5, and in regedit there is a key "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.0", which contains two sub-key "ApplicationPath" & "PluginPath". After installing CS5.1 I thought there would be a new key "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.1", actually there wasn't, but the value of sub-key "ApplicationPath" & "PluginPath" changes. It seems only one version of CS5.x is allowed to be installed, but in my machine both CS5 and CS5.1 could work properly. Now I write a script to copy plugins for photoshop, so the plugins should be copied to 2 location -- for CS5 and CS5.1 respectively, but the regedit query only returns one location -- for the version installed later. How could I detect that there are CS5 and CS5.1 co-exist and find both their plugin path? Any suggestion will be appreciated.
That's interesting. As I recall I reported this to the developers during the beta test, and I thought they were going to fix it before release. And I thought the registry key used for identifying CS5.1 was supposed to be 55.0, not 12.1. Perhaps they had some insoluble problem with trying to separate CS5 and CS5.1 right at the end...
Have you considered looking in these HKEY_CURRENT_USER keys instead to differentiate CS5 from CS5.1?
Thanks very much. I could find "HKEY_CURRENT_USER\Software\Adobe\Photoshop\55.0", it is a sign that CS5.1 is installed on the machine. However, this key can't tell my script where is the Application path or Plugin path. And I'm afraid that after uninstalling CS5.1, the information for detecting CS5 will be lost in registry.