Is it possible to register an IIS Isapi mapping to a setup project?
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
source to share