Hi Govert,
your help is much appreciated so far. I created my own certificate and then using pvk2pfx I created a (Personal Information Exchange) pfx file. I then used a tool called SignGUI to essentially sign my XLL file. Once I did that I installed the Addin and manually had to trust myself (the publisher) and add the certificate in the local store. That seemed to work and make the warning disappear.
What I want to do however is to have this entire process of trusting the certificates automated in my WIX installer. There seems to be a problem and the reason I am sending another post on it.
I have the following in my WIX script:
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="Company" Name="$(var.ManufacturerName)">
<Directory Id="INSTALLDIR" Name="$(var.ProductName)">
<Component Id="CertificateComponent" Guid="1f59dccf-7176-4e97-afb0-e1daf013d1df">
<CreateFolder/>
<iis:Certificate Id="My.Certificate" StoreName="root" Overwrite="yes" Name="MY_CA"
Request="no" CertificatePath="Resources\myapp.pfx" StoreLocation="localMachine" />
</Component>
</Directory>
</Directory>
</Directory>
That should work however it seems that my WIX installer fails and can never install the certificate and the addin. Any ideas would be much appreciated. I am trying desperately to get to the bottom of this and have a finished product that users can trust and use without messing around with their Certificate Store. I looked at examples of Wix installers on the web with the certificate installation builtin but nothing so far that works.
Thanks
Dimitris