Old 16th April 2007, 20:53   #1
nckinfn04
Junior Member
 
Join Date: Apr 2007
Posts: 1
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
nckinfn04 is offline   Reply With Quote
Old 16th April 2007, 21:37   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.16

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 16th April 2007, 22:32   #3
goldy1064
Senior Member
 
Join Date: Jun 2005
Posts: 211
In Vista, however, if you want to get around the annoying security popups, use HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIndows\CurrentVersion\RunOnce or RunOnceEx
goldy1064 is offline   Reply With Quote
Old 17th April 2007, 01:23   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
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

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump