MSI - Windows Service Restart
I want to create a shortcut that restarts two win32 services (the services themselves have no dependencies).
I was thinking of using an MSI with an Advertised shortcut and the Service Control table however I'm struggling. I get..... insufficient privelidges (1920.). I have.... run as admin, assigned priviledges to the files (to test), specified my user credentials within the Service Control table (again to test). I have manually started the services ok and can start them from the comand line so I'm either missing something or the permissions error is a bit of a red herring.
I'm familiiar with the use of SHIMs and SecEdit but not so much the ServiceControl table.
Any help\ideas would be appreciated.
Win7, x86, Installshield
Answer Chosen by the Author
why do you need to re-start the services via a shortcut?
You can create and start the services via the SC table. This includes starting them on install and stopping them before de-installation...
Which tool are you using?