You are here

Basic Reg Help.

7 posts / 0 new
Last post
jedione
Offline
Last seen: 10 years 4 months ago
Joined: 2013-08-21 23:32
Basic Reg Help.

new to the Forum..May stay a while..

Hey guys just learnd how to make my first PAF. big learning curve
but now I know! time to move on my next app involves adding
two .Reg key's all i know is

1. Put them in /Data/settings folder
2. edit /appinfo/Launcher/appname.ini
to say.
-------------------------------------
Activate]
Registry=true

[RegistryKeys]
What go's here ?
------------------------------------
the two .reg files i exported and put in /Data/settings/
are named
one.reg
two.reg

can some one give me some insight...i am a very visual learner.
and been messing with this for some "basic" for hours..my head ...

Bennieboj
Bennieboj's picture
Offline
Last seen: 4 years 8 months ago
Joined: 2010-09-16 07:28
let's say "one.reg" is a reg

let's say "one.reg" is a reg entry from "HKCU\Software\One" and "two.reg" is a reg entry from "HKCU\Software\two".
This could should do the trick:

[Activate]
Registry=true

[RegistryKeys]
one=HKCU\Software\one
two=HKCU\Software\two

More info can be found here.

Yes, I set the working directory!

jedione
Offline
Last seen: 10 years 4 months ago
Joined: 2013-08-21 23:32
ahh yes it is working! but

ahh yes it is working! but only for {HKCU}
----- not for {HKLM} - i think it need admin right's
anybody!

jedione
Offline
Last seen: 10 years 4 months ago
Joined: 2013-08-21 23:32
Have not solved it

thought i had it but no ....anybody Thanks..

John T. Haller
John T. Haller's picture
Online
Last seen: 24 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Admin Rights

You can't write to HKLM without admin rights. If your app requires them to be modified, you need to turn admin on in the launcher so it can request admin rights as it starts.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 24 min 44 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
RunAsAdmin

RunAsAdmin. It's part of the [Launch] section:
https://portableapps.com/manuals/PortableApps.comLauncher/ref/launcher.i...

If it's required by the app, you need to RunAsAdmin. If it's not required by the app but will be created (and should be removed) if the app happens to be run as admin, you don't need RunAsAdmin.

I removed your duplicate thread. We're already discussing it here. No need to create another thread on the same topic.

Sometimes, the impossible can become possible, if you're awesome!

jedione
Offline
Last seen: 10 years 4 months ago
Joined: 2013-08-21 23:32
Thank you Very Much, every

Thank you Very Much,
every one here is so helpful this place is great! looking forward to
posting up some apps very soon. "Solved" thanks jedione...

Log in or register to post comments