Visual Studio 2005でWebセットアッププロジェクトを使用してIISプロパティの構成に影響を与える方法
-
22-09-2019 - |
質問
Visual Studio 2005内のWebセットアッププロジェクトテンプレートを使用してSetup.msiファイルを構築し、Webアプリケーションを別のWebサーバーに展開しました。
正常に動作しますが、ターゲットWebサーバーの新しい仮想ディレクトリになり、ターゲットWebServerでINETMGRを使用して、かなりのカスタム(IEマニュアル)構成ステップが必要です。
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.
解決
「アクセス権の実行」を「スクリプトのみ」から「スクリプトと実行可能ファイル」に変更する方法
- セットアッププロジェクトを右クリックします
- 表示]> [ファイルシステム]を選択します
- Webアプリケーションフォルダーを選択します
- プロパティを編集する「executepermission」
「匿名アクセス」を無効にし、「統合されたWindows認証」を確認する方法
私は自分で同じことを探していますが、カスタムアクションが必要だと思います。チェックアウト http://www.codeproject.com/kb/install/setiisettings.aspx
speciealfile.aspxをデフォルトのコンテンツページとして設定する方法(default.aspxの代わりに)
- セットアッププロジェクトを右クリックします
- 表示]> [ファイルシステム]を選択します
- Webアプリケーションフォルダーを選択します
- プロパティの編集「DefaultDocument」
所属していません StackOverflow