Hey Greg, I use the following snipt to create an uninstall short cut to remove my installations and services for my product, this works for both Windows flavors:
<!-- Create shortcut for uninstall --> <Directory Id="ProgramMenuFolder"> <Directory Id="ShortcutFolder" Name="[My Product Name]"> <Component Id="UninstallShortcutComponent" Guid="bc058f23-92fb-44f2-9b88-8917779e7a5d"> <RegistryKey Root="HKCU" Key="Software\[My Product Name]\Uninstall"> <RegistryValue Value="UnInstall [My Product Name]" Type="string" KeyPath="yes" /> </RegistryKey> <Shortcut Id="UninstallProduct" Name="Uninstall [My Product Name]" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" Directory="ShortcutFolder" Description="UnInstalls [My Product Name]" /> <RemoveFolder Id="RemoveShorcutFolder" On="uninstall" /> </Component> </Directory> </Directory> Thanks Fauzi Ashurex -----Original Message----- From: Greg Edwards [mailto:gedwa...@polariswireless.com] Sent: Monday, May 19, 2014 1:53 PM To: General discussion about the WiX toolset. Subject: [WiX-users] Uninstalling Service on Windows Server 2012 Not Removing Service I have a WIX installer build to install a Windows Service. When the uninstaller is run on a Windows 8, it properly removes the service. But when run on a Windows Server 2012, the service remains. In order to remove the service on a 2012 server, we are forced to issue an "sc.exe delete" from the console. Is there additional parameters that need to be included on a Windows Server 2012 service installer? Thank you. -Greg Edwards ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users