There's a wix extension in http://msiext.codeplex.com that can add the user to 
a local group if he is not in it, and there's 99% of the code that would allow 
you to write an immediate custom action to check whether a user is a member of 
a group (the code that checks exists, but it hasn't been exposed as a CA). Feel 
free to contribute.

-dB.

In many scenarios what I noticed is that people try to do this to find out 
whether a user is an Administrator or has a specific privilege. There're other 
better ways to do that. Maybe you want something else :)

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-----Original Message-----
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] 
Sent: Thursday, December 03, 2009 2:32 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How Do I Verify Group Membership?

Is there an easy way to verify that a user, specified via a public property is 
a member of a group?

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com<http://www.fiserv.com/>
P Please consider the environment before printing this e-mail

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to