I just built a setup.msi file using the Web Setup Project template within Visual Studio 2005 to deploy my web application to another web server.
While it works OK, it results in a new virtual directory on the target webserver that requires a fair bit of custom (i.e. manual) configuration steps using INETMGR on the target webserver.
I've noticed the Web Setup Project provides for various "editors" such as "Registry Editor", "User Interface Editor", etc. but I could not find anything that enables me to automate configuration tasks such as:
- How to change "Execute permissions" from "Scripts only" to "Scripts and Executables"
- How to disable "Anonymous access" and check "Integrated Windows authentication"
- How to set a particularfile.aspx as the default content page (instead of default.aspx)
Are customizations like this possible with this project template or should I include something like a "ReadMe.txt" in the deployment? Thanks.
EDIT: 09/09/09
- How to add a Path such that installing user can put the code somewhere other than c:\inetpub\wwwroot\
That is, when the .msi runs, the only choice for "Site" is "Default Web Site" and it cannot be changed at install time.
NOTE: My development PC (where my Web Setup Project is) runs Windows XP and thus IIS 5.1; I do not see any properties exposed for the Web Application Folder that look appropriate; only something called Property with a value called TARGETDIR.