Skip to content
⌘ NSIS Forum Archive

Startup Regisrty Entry

4 posts

nckinfn04#

Startup Regisrty Entry

How can I put a string in the registry to add the exe file of my software as a startup item? (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Run)

Nick
goldy1064#
In Vista, however, if you want to get around the annoying security popups, use HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIndows\CurrentVersion\RunOnce or RunOnceEx
Anders#
Does RunOnce[Ex] have special access rights for all users on Vista?

You should not use RunOnce[Ex], those are for installers and whatnot, not for normal applications. Write to HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE