1) immediate custom action since it does not change machine state (and you want to set properties); 2) have an input property containing either the possible domain account or a reference to a property containing the possible domain account; 3) use C# in the usual manner -- you can adapt code like this to do your business: http://stackoverflow.com/questions/6653151/how-to-check-whether-user-is-domain-administrator-in-c-sharp 4) if the possible domain account is a domain admin, set an output property to "#1"; 5) else, clear the output property by setting it to string.Empty;
-- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |jocoo...@jackhenry.com -----Original Message----- From: sourabh_1987 [mailto:sourabh_1...@live.com] Sent: Thursday, November 13, 2014 11:38 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Domain Admin check in wix installer Hi John, Can you please explain how it can be done with custom action? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Domain-Admin-check-in-wix-installer-tp7597895p7597937.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users