簡體   English   中英

如何在Visual Studio 2005中使用Web安裝程序項目影響IIS屬性的配置

[英]How to affect configuration of IIS properties using Web Setup Project in Visual Studio 2005

我只是使用Visual Studio 2005中的Web安裝項目模板構建了setup.msi文件,以將我的Web應用程序部署到另一個Web服務器。

雖然工作正常,但會在目標Web服務器上產生一個新的虛擬目錄,這需要使用目標Web服務器上的INETMGR進行大量的自定義(即手動)配置步驟。

我注意到Web安裝項目提供了各種“編輯器”,例如“注冊表編輯器”,“用戶界面編輯器”等,但是找不到任何使我能夠自動執行配置任務的內容,例如:

- 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)

此項目模板是否可以進行這樣的自定義,或者在部署中是否應包含“ ReadMe.txt”之類的內容? 謝謝。

編輯: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.  

如何將“執行權限”從“僅腳本”更改為“腳本和可執行文件”

  1. 右鍵單擊安裝項目
  2. 選擇視圖>文件系統
  3. 選擇Web應用程序文件夾
  4. 編輯屬性“ ExecutePermission”

如何禁用“匿名訪問”並檢查“集成的Windows身份驗證”

我自己也在尋找相同的東西,但我認為它需要自定義操作。 查看http://www.codeproject.com/KB/install/SetIISettings.aspx

如何將specificfile.aspx設置為默認內容頁面(而不是default.aspx)

  1. 右鍵單擊安裝項目
  2. 選擇視圖>文件系統
  3. 選擇Web應用程序文件夾
  4. 編輯屬性“ DefaultDocument”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM