My installer needs to create a shortcut (to the same target file) in each of the Photoshop's Plug-ins directory. See the following code example:
Code: Select all
Read Registry Key HKLM\SOFTWARE\Adobe\Photoshop\10.0\PluginPath\ into PSPLUGINDIR
if Variable PSPlUGINDIR not Equals
Create Shortcut $PSPLUGINDIR$\myplugin to $TARGETDIR$\Plugins\myplugin
end
Read Registry Key HKLM\SOFTWARE\Adobe\Photoshop\11.0\PluginPath\ into PSPLUGINDIR
if Variable PSPlUGINDIR not Equals
Create Shortcut $PSPLUGINDIR$\myplugin to $TARGETDIR$\Plugins\myplugin
end
Read Registry Key HKLM\SOFTWARE\Adobe\Photoshop\12.0\PluginPath\ into PSPLUGINDIR
if Variable PSPlUGINDIR not Equals
Create Shortcut $PSPLUGINDIR$\myplugin to $TARGETDIR$\Plugins\myplugin
end
Also, I would like to use Goto Label command to do a loop, but it does not allow defining label inside conditional statement.
Thanks,

