I am relatively new to Wix and have not used the Service Control
functionality yet, but I have over the years created services and installed
them with setups created by another non-wix setup.   So from that
perspective, given your statement "but does not remove the service from the
Services list", I would suggest the following.

The Service Control Manager maintains a list of services as described here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682544(v=vs.85).aspx

Some windows services have a command line switch, which when executed
creates these registry keys in a self-install process.  This method is not
the recommended way to install a service, because when it is used the setup
program does not know to remove these keys.

You may need to implement code to remove these registry entries, but you
should use SCM functions and take control of the database lock (with
LockServiceDatabase and UnlockServcieDatabase) rather than directly editing
the registry without taking these steps.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682562(v=vs.85).aspx

I'm sorry I can't advise on the Wix implementation yet.
Phill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Service-Uninstall-not-Removing-Service-tp7588797p7588807.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to