[wix-users] Can I have a Bootstrapper with optional MSI for a certificate?

David Bowen maildarbid at icloud.com
Wed Oct 11 07:25:19 PDT 2017


Hi All,



I'm just completing a nice Wix burn bootstrapper with WPF UI which currently has only 1 MSI which does not need UAC.



I now think I have to install a certificate.  Is it possible for me to make a 2nd MSI for just the Certificate (Which requires UAC) and the bootstrapper only will use it and thus ask the user for UAC if it is missing?



I would like that the user only the first time needs to use UAC and then all further installs or updates would proceed without it.



I think I know how to add a certificate in the MSI.



 <ComponentGroup Id="MYCertificate" Directory="SystemFolder">
      <Component Id="Com_Certificate_New" Guid="{}" Permanent="yes" KeyPath="yes">
        <iis:Certificate Id="Certificate.CA_New" Name="myName" Request="no" StoreLocation="localMachine" StoreName="root" Overwrite="yes" BinaryKey="Certificate.Binary_NEW"/>
      </Component>
    </ComponentGroup>




What would I need in the boostrapper to check if this certificate is present.  Or maybe I have to do something in the MSI as I can see in this post https://stackoverflow.com/questions/23372459/certificate-detection-installation-with-wix-installer



Thanks all for any and all help



David




More information about the wix-users mailing list