Here is my Wix code in .wxs
file
<Component Id="MyRootCA.cer" Guid="*" Permanent="yes">
<File Id="MyRootCAFile.cer" Name="MyRootCA.cer" Source="Assets\Certificates\MyRootCA.cer" />
<iis:Certificate Id="Certificate.MyRootCA"
Name="MyRootCA.cer"
Request="no"
StoreLocation="localMachine"
StoreName="root"
Overwrite="no"
BinaryKey="MyRootCABinary"/>
</Component>
The certificate is successfully installed on the machine after installation. Now, how do I log the message about this operation?
I am executing below command, and it generates log file
msiexec /i installer.msi /L*vx c:\work\Test2.log /q
How do I add, custom messages to this log file? I would like to add a success message for adding a certificate to the system
I am trying to add custom action
<CustomAction Id="CA.LogCertificateInstallation"
BinaryKey="BI.CA"
DllEntry="LogCertificateInstallation"
Execute="deferred"
Return="check"
Impersonate="no"/>
How do I link this custom action to above Component
?