PDA

View Full Version : InstallShield fails to delete Windows services on uninstall



webpro_x
07-06-2007, 06:40 AM
I have a Basic MSI project using InstallShield 2008 and have 2 services that are installed using the "Install NT Services" and "Control NT Services" features of the Setup Design. When the application I am developing is uninstalled, the services remain running and the related files remain in the Program Files folder (each service is a feature, and all files for the feature remain as-is). I have set "Uninstall Stop" = Yes and "Uninstall Delete" = Yes for each service and nothing is happening. I do have "Install Start" = Yes and this setting is working properly.

Has anyone seen this before? What can I check to ensure this runs properly?

alorbach
07-06-2007, 08:28 AM
I am running into a simular problem. But not only the Service is not uninstalled in my case, the service files and dll (which are in the component that controls the nt service) remain.

This happens since I switched the components "Shared" Option to Yes.

Edit: It only is a problem if I made a major update before from an older version of my application.