Use NET LOCALGROUP to create localgroups and add users over c# custom action
Thanks, Sudheer |OEM Build Operations Team -----Original Message----- From: Sharad Patel [mailto:[email protected]] Sent: Monday, May 02, 2011 1:09 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creatin User Group and add current user into it Have you tried setting the Impersonate attribute to "no" in your CustomAction element? http://wix.sourceforge.net/manual-wix2/wix_xsd_customaction.htm -----Original Message----- From: Rahul Ramesh Ekbote [mailto:[email protected]] Sent: Tuesday, 3 May 2011 12:06 a.m. To: [email protected]; General discussion for Windows Installer XML toolset.([email protected]) Subject: Re: [WiX-users] Creatin User Group and add current user into it Hi Christopher, I am facing one problem with create group CustomAction. I created custom action in C# however it is not executing when I am running .msi by double clicking, however if I run command prompt with "Run as Administrator" then it work fines. So what I need to do to run .msi as "Run as Administrator". Thanks, Rahul -----Original Message----- From: Christopher Painter [mailto:[email protected]] Sent: 29 April 2011 PM 11:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creatin User Group and add current user into it Correct. I had to write (DTF) custom actions for this functionality. --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Fri, 4/29/11, Dick Van den Brink <[email protected]> wrote: From: Dick Van den Brink <[email protected]> Subject: Re: [WiX-users] Creatin User Group and add current user into it To: [email protected] Date: Friday, April 29, 2011, 8:18 AM I think you need a custom action for that. The WiX group element can only search groups and not create new ones according to the documentation. It can however add new or existing users to an existing group. > From: [email protected] > To: [email protected] > Date: Fri, 29 Apr 2011 13:04:38 +0000 > Subject: [WiX-users] Creatin User Group and add current user into it > > Hi, > Is there any simple way in WIX to create user group and add current user into > that group. Or only option is to create CustomAction in C#. > Currently I am using WIX 3.6 > > Thanks, > Rahul > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

