I am setting up a Web Deploy package from VS 2010, which will be sent to the client in the form of a .zip and run using a graphical interface (not a generated batch file).
The problem I am facing is that I have not yet figured out how the website is being deployed as the “root” website by default , since all the package efforts so far include the default virtual directory.
In IIS7 / 7.5:
- I am fine with a warning about this on the root site (as discussed in this question ). This still requires the manual step of the server administrator to delete the text.
- (Although I would not mind disabling the warning ...)
- The result created by VS 2010 is not suitable for the option "Import server or site package" from the root server, referring to the fact that it cannot, because it contains applications
- In the target environment, my best bet is not to populate App Pool service account values, etc.
In Visual Studio 2010, the “Website / IIS Application” field in the “Package / Publish Web Pages” settings:
- It will not allow an empty entry and by default there will be a default website / (Project) _deploy
- The setting for SiteName / cannot be transferred from the other end.
I noticed that in the (ProjectName) .SetParameters.xml file unloads the .zip file for deployment if it contains the correct parameter (which works when launched from the command line)
<setParameter name="IIS Web Application Name" value="WebsiteName/" />
, IIS?