I've decided to bring this back to your attention, guys. I have received the following feedback to the bug I've registered:
" This error code "0x8004e00f" is CONTEXT_E_TMNOTAVAILABLE, which happens when COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator. This service is only required when the application is installed as a COM+ application as seen in administrative tools -> component services, which occurs when isolation is set to "medium" or "high". Either install with an Isolation value of "low" (the default if no isolation value is specified), or if you want to install with isolation values of "medium" or "high", you'll have to enable the Microsoft Distributed Transaction Coordinator on the machine you're installing to, then install the MSI. " DTC is disabled by default for XP machines, as far as I can see. This means manual action before running install, which is not good user experience. Could you please confirm that the way IISExtension works at the moment is not a subject to change in the nearest future? It might happen that I simply chose the incorrect approach. All I want to accomplish is to take existent 'Default web site', switch its root to my INSTALLDIR, and tune its properties, for instance, change the isolation level to Medium. What's the way you would keep to in order to achieve this? Please, suggest. Thanks a lot! -- Yan -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Tuesday, January 20, 2009 7:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bug in iis:WebApplication? Thanks, I'll bring this to Mike's attention when we meet on Thursday. -----Original Message----- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Tuesday, January 20, 2009 08:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bug in iis:WebApplication? Done: #2524017 -- Yan -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Tuesday, January 20, 2009 5:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bug in iis:WebApplication? Yeah, sounds like a bug. Mike made some changes recently to handle COM+ configuration that was not getting cleaned up correctly. It could be this is a bug introduced by that change. Please do open a bug on SourceForge. -----Original Message----- From: Yan Sklyarenko [mailto:y...@sitecore.net] Sent: Tuesday, January 20, 2009 02:51 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Bug in iis:WebApplication? Hello WiX community, It seems I have found a bug in IIS extension. I hope I'm wrong and somebody will point me to my mistake. First of all, WiX version is 3.0.4917.0. I'm trying to configure the existent website in IIS 5.1. Here is my component definition: <Component DiskId="1" Id="ModifyIISSite5" Guid="{7041EB6F-2023-4D19-90D2-EE9101C71E44}" Directory="WebsiteFolder" Permanent="yes"> <Condition>IISMAJORVERSION = "#5"</Condition> <iis:WebSite Id="IISSite5" Description="[IISSITE_NAME]" Directory="WebsiteFolder" ConfigureIfExists="yes"> <iis:WebAddress Id="IISSiteAddress5" Port="[IISSITE_PORT]" /> <iis:WebApplication Id="IISSiteApplication5" Name="[PRODUCT_FAMILY]" Isolation="medium" /> </iis:WebSite> </Component> When I build and run my MSI, it gives me the following error (snippet taken from the log file with LOGVERBOSE=1): ... WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 1023 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 2021 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/Root ID: 3001 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 1015 WriteMetabaseChanges: Creating ASP App: /LM/W3SVC/1/Root WriteMetabaseChanges: Error 0x8004e00f: failed to create web application: /LM/W3SVC/1/Root Error 26105. Failed to create web application. (-2147164145 /LM/W3SVC/1/Root ) MSI (s) (24!18) [12:42:39:460]: Product: MyProduct -- Error 26105. Failed to create web application. (-2147164145 /LM/W3SVC/1/Root ) WriteMetabaseChanges: Error 0x8004e00f: failed to create ASP App ... However, if I remove the attribute "Isolation" out of the iis:WebApplication element, it installs without any problem (snippet taken from the log file with LOGVERBOSE=1): ... WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 1023 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 2021 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/Root ID: 3001 WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/ ID: 1015 WriteMetabaseChanges: Creating ASP App: /LM/W3SVC/1/Root WriteMetabaseChanges: Writing Metabase Value Under Key: /LM/W3SVC/1/Root/ ID: 2102 ... This is reproducible both if iis:WebApplication is under iis:WebSite or not. Please, suggest. Thank you. -- Yan ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users