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
- :
- Windows service will not uninstall
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
‎Apr 25, 2011
05:47 PM
Windows service will not uninstall
My Basic MSI package installs a Windows service. It installs and runs correctly.
When I try to UNINSTALL it on Win2K8 (32-bit), however, it doesn't uninstall. The uninstaller finishes successfully, and the app is removed from the appwiz.cpl.
The MSI log contains no helpful error messages, in fact has no reference to the service name at all.
Action start 10:44:33: UnpublishFeatures.
Action ended 10:44:33: UnpublishFeatures. Return value 1.
Action start 10:44:33: StopServices.
Action ended 10:44:33: StopServices. Return value 1.
Action start 10:44:33: DeleteServices.
Action ended 10:44:33: DeleteServices. Return value 1.
Action start 10:44:33: UnregisterComPlus.
Action ended 10:44:33: UnregisterComPlus. Return value 0.
Bafflingly though, the service uninstalls fine on a Win2K8 (64-bit) machine.
I'm at my wit's end, have spent hours and hours on this, changing Uninstall Delete/Start/Stop events, component guids, permissions etc.
Does anyone have a suggestion on how to debug this?
When I try to UNINSTALL it on Win2K8 (32-bit), however, it doesn't uninstall. The uninstaller finishes successfully, and the app is removed from the appwiz.cpl.
The MSI log contains no helpful error messages, in fact has no reference to the service name at all.
Action start 10:44:33: UnpublishFeatures.
Action ended 10:44:33: UnpublishFeatures. Return value 1.
Action start 10:44:33: StopServices.
Action ended 10:44:33: StopServices. Return value 1.
Action start 10:44:33: DeleteServices.
Action ended 10:44:33: DeleteServices. Return value 1.
Action start 10:44:33: UnregisterComPlus.
Action ended 10:44:33: UnregisterComPlus. Return value 0.
Bafflingly though, the service uninstalls fine on a Win2K8 (64-bit) machine.
I'm at my wit's end, have spent hours and hours on this, changing Uninstall Delete/Start/Stop events, component guids, permissions etc.
Does anyone have a suggestion on how to debug this?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2011
07:02 AM
I'm running into similar issues with stopping and deleting services.
My verbose logging lists the same information as above.
If I use the .NET Installer Class option under the .NET Settings, the service is installed and uninstalled correctly, but i cannot set user options correctly.
If i use the advanced settings-->services-->control settings with 3 separate events for InstallStart, UninstallStop, and UninstallDelete - the service is installed, controlled, and started correctly, but it will not stop and uninstall.
Any suggestions?
My verbose logging lists the same information as above.
If I use the .NET Installer Class option under the .NET Settings, the service is installed and uninstalled correctly, but i cannot set user options correctly.
If i use the advanced settings-->services-->control settings with 3 separate events for InstallStart, UninstallStop, and UninstallDelete - the service is installed, controlled, and started correctly, but it will not stop and uninstall.
Any suggestions?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 04, 2011
02:52 PM
I can not get the service to uninstall.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2011
04:55 AM
Remove the service component and re-add it. If it still not fixing then Rename the component with the service name. Remember to set the unistall stop and uninstall delete. If it still not fixing I don't know then. Well check whether the file is marked as shared.