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

Reply via email to