Why is _wixCert_ {0-9} added to the certificate friendly WiX name?

I install some certificates in localStore, and for some strange reason, all these certificates are placed in "_wixCert_0" or "_wixCert_1". I tried manually deleting all previous certificates to make sure nothing was left, but this still happens. What could be the reason?

Here is how I defined the certificates:

<Component Id="MyCert_file" Guid="*">
    <File Id="MyCert" Name="MyCert.crt" Source="$(var.CertSourceDir)\MyCert.crt" />
</Component>

<Component Id="MyCert" Guid="..." KeyPath="yes">
    <iis:Certificate Id="MyCert"
                     Name="MyCert"
                     Request="no"
                     StoreLocation="localMachine"
                     StoreName="ca"
                     Overwrite="yes"
                     BinaryKey="MyCert"
                     />
</Component>

Certificates are added to certstore, but they have a friendly name, for example, "MyCert_wixCerts_0", etc. I can’t understand why this is happening.

Does anyone else do?

+5
source share
1 answer

WiX src\ca\serverca\scaexec\scacertexec.cpp InstallCertificatePackage "wixCert" . , .

UninstallCertificatePacket , CERTNAME_wixCert_, .

, , / .

+3

All Articles