This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- run program at startup
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 19, 2010
12:45 PM
run program at startup
I have a project that adds a registry entry to HKLM:\software\microsoft\windows\currentversion\run so a program will run when the computer starts. This works on XP but not on Windows 7. I don't even get a notification that the program needs permission to start.
How should this be done on a Windows 7 machine?
How should this be done on a Windows 7 machine?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 19, 2010
12:52 PM
Since you mention asking about permission, does your program require elevation? If so, it will not be started from the Run key or related keys. See http://blogs.msdn.com/uac/archive/2006/08/23/715265.aspx for more information. As for how something should do this? Ideally it would probably be split into a service for any part that requires elevation, and a non-elevated client to that service that interacts with the user.