You are here

PortableAppsRegistry

4 posts / 0 new
Last post
LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
PortableAppsRegistry

I'm unsure if this is suggested before but what about an integral Portable Apps 'registry' file. Something that is usually put in windows registry will be put in PA-Registry file (only when its important for other apps).

For example, a portable python saves in PA-Reg.ini its location so PortableBlender can find and use it as well as other apps that might require Python installed.

Would this be something usefull for SOME applications so they can be aware of eachother a bit? Maybe not so extensive that all apps save all their settings in the PA-Registry to avoid clutter.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27
Nope

It's easier to do it the way we do it now. For example, WinSCP Portable will check to see if PuTTY Portable is installed, and use it. For stuff like Java and GTK, we already have the CommonFiles directory.

I mean, why would VLC Portable need to know about Pidgin? And even if it did, it's simpler to add it to the launcher.

Plus, what if you move apps around? What happens if you change your drive letter? You'd be continually writing to it to keep it up to date and it wouldn't be up to date half the time anyway.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 5 months ago
Developer
Joined: 2007-09-11 12:24
driveletters??

Why would you even keep driveletters?? That doesnt make sence. And who said VLC or Pidgin is one of the apps that should use it.

But maybe you're right and portable apps dont need to know where others would reside. They are portable after all.

We might have a commen files folder, but does it seperate different common files? What if you don't need one anymore, it would be much work to go and pick individual files for deletion.

Oh well, it was just an idea Smile

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27
.

You keep drive letters cause that's how $EXEDIR works. You can't get it relative to the root.

They do know. They simply check if the app it needs is next to it (i.e. E:\Some\Path\AppPortable\AppPortable.exe wants to know if StuffPortable exists, so it looks in E:\Some\Path\StuffPortable\).

It separates it by folder. Look at the current apps. Stuff like CommonFiles\GTK\(version) and CommonFiles\Java\jre-(version). The one I just wrote, ScribusPortable looks in CommonFiles\Ghostscript since all versions are compatible, AFAIK.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

Log in or register to post comments