You are here

Launching a PortableApp at system startup: How does Lightscreen do it?

4 posts / 0 new
Last post
roystonlodge
Offline
Last seen: 1 year 2 months ago
Joined: 2008-09-04 20:13
Launching a PortableApp at system startup: How does Lightscreen do it?

I want to be able to launch a PortableApp at startup, on a computer where I do not have administrator privileges, without placing a shortcut in my /Start Menu/Programs/Startup folder.

I see that Lightscreen is already able to pull off this trick, but I cannot figure out how it does it. I see that at Lightscreen's config.ini file includes a startup=true/false line, but how does Windows know to look there at startup?

Does anybody out there know the trick Lightscreen uses, and if there's a way to replicate the method with other apps?

Thanks in advance.

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Run, Startup

Lightscreen likely puts an entry in the Run HKCU registry key. Of course, this breaks it out of our portable wrapper, as it runs lightscreen directly rather than LightscreenPortable.

It's best to use Startup as you can always locate it later. And to put a shortcut to AppNamePortable.exe itself.

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

roystonlodge
Offline
Last seen: 1 year 2 months ago
Joined: 2008-09-04 20:13
Can lightscreen change the

Can lightscreen change the registry without administrator privileges?

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 52 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
HKCU

Every app can change the HKCU hive without admin rights.

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

Log in or register to post comments