Hi,
Newbie question:
for example:
[RegistryKeys]
test1=HKCU\Software\AppName
the [RegistryKeys] function of PAL, in my understanding, is like:
when portable software starts, double-click "test1.reg" to import to registry and backup what's originally there,
and when portable software quits, delete what's imported, then restore the backup.
If I understand right, why specific location "HKCU\Software\AppName" is needed? There could be hundreds of lines and dozens of locations in "test1.reg", not just one location.
Please help me out, thanks.
Partially due to technical limitations and partially because it's never been seen as necessary, it is a single key per .reg file. The .reg format itself permits any number of keys, but the standard export tool only deals with a single key per file. Naturally, then, you must specify what they key is to be, so that it can deal with it.
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
Thanks for fast response. I guess [RegistryValueWrite] function is for single key, so what's the purpose of [RegistryKeys]?
Anyway, how could I deal with hundred keys?
RegistryValueWrite is for setting a single value. RegistryKeys is for dealing with entire keys. You may have your terminology confused.
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
I've created my first PA. Thanks for help.