I'm trying to create a local security group, and not having much luck. I
currently have a couple of CA's, one defining the property for the location of
net.exe, then one to invoke the call:
<CustomAction
Id="SetCmdLine_CreatePMGroup"
Property="QtExecCmdLine"
Value=""[SystemFolder]net.exe localgroup PowerMonitorUsers /add" />
<CustomAction
Id="QtExec_PowerMonitorUsersGroupCreate"
BinaryKey="WixCA"
DllEntry="CAQuietExec"
Execute="deferred"
Return="ignore"
Impersonate="no"
/>
</Fragment>
I'm getting a return code of 1. I'm thinking it has to do something with
elevation, however looking at the table directly, the CA for
PowerMonitorUsersGroupCreate is type 3137, which is setting the
msidbCustomActionTypeNoImpersonate bit.
Has anyone created a Local Security group and populated it before?
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users