I am getting a leaked MSI handle error. Everything was working fine until I
added an additional website component for SSL. Here is a snippet of the
installer.
Microsoft (R) Windows Installer Xml Compiler version 3.0.2925.0 -- btw
<iis:WebDirProperties
Id="TESTDirProperties"
AnonymousAccess="no"
BasicAuthentication="yes"
DefaultDocuments="Default.asp,Default.htm,Default.aspx"
Read="yes"
Index="yes"
Write="no"
Execute="no"
Script="yes"
WindowsAuthentication="no" />
<iis:WebApplication
Id="TESTWebApplication"
Name="TEST"
AllowSessions="yes"
SessionTimeout="20"
Buffer="yes"
DefaultScript="VBScript"
ScriptTimeout="90" />
<iis:WebApplication
Id="TESTWSApplication"
Name="TESTWS"
AllowSessions="yes"
DefaultScript="VBScript"
ScriptTimeout="90"
SessionTimeout="20" />
<iis:WebApplication
Id="TEST_UtilsApplication"
Name="TEST_Utils"
AllowSessions="yes"
DefaultScript="VBScript"
ScriptTimeout="90"
SessionTimeout="20" />
<DirectoryRef Id="WEBROOT">
<Component Id="CreateServerWebsite"
Guid="9a752184-1828-4ebc-a882-406ec659b2fd" KeyPath="yes">
<iis:WebSite Id="TESTWebsite"
ConfigureIfExists="no"
Directory="WEBROOT"
Sequence="1"
Description="TEST"
ConnectionTimeout="300"
AutoStart="yes"
StartOnInstall="yes"
WebApplication="TESTWebApplication"
DirProperties="TESTDirProperties">
<iis:WebAddress Id="TESTWebAddress" Port="[IISPORT]" />
<iis:WebVirtualDir
Id="TESTWSvDir"
Directory="TESTWS"
WebApplication="TESTWSApplication"
DirProperties="TESTDirProperties"
Alias="TESTWS" />
<iis:WebVirtualDir
Id="TEST_UtilsvDir"
Directory="TEST_UTILS"
WebApplication="TEST_UtilsApplication"
DirProperties="TESTDirProperties"
Alias="TEST_Utils">
<iis:WebVirtualDir
Id="SharedControlsvDir"
Directory="SHARED"
DirProperties="TESTDirProperties"
Alias="SharedControls" />
</iis:WebVirtualDir>
</iis:WebSite>
<Condition><![CDATA[USESSL <> 1]]></Condition>
</Component>
<iis:WebDirProperties
Id="SecureTESTDirProperties"
AnonymousAccess="no"
AccessSSL="yes"
AccessSSLNegotiateCert="yes"
BasicAuthentication="yes"
DefaultDocuments="Default.asp,Default.htm,Default.aspx"
Read="yes"
Index="yes"
Write="no"
Execute="no"
Script="yes"
WindowsAuthentication="no" />
<Component Id="CreateSecureWebsite"
Guid="a04ad24b-fcc2-483a-9830-e3307a693311" KeyPath="yes">
<iis:WebSite Id="SecureTESTWebsite"
ConfigureIfExists="no"
Directory="WEBROOT"
Sequence="1"
Description="TEST"
ConnectionTimeout="300"
AutoStart="yes"
StartOnInstall="yes"
WebApplication="TESTWebApplication"
DirProperties="SecureTESTDirProperties">
<iis:WebAddress Id="SecureTESTWebAddress" Port="[IISPORT]"
Secure="yes" />
<iis:WebVirtualDir
Id="SslTESTWSvDir"
Directory="TESTWS"
WebApplication="TESTWSApplication"
DirProperties="TESTDirProperties"
Alias="TESTWS" />
<iis:WebVirtualDir
Id="SslTEST_UtilsvDir"
Directory="TEST_UTILS"
WebApplication="TEST_UtilsApplication"
DirProperties="TESTDirProperties"
Alias="TEST_Utils">
<iis:WebVirtualDir
Id="SslSharedControlsvDir"
Directory="SHARED"
DirProperties="TESTDirProperties"
Alias="SharedControls" />
</iis:WebVirtualDir>
</iis:WebSite>
<Condition><![CDATA[USESSL=1]]></Condition>
</Component>
Here is a snippet of the log file:
MSI (s) (D0:EC) [09:03:38:561]: Doing action: InstallCertificates
Action ended 9:03:38: InstallFiles. Return value 1.
MSI (s) (D0:A0) [09:03:38:593]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI9.tmp, Entrypoint: InstallCertificates
Action start 9:03:38: InstallCertificates.
MSI (s) (D0:EC) [09:03:38:764]: Doing action: ConfigureIIs
Action ended 9:03:38: InstallCertificates. Return value 1.
MSI (s) (D0:A0) [09:03:38:780]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIA.tmp, Entrypoint: ConfigureIIs
MSI (s) (D0!DC) [09:03:38:936]: PROPERTY CHANGE: Adding
StartMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
Action start 9:03:38: ConfigureIIs.
MSI (s) (D0!DC) [09:03:38:952]: Doing action: StartMetabaseTransaction
Action start 9:03:38: StartMetabaseTransaction.
MSI (s) (D0!DC) [09:03:38:952]: PROPERTY CHANGE: Adding
RollbackMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
MSI (s) (D0!DC) [09:03:38:952]: Doing action: RollbackMetabaseTransaction
Action ended 9:03:38: StartMetabaseTransaction. Return value 1.
Action start 9:03:38: RollbackMetabaseTransaction.
MSI (s) (D0!DC) [09:03:38:968]: PROPERTY CHANGE: Adding
CommitMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
MSI (s) (D0!DC) [09:03:38:968]: Doing action: CommitMetabaseTransaction
Action ended 9:03:38: RollbackMetabaseTransaction. Return value 1.
Action start 9:03:38: CommitMetabaseTransaction.
MSI (s) (D0:A0) [09:03:39:218]: Leaked MSIHANDLE (133) of type 790531 for
thread 220
MSI (s) (D0:A0) [09:03:39:218]: Leaked MSIHANDLE (119) of type 790540 for
thread 220
MSI (s) (D0:A0) [09:03:39:218]: Leaked MSIHANDLE (118) of type 790540 for
thread 220
MSI (s) (D0:A0) [09:03:39:218]: Leaked MSIHANDLE (117) of type 790540 for
thread 220
MSI (s) (D0:A0) [09:03:39:218]: Leaked MSIHANDLE (111) of type 790541 for
thread 220
MSI (s) (D0:A0) [09:03:39:218]: Note: 1: 2769 2: ConfigureIIs 3: 5
Action ended 9:03:38: CommitMetabaseTransaction. Return value 1.
DEBUG: Error 2769: Custom Action ConfigureIIs did not close 5 MSIHANDLEs.
Internal Error 2769. ConfigureIIs, 5
MSI (s) (D0:EC) [09:03:39:233]: Machine policy value 'DisableRollback' is 0
MSI (s) (D0:EC) [09:03:39:233]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
3: 2
Action ended 9:03:39: ConfigureIIs. Return value 3.
MSI (s) (D0:EC) [09:03:39:233]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
3: 2
MSI (s) (D0:EC) [09:03:39:233]: No System Restore sequence number for this
installation.
MSI (s) (D0:EC) [09:03:39:233]: Unlocking Server
Action ended 9:03:39: INSTALL. Return value 3.
Any idea on why this is happening. Again, it wasn't happening before I
added the secure component and the secure WebDirProperties.
Thanks,
AJ
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users