It sounds to me like a bug. Please file one - don't forget to copy all the 
helpful information (version information, sample authoring + log failure 
messages) from your mail into the bug.

Thanks,
Mike Carlson

-----Original Message-----
From: Duncan Kelbie [mailto:duncan.kel...@neuralt.com] 
Sent: Thursday, November 05, 2009 3:54 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IIS7 and WiX 3.5.1023.0

Hi,

 

I need to install a virtual dir on IIS 7. When using WiX 3.5.1002.0 it
all worked except the virtual directory names were not getting resolved
so they were being set to my property names e.g.
[WEBPAGEVIRTUALDIRECTORY]. I thought this was fixed in WiX 3.5.1.023.0
so I upgraded but then the installation failed and I got a bunch of
errors. I found that it fails on both IIS7 and IIS6. Is this a bug or am
I doing something wrong? It worked great when installing to IIS6 using
version 3.0 of WiX. The errors I get are (when installing to IIS7):

 

WriteIIS7ConfigChanges:  Error 0x800700b7: Failed add
isapiCgiRestriction element

WriteIIS7ConfigChanges:  Error 0x800700b7: Failed to configure IIS web
svc ext

WriteIIS7ConfigChanges:  Error 0x800700b7: WriteIIS7ConfigChanges Failed

MSI (s) (E0:20) [11:03:54:402]: Error in rollback skipped. Return: 5

 

And the WiX code is:

 

    <iis:WebApplication Id="WebApplication" AllowSessions="yes"
Isolation="medium" Buffer="yes" ClientDebugging="no"
DefaultScript="VBScript" Name="MyApp" ServerDebugging="no">

      <iis:WebApplicationExtension Extension="asmx" CheckPath="no"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />

      <iis:WebApplicationExtension Extension="aspx" CheckPath="no"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />

      <iis:WebApplicationExtension Extension="axd" CheckPath="no"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />

      <iis:WebApplicationExtension Extension="config" CheckPath="yes"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />

      <iis:WebApplicationExtension Extension="svc" CheckPath="yes"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />

    </iis:WebApplication>

    <iis:WebSite Id="DefaultWebSite" Description="Default Web Site">

      <iis:WebAddress Id="AllUnassigned" Port="80" />

    </iis:WebSite>

    <DirectoryRef Id="TARGETDIR">

      <Component Id="MyWebServiceComponent" Guid="<removed>">

        <iis:WebVirtualDir Id="WebPagesVirtualDir"
Alias="[WEBPAGEVIRTUALDIRECTORY]" Directory="INSTALLLOCATION"
WebSite="DefaultWebSite" WebApplication="WebApplication">

          <iis:WebDirProperties Id="WebDefaultDir"
DefaultDocuments="MyService.svc" AnonymousAccess="yes" Read="yes"
Write="no" Script="yes" Index="no"/>

        </iis:WebVirtualDir>

        <iis:WebServiceExtension Id="AspNetExt" Allow="yes"
File="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll" Description="ASP.NET
v2.0.50727" UIDeletable="no"></iis:WebServiceExtension>

      </Component>

    </DirectoryRef>

 

Cheers


_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed 
Scanning Services - powered by MessageLabs. For further information visit 
http://www.verizonbusiness.com/uk
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to