Loading
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

  • 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

Loading
NT Service in Registry