Hi,
I've got a WIX installer which should install a SSL certificate to a newly
created WebSite/WebApplication.
The WIX XML looks like this:
<Component Id='WebSite' Guid='{40CF7477-3A46-407E-94A7-EC07BB6E66D7}'>
<iis:WebAppPool Id='WebSiteAppPool' Name='Test App Pool'/>
<iis:WebSite Id='WebSiteWebSite' Description='Test'
AutoStart='yes' ConfigureIfExists='no' Directory='WEBSITEDIR'>
<iis:WebAddress Id='WebSiteWebAddress' IP='127.0.0.1' Port='999' Secure='yes'/>
<iis:WebApplication Id='WebSiteWebApp' Name='Test Web App'/>
</iis:WebSite>
<iis:Certificate Id='WebSiteCert' Name='Test Cert' Request='no' Overwrite='no'
PFXPassword='a' StoreName='my' StoreLocation='localMachine'
CertificatePath='Q:\Files\web\cert.pfx'/>
<CreateFolder/>
</Component>
The following problems occur:
1) The certificate overwrites an already existing one although I set
"Overwrite" to "no"
2) The certificate is named "Test Cert_wixCert_1" instead of the specified name
"Test Cert"
3) When using an absolute "CertificatePath" like "Q:\Files\web\cert.pfx", it
works fine. Specifying it relative to the WIX XML-File results in a failing
setup.:
CertificatePath='Q:\Files\web\cert.pfx' << Works great
CertificatePath='Files\web\cert.pfx' << Fails (Not found error). Maybe this can
be relative to Wix bin directory where candle.exe and light.exe reside? Should
i file a bug?
The file hierarchy looks like this:
Test.wxs
- Files
-- web
--- cert.pfx
My questions:
How to avoid a certificate overwrite?
How to ensure the correct naming in IIS?
Is there any possiblity to specifiy the CertificatePath relative to the WIX
XML-File?
Thanks in advance!
Best regards
Phil
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users