开发者

How to remove service application from Add/Remove Programs if it is no longer listed as a service?

开发者 https://www.devze.com 2023-03-08 16:39 出处:网络
I had a windows installer install a service I created. I tested on my dev machine rather than a test machine. The application files no longer exist and the service does not show up in the list of Wind

I had a windows installer install a service I created. I tested on my dev machine rather than a test machine. The application files no longer exist and the service does not show up in the list of Windows Services under Admin Tools. I am trying to remove the entry from the Add/Remove programs. I set the installer up开发者_StackOverflow社区 with a custom action of uninstalling the service when the uninstaller is run.

Even with manually copying the files to the expected location and manually adding the service in to the list of services, the uninstaller fails. I can't manage to remove it from the list of add remove programs. How can I remove it from the list?


All the entries shown in the Add/Remove Programs panel are found in the Registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall -- you'll find your in a subkey named with a GUID (e.g. "{123409-adsf-1234...}") if it was installed from an MSI (in which case you probably want to re-run the MSI to remove cleanly you really should use msiexec /x {GUID} to uninstall, or double-click the original MSI package and choose "Remove") or it could be any name if it was installed with another setup tool.


Perhaps this will help:

http://setupanddeployment.com/cleanup/installer-cleanup/

http://setupanddeployment.com/cleanup/installer-cleanup-update/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号