http://wixtoolset.org/documentation/manual/v3/wixdev/wixdev_getting_started.html
On Wed, Oct 8, 2014 at 11:35 AM, Rob Mensching <r...@firegiant.com> wrote: > 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 > -- "They may forget what you said but they will never forget how you made them feel." -- Anonymous ------------------------------------------------------------------------------ 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