Or better yet, help contribute the code to the WiX toolset custom actions so everyone can benefit simply.
_____________________________________________________________ Short replies here. Complete answers over there: http://www.firegiant.com/ -----Original Message----- From: Jeremiahf [mailto:jeremi...@gmail.com] Sent: Wednesday, October 8, 2014 5:36 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] On uninstall, group is not removed from user Try this: <CustomAction Id="RemoveUserFromGroup" Directory="TARGETDIR" ExeCommand="cmd.exe /c net localgroup administrators youruser /delete" //this just deletes the users group membership and not the user. Return="check" Execute="deferred" Impersonate="no" /> add the CustomAction to your installexecutesequence <InstallExecuteSequence> <Custom Action="RemoveUserFromGroup" Before="RemoveFiles">(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom> Hope that helps. J ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users