Hi!
i'm new to nsis, only doing it for 3 days, and for starters i converted my Photoshop CS4, just for educational porposes, and b/c i don't want to reinstall it every time i reinstall windows. i have deepfreeze too, so all my apps are portabilised, and on drive D:\, but for now only with thinapp.
so, the problem is:
a have used the template provided here in the forums, and i have introduced 2 lines of code, here:
; --------------------------------------------------------------------------
; Apply portable registry key, delete existing key at same time
; --------------------------------------------------------------------------
IfFileExists "$DATADIR\${APP}.reg" 0 +2 ; only apply if a registry file exists
ExecWait 'regedit /s "$DATADIR\${APP}.reg"'
;NEW LINES=>
${registry::Write} "HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\11.0" "PlugInDirectory" "$PROGRAMDIR\Data\AddedPlugins\" "REG_SZ" $R0
${registry::Write} "HKEY_CURRENT_USER\SOFTWARE\Adobe\Photoshop\11.0" "SettingsFilePath" "$PROGRAMDIR\Data\Photoshop\Settings\" "REG_MULTI_SZ" $R0
;
One of the things our launchers do is check if a local version of the application is installed (Usually by checking the registry). What you need to do is if a local version is installed then move the local photoshop reg keys to something like HKCU\Photoshop-Local. Then upload your registry settings. Once the program quits export the changes registry keys to the data folder and move the photoshop-local keys back to the normal state. If you want more prompt responses you should try comming onto IRC. You can see https://portableapps.com/support/chat for more info. Come into the room #portableapps-dev.
Release Team Member