Feature Requests item #1437779, was opened at 2006-02-23 23:51
Message generated for change (Comment added) made by ferrysoft
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1437779&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: extensions
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Mike Green (ferrysoft)
Assigned to: Nobody/Anonymous (nobody)
Summary: Capability to set ASP.NET version in IIS via Custom Action
Initial Comment:
Background:
When the .NET Framework 2.0 is installed, it has the
effect of extending the Properties window for web
sites within IIS with an ASP.NET version selection
drop-down.
In effect, the ASP.NET version number becomes a new
property of each web site and each virtual directory
within IIS.
Proposal:
It would be useful if the WiX schema and the WiX
Server Custom actions could be extended to allow the
ASP.NET version number property fields described
above to be easily set.
If this feature request was implemented then there
would be some subtleties to cater for. For example,
should the ASP.NET version be explicitly set on a
virtual directory if the requested version is the
same as the version implied by its parent web site? A
second example, how should an ASP.NET version number
authored via WiX that doesn’t match an installed
version of .NET on the target computer be handled?
It is obviously better to deal with these issues once
within the WiX Server Custom actions than it is to
deal with them repeatedly with ad-hoc alternative
solutions.
----------------------------------------------------------------------
>Comment By: Mike Green (ferrysoft)
Date: 2007-10-08 17:56
Message:
Logged In: YES
user_id=1108842
Originator: YES
Here is a more specific suggestion to implement this feature request.
Add a new attribute to the Iis Schema WebApplication element, named
NetFrameworkVersion.
Allow WebApplication/@NetFrameworkVersion to be set to any allowable
version. For example, “1.1.4322”, “2.0.50727” etc.
The IIsExtension could implement this by implicitly including the
necessary WebApplicationExtension elements, depending on the value of
WebApplication/@NetFrameworkVersion. The necessary WebApplicationExtension
elements would need to be determined for each allowable Net Framework
version. However, currently the most common need is to set the ASP.NET
version to 2.0.50727. According to the wix-users mailing list, this can be
achieved via a registry lookup and the following WebApplicationExtension
elements:
<Property Id="NETFRAMEWORKROOT" Secure="yes">
<RegistrySearch Id="NetFrameworkRoot" Root="HKLM"
Key="SOFTWARE\Microsoft\.NETFramework" Name="InstallRoot" Type="raw" />
</Property>
<iis:WebApplicationExtension Extension="ad" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="adprototype" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="asax" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="ascx" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="ashx" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="asmx" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="aspx" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="axd" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="browser" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="cd" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="compiled" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="config" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="cs" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="csproj" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="dd" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="exclude" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="java" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="jsl" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="ldb" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="ldd" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="lddprototype" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="ldf" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="licx" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="master" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="mdb" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="mdf" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="msgx" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="refresh" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="rem" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="resources" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="resx" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="sd" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="sdm" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="sdmDocument" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="sitemap" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="skin" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="soap" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="svc" CheckPath="no" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="vb" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="vbproj" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="vjsproj" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="vsdisco" CheckPath="no"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
<iis:WebApplicationExtension Extension="webinfo" CheckPath="yes"
Script="yes" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1437779&group_id=105970
-------------------------------------------------------------------------
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-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs