I am trying to assign a certificate to a website during the installation
and I am getting the error:
Failed to write data to metabase key. (-2147023584 /LM/W3SVC/1/ )
I've tried the following versions of WIX: 3.0.5027.0, 3.0.4805.0,
3.0.4513.0 and I get the same error with any version.
<http://wix.sourceforge.net/releases/3.0.4513.0/>
This is the code:
<iis:WebSite Id='TaitKeyManagement' AutoStart='yes'
Directory='Web.UI'
Description='Tait Key Management
Facility' >
<iis:WebAddress Id='AllUnasigned' Port='80' />
<iis:WebAddress Id='DefaultSecure' Port='443'
Secure='yes'/>
<iis:WebApplication
Id='WMISystemMonitorWebservices' Name='KMfWebAPPName'/>
<iis:CertificateRef Id='TaitCertificate'/>
</iis:WebSite>
<iis:Certificate Id='TaitCertificate'
PFXPassword='[CERTIFICATEPASSWORD]' StoreLocation='localMachine'
StoreName='root'
Name='TaitSSLCertificate.pfx' Request='no' BinaryKey='CertificateFile' />
</Component>
When I remove the CertificateRef element the error disappears but I need
to use this element in order to add the certificate to the website.
This the relevant section from the log file:
Action 15:00:46: WriteMetabaseChanges. Installing Metabase Keys and Values
MSI (s) (3C:08) [15:00:46:317]: Executing op:
CustomActionSchedule(Action=WriteMetabaseChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (3C:84) [15:00:46:320]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI85C3.tmp, Entrypoint: WriteMetabaseChanges
WriteMetabaseChanges: Error 0x80070520: failed to write data to
metabase key: /LM/W3SVC/1/
Error 26104. Failed to write data to metabase key. (-2147023584
/LM/W3SVC/1/ )
MSI (s) (3C!88) [15:00:50:239]: Product: Tait Key Management Facility
1.0.0.0 -- Error 26104. Failed to write data to metabase key.
(-2147023584 /LM/W3SVC/1/ )
WriteMetabaseChanges: Error 0x80070520: failed to write metabase value
Action ended 15:00:50: InstallFinalize. Return value 3.
MSI (s) (3C:08) [15:00:50:244]: User policy value 'DisableRollback' is 0
MSI (s) (3C:08) [15:00:50:244]: Machine policy value 'DisableRollback' is 0
MSI (s) (3C:08) [15:00:50:251]: Executing op:
Header(Signature=1397708873,Version=405,Timestamp=979728404,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users