views:

11

answers:

0

Hi All,

I've written a program which I would like to run as a windows 7 service that runs before user logon. Since the program has an installation wizard, it needs to be added to the startup programmatically. I've tried using the HKLM\Software\Microsoft\Windows\CurrentVersion\RunSerivces registry location, but I haven't had any success with it. Can anyone tell me if it is still a valid startup location in windows 7, and if not, how else I can get program my service to add itself to the startup processes? Thanks.