Is it possible to register an IIS Isapi mapping to a setup project?
It would be helpful, for example, to deploy an asp.net mvc application in iis 6 without additional steps. In this case, I would like to register a map for "* .mvc" for the asp.net handler C: \ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_isapi.dll
+2
Hugo zapata
source
to share
1 answer
Assuming you are using Wix and xmlns: iis = "http://schemas.microsoft.com/wix/IIsExtension" is defined in your Wix item, this should work:
<iis:WebApplicationExtension Extension="mvc" CheckPath="yes" Script="yes"
Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST,DEBUG" />
Please note the [NETFRAMEWORKROOT] property, I will not rely on C: \ WINDOWS.
FWIW, we put this inside the iis: WebApplication element of the iis: WebVirtualDir element.
+2
si618
source
to share