You are here

Registry Question

6 posts / 0 new
Last post
DerekMaciel
Offline
Last seen: 14 years 10 months ago
Joined: 2009-06-13 19:17
Registry Question

Okay so I was thinking of making AIM Lite portable.* I thought of making it for PortableApps because using Package Factory (or something like that) I got the program to run on my U3 Powered flash drive. The program runs perfectly, but the only "problem" I encountered is that if you click "Remember Me" or "Save Password", it will write to the Registry. Besides that, it doesn't use the Registry at all. Anyone know how to get around this** or if I don't need to bother with it at all?

*Yes, I know Pidgen can sign onto AIM.
**I was thinking along the lines of writing an AutoIt script to export the Registry key to a .reg file and deleting the actual Registry key, but on next run add the .reg file back to the Key. The only problem is that I don't know how to let the script know when the program is closed (in other words, when to create the .reg file.)

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
Yes

If you want it in terms of an NSIS launcher, take a look at 7-Zip (all its settings are in HKEY_CURRENT_USER) or FileZilla. FileZilla is an interesting case as it only uses it for integration with PuTTY, and so you can see it doing two types of settings handling.

Do just remember though about licensing and restrictions on redistributing the application.

Welcome to PortableApps.com Smile

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

DerekMaciel
Offline
Last seen: 14 years 10 months ago
Joined: 2009-06-13 19:17
Thanks.

Thank you.

As for the licensing, the program is Open Source.

I'm also thinking of doing #Develop, I already edited the config file to save settings outside the Registry, the only changes I get to my system after start up are HKU and HKLM. According to this post, I can just ignore the HKU, but it doesn't really explain what to do with the HKLM.

Now I guess I'm gonna have to look at the NSIS docs for some information on making a launcher.

qwertymodo
qwertymodo's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2008-03-17 19:08
You don't just ignore HKU

You don't just ignore HKU outright. Read under the part about HKCU. HKCU is basically a copy of the currently logged-in user's branch of HKU (HKeyCURRENTUser is a branch of HKeyUSERS). So some of those may be important.

As an aside... you mentioned using a U3 drive with PackageFactory. Just to let you know, all that PackageFactory does is generate an xml file of the app's info and put the whole thing into a zip file. It does not make the app portable. If you were to package a truly portable app using it however, it would perhaps be useful. Much better would be to use an application like SmithTech's or my own shortcut creators. To avoid getting pounded for self-promotion I won't post links, but if you want them, I will let you know how to get them. If you are just looking to make portable apps, I will leave it at that. If you are going to be using them with U3 a lot, then you will want something better than PackageFactory.

Quamquam omniam nescio, nec nihil scio.

DerekMaciel
Offline
Last seen: 14 years 10 months ago
Joined: 2009-06-13 19:17
Yeah I know what

Yeah I know what PackageFactory does.

Anyways recently I started having a problem with my flash drive where certain directories were Read Only. You could right click --> Properties and remove the Square next to Read Only, but if you clicked Apply and checked again it would be back.

I found the problem went away after removing PortableApps Suite, and reappeared when I re-downloaded it. I wrote a program in C# to just open RK Launcher and it works fine. I want to add some extra features to it though

qwertymodo
qwertymodo's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2008-03-17 19:08
C# requires the .NET runtime

C# requires the .NET runtime to be installed on the host system, so it is not really portable. If you want a launcher that simple, it would be better to use NSIS (and really easy too).

Quamquam omniam nescio, nec nihil scio.

Log in or register to post comments