IIS7 and WiX 3.5.1023.0

3 messages Options
Embed this post
Permalink
Duncan Kelbie

IIS7 and WiX 3.5.1023.0

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Mike Carlson (DEV DIV)

Re: IIS7 and WiX 3.5.1023.0

Reply Threaded More More options
Print post
Permalink
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:[hidden email]]
Sent: Thursday, November 05, 2009 3:54 AM
To: [hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-7

Re: IIS7 and WiX 3.5.1023.0

Reply Threaded More More options
Print post
Permalink
There were a lot of side effects of the code and some of it were reverted.
It'll be coming back but hopefully this time without all the bugs. Sorry for
the trouble in the mean time.

On Thu, Nov 5, 2009 at 4:23 PM, Mike Carlson (DEV DIV) <
[hidden email]> wrote:

> 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:[hidden email]]
> Sent: Thursday, November 05, 2009 3:54 AM
> To: [hidden email]
> 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
> [hidden email]
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users