Please, can someone provide me with a WiX snippet or solution for the mentioned scenario. I need to include the pfx file in the WiX msi and the user will download my msi to his machine via the internet explorer and Click install and I need also the certificate to be installed on his machine.
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Keychain unable to import p12 properly and system
- Wix variable name formats with spaces and other ch
- WiX: Multiple MSI files?
相关文章
- Does the apple push notification distribution cert
- Openssl telling certificate has expired when it ha
- How do I require a value in a textbox in a Wix cus
- OpenSSL error - unable to get local issuer certifi
- How to prevent WiX bundle with same UpgradeCode/Ve
- SSL signed certificates for internal use
- How do I pass a default 'install location'
- Running msiexec from a service (Local System accou
To expand on the answer a little, the following set of attributes worked for me:
Where the
<Product>
element contained a<Binary>
child as follows:(I included the PFX file within my WiX project).
You need the Certificate element. It is part of the IIS extension for wix, but can be used for non-IIS related installations also.
You need to
declare a prefix for the iis namespace, for example like this in the root Wix element:
Embed the PFX file as a binary stream in your install package. Add a Binary element under the product element like this:
Declare a component with a
<iis:Certificate>
element, for example like this. Look at the documentation, you need to fill in some more attributes. Note that you don't needCertficatePath
if you use theBinaryKey
attribute.Activate the IIS extension by adding the option
-ext WixIISExtension
option when invoking the wix command line tools. If you use visual studio, this is just a matter of adding a reference in your wix project toWixIISExtension
.