Web Setup Projects make it simple to package and deliver a web application, but they have some drawbacks. One often mentioned is that the new website's scriptmaps are not necessarily set to ASP.Net 2.0, rendering the website unusable. Setting the scriptmaps from the command line or the IIS UI is not difficult
Similar Posts
The articles below describe how a Web Setup Project can be modified to set scriptmaps for the website it installs. This article describes the script used
To register the scriptmaps for our new web site in the Web Setup Project's MSI, we need to convert the available strings LM W3SVC 1 and WebSite1Setup into
We've set two installer properties REGIISPATH contains the full path name of aspnet_regiis.exe, and SRVRPATH contains the IIS metabase path to the new
Now that we know how to call aspnet_iisreg.exe all we need is its parameters. Executing aspnet_regiis indicates that we want -s Install scriptmaps for