cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
GStrait
Level 4

NT Service in Registry

My Installshield MSI project installs an NT Service and a key is created in the Registry...

HKEY_LOCAL_MACHINE->SYSTEM->CurrentContolSet->Services->MyService

Should this Key be removed upon uninstall from Add/Remove Programs?

I would expect yes, but the Key remains after uninstall. If it should be removed, how do I get the uninstall to do so?

Thanks
Labels (1)
0 Kudos
(1) Reply
cbragg
Level 7

You shouldn't need to add/remove registry keys manually like this. You need to be using the services section for that. Go to your service component, expand it, expand advanced settings and select Install NT Services. There are options in there for installing and uninstalling services. Any manually entered registry entries should be removed from your project
0 Kudos