I have trouble understanding what is the meaning of various elements in the 
Certificate tag and the wix file. The code I have is not installing the 
external cer file whatever I do. Here is how my component looks like:

 <Directory Id="TARGETDIR" Name="SourceDir">
...
    <Component Id="RootCertificateComponent" 
Guid="6ACC325C-7998-4890-99C2-14D9F03EE6C5">
      <Condition> ROOTCERTNAME </Condition>
      <Certificate Id="RootCertificate"
                   Name="[ROOTCERTNAME]"
                   Request="no"
                   Overwrite="yes" 
                   CertificatePath="[ROOTCERTPATH]"
                   StoreLocation="localMachine"
                   StoreName="root"
                   />
    </Component>
...
  </Directory>

  <Feature ... >
...
    <ComponentRef Id="RootCertificateComponent" />
... Other componenets that get installed

  </Feature>


ROOTCERTPATH="c:\PATH\file.cer"
and 
ROOTCERTNAME="SomeName"

The certificate does not get installed in 
Certificates (Local Computer) -> Trusted Root Certificate Authorities -> 
Certificates or anywhere else but no error seems to be generated either.

For now I have trouble understanding what is the Name and CertificatePath. 
The CertificatePath seems to be the file name with full path of the certificate 
file.
The Name seems to be rather arbitrary.

I have tried also with the Name as file name (file.cer) and CertificatePath as 
strictly the path (c:\PATH\).
I use v2.0.5508.0 of wix and I am trying to install on Win2k3 server.  

Any hints?

Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to