I currently have the following CustomAction I want to run as admin under Vista:
<CustomAction Id="ActionDeviceInstall" BinaryKey="CustomActions"
DllEntry="ActionDeviceInstall" />
<InstallExecuteSequence>
<Custom Action="ActionDeviceInstall"
After="InstallFinalize"><![CDATA[(NOT REMOVE~="ALL")]]></Custom>
</InstallExecuteSequence>
Seems I have to set Impersonate="no" and Execute="deferred". Since I'm a WiX
dummy I'm just not sure how to trigger a deferred CustomAction, to mimick what
we had above ?
-- André
From: Heath Stewart
Sent: Thursday, January 11, 2007 3:30 PM
To: André Schoorl; Windows Installer Support (MS Internal)
Subject: RE: Running CustomAction as admin
The CA has to be attributed with msidbCustomActionTypeNoImpersonate. See
http://blogs.msdn.com/rflaming/archive/2006/09/23/768248.aspx and
http://blogs.msdn.com/heaths/archive/2006/10/20/impersonating-the-right-token-in-vista.aspx.
Heath Stewart
Software Design Engineer
Deployment Technologies Group, Microsoft
http://blogs.msdn.com/heaths
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users