Hi All,

 

I have a custom action to run CAQuietExec (using wix v 3.0.5419.0).  It
is currently set up to run as a deferred custom action with no
impersonation.

 

<CustomAction Id="AssignUserPermissionsProperty"
Property="ASSIGNUSERCOMMANDPERMISSIONS"
Value="&quot;[ICACLSEXEPATH]&quot; &quot;[COMMANDEXEPATH]&quot; /grant
[APPLICATIONUSER]:(RX)" />

<CustomAction Id="ASSIGNUSERCOMMANDPERMISSIONS" BinaryKey="WixCA"
DllEntry="CAQuietExec" Execute="deferred" Impersonate="no"
Return="ignore" />

 

When this custom action runs in Windows Server 2003 everything works
great.  When it runs in Windows Server 2008 with UAC I get the following
error in the log:

 

CAQuietExec:  C:\Windows\system32\cmd.exe: Access is denied.

 

The user running the install at the time is an administrator on the
machine.  All the information I have found out there on this subject
tells me that to get the custom action to run with elevated permissions
and avoid this error I need to run deferred with impersonate set to no.
Is there something I'm missing?

 

Thanks in advance,


Amy

 

Amy Rosewater VanMatre

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

arosewa...@spectrumhr.com

 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to