Add a program to startup on installation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to offer someone the chance to add my new program to their startup
when they install it. I don't mean the Start Up menu, but to be listed in
msconfig and start up automatically when the computer does.

Can anyone tell me how to do this?
 
Have your installer open your registry and at the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run].
--for each program you want to start automatically create a new string value
using a descriptive name, and set the value of the string to the program
executable.

For example, to automatically start Notepad, you would add a new entry of
"Notepad"="c:\windows\notepad.exe".



Peter
 
Back
Top