How to Uninstalled Window Service

Got a problem you cannot solve? Try here.
Post Reply
sarooptrivedi
Posts: 3
Joined: Fri Dec 09, 2011 1:37 am

How to Uninstalled Window Service

Post by sarooptrivedi »

I build installer for my window service through the InstallAware. When i Install the Service through the setup it's work properly but not able to uninstalled the service when the setup run for un-installation. How to set that think in MSI Code.

How to put the Uninstalled Window service through the InstallAware Setup.

Please Guide me.. It's critical problem here...
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to Uninstalled Window Service

Post by giaviv »

Hi,

Try manually calling sc.exe with the parameters "delete [servicename]" upon uninstallation.
Invoke sc.exe using the Run Program command right before the call to Apply Uninstall.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply