You are here

How to integrate dynamic paths into registry values

4 posts / 0 new
Last post
level20peon
Offline
Last seen: 10 months 3 weeks ago
Joined: 2011-06-13 05:27
How to integrate dynamic paths into registry values

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]

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
Not PAL

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

level20peon
Offline
Last seen: 10 months 3 weeks ago
Joined: 2011-06-13 05:27
Since I am not sure what

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).

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 day 49 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
PAL

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.

Log in or register to post comments