There are way more downsides, for example rollback support is way more complex. 
 Shelling to an executable is never* the right thing to do.


* for very large sets of "never"
_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: Tom Brezinski [mailto:to...@networkinstruments.com] 
Sent: Wednesday, December 3, 2014 6:29 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Install certificate in users store

Another options is invoking certutil.exe (on Vista and newer versions of 
windows) with a CAQuietExec.  Here's an example that installs to the system 
store, just tweak the certutil.exe command to go to the user store if that is 
where you want it.

        <CustomAction Id="CreateCertCommand"
                      Property="RegisterCert"
                      Value="&quot;certutil.exe&quot; -addstore 
&quot;Root&quot; &quot;[PATH_TO_CERT]\certificate.crt&quot;" />

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

The one downside to this is it won't work for all browsers on the operating 
system as you requested.  Firefox for example does not use the Windows 
certificate store.  Chrome and IE do, not sure about some of the other browsers 
out there.

-Tom

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to