Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
SQL
hi..

  We installed one C# windows service using msi package, deleted this service using Command prompt using sc delete myservice. Then i tried installing one more instance of it and i got an error message so i deleted my deleted services related folders from c drive.now the service is there in control panel and while uninstalling am getting error like ' not able to uninstall as services installed pack unavailable".

  Some sites suggesting to recache msi using orca and asking to customize my service and uninstall it.how can i do this.please help.
Posted
Comments
ZurdoDev 21-Jan-14 7:30am    
This is a technical question and not a code question so I would suggest googling the error and follow the suggestions you find.

1 solution

You mix up installing a software (that's where you need the msi package) and installing it as a service (here you use the sc tool). Consequently, you removed only the service from the service list, but not the software from the list of installed software.
Well, now the registry is in an inconsistent state. Look into HKLM\software\Microsoft\Windows\CurrentVersion\Uninstall and remove all keys related to your software.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900