Visual Studio 2005 のセットアッププロジェクトでインストーラを作成したはいいのですが、 インストール中に行うファイアウォールの設定が、Windows Vista ではどうしてもうまくできませんでした。 ですが、管理者特権でインストーラを起動することでうまく設定できるようになりました。 インストールするプログラムを作成する 簡単なプログラムを作成します。インストール中にファイアウォールの設定をするので、 うまく設定できたことを確認できるように、サーバソケットを扱うプログラムにします。 なお、参考までに以下にウィザードでの設定画面の一部を示しますが、設定値はサンプルのプログラム用であり、 参考にする必要はありません。お好きに設定してください。 また、ついでなのでと書いてみたものの本旨ではないのに説明がだらだらと長いです。 インストールするプログラムはわざわざ作らなくても構