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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top