This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: NT Services not being uninsalled.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 12, 2009
07:55 PM
NT Services not being uninsalled.
1st off - this is my first Basic MSI project....annnnnd I don't like it! I spent a few years with the MultiPlatform installer which is very simple compared to MSI!
I have one service.exe that can be used for 3 different services that would be installed to the same directory. So I have 3 separate features with components with this same file - not associated obviously because the NT Service names and parameters are different! Each component also has registry entries being added to the Paramters folder of the service
When uninstalling my NT Services are not being uninstalled and the exe used for the services are remaining on the system. Yes - I have the Control NT Services set correctly correctly to uninstall Stop and Delete to yes.
I was thinking of just launching an 'sc delete ServiceName' on uninstall - but how can I do that! With IS MultiPlatform they had a Launch Command Custom Action but I do not see that here! I see a launch EXE but does that mean I have to install say some bat files and then launch them on uninstall!
I appreciate any help with this!
Thanks,
Tom
I have one service.exe that can be used for 3 different services that would be installed to the same directory. So I have 3 separate features with components with this same file - not associated obviously because the NT Service names and parameters are different! Each component also has registry entries being added to the Paramters folder of the service
When uninstalling my NT Services are not being uninstalled and the exe used for the services are remaining on the system. Yes - I have the Control NT Services set correctly correctly to uninstall Stop and Delete to yes.
I was thinking of just launching an 'sc delete ServiceName' on uninstall - but how can I do that! With IS MultiPlatform they had a Launch Command Custom Action but I do not see that here! I see a launch EXE but does that mean I have to install say some bat files and then launch them on uninstall!
I appreciate any help with this!
Thanks,
Tom
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 17, 2009
09:48 AM
I had a condition on the components that were not being resolved when uninstalled through ARPs because it goes right to the Execute sequence. I needed to disable the Remove button for ARPs.