I'm still having trouble with our application. So it appears the app is
getting called (temporarily modified the app to write out to a log
file), however the mmc console reports the certificates are not
installed after installation. Doing some basic checking, after calling
store.add(<certificate>) in the application, the cert count in the store
is incremented by 1.
When I exit the app, I can't see the certs in the store after
refreshing. Is there any virtualisation of the cert store which occurs
under Vista? Further, if the MSI requests elevation, which user is it
elevated to? I mention, as when UAC is disabled, the certificates are
installed correctly.
Thanks, Nigel Pepper
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: 16 May 2007 05:18
To: Mike Dimmick; Pepper,N,Nigel,XSE6 R; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] WiX v3.0 on Vista doesn't run some custom
actionswhenUAC is enabled
<Certificate> isn't just for SSL certificates any longer. It's just
stuck in the IIS extension because that's where it came from... it'll
install normal certificates just fine. I do it all the time in Windows
Marketplace.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Dimmick
Sent: Tuesday, May 15, 2007 11:37 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX v3.0 on Vista doesn't run some custom
actions whenUAC is enabled
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