Hey there,
I am trying to use the path of a portable application in a registry value. Something like
!define REGKEYS "HKLM\SOFTWARE\Vendor\Subkey\Path=REG_SZ:%PAL:AppDir%\SubfolderofApp\"
apparently won't do anything. Any hints ?
[Moved from General Discussion to Portable App Development - mod Chris]
If you're doing things like that, you're not using PAL. PAL is configured in an INI file. Read the PAL manual.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Since I am not sure what exactly you are refering to with "PAL", the "Portable Application Template" (https://portableapps.com/node/10491) is what I have been using for quite some time to create Portable Applications. So what I would like to do now is integrating a dynamic registry entry using this script. The registry string mentioned in my initial post was just an outline to what I am looking for (if I knew what is has to look like I wouldn't have posted in the first place).
Chris is referring to the reccommended method of creating a portable app: the PortableApps.com Launcher. Please download it and Unicode NSIS, and read through the Manual. What I think you're trying to do is simple using PAL.