Almost certainly it is called, but the action is not elevated, so it fails.
If you need a CA to be elevated in Windows Vista - even if the MSI was
launched elevated - you need the action to be deferred and not impersonate
the running user (i.e. CustomAction/@Execute='deferred' and
@Impersonate='no'). I'm not sure if that's compatible with using an EXE
file.
If you need to install certificates, WiX has the <iis:Certificate> element.
While intended for installing web server SSL certificates, I believe it's
also capable of installing user certificates.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 15 May 2007 10:06
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX v3.0 on Vista doesn't run some custom actions
whenUAC is enabled
One of the applications I'm working on calls the .NET framework's
certmgr.exe tool to install a number of X509 certificates in the user's
certificate store. Under Vista, I am observing different behaviour when UAC
is turned on/off. When UAC is enabled, it appears the CustomAction to
install the certs is not called. When UAC is disabled, the action is
called.
Has anyone observed similar behaviour with custom actions and UAC or have
suggestions as to what might cause this?
Thanks, Nigel Pepper
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users