応答ファイルを使用して、サイレントに更新をインストールすることができます。
install.txt ファイルは、サービス・アップデートをインストールするためのバックアップ・ファイルを識別する 1 つのディレクティブを持っています。 ファイルのコメントには、ストリング値を設定する方法が記載されています。
Update Installer for WebSphere Software ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。以下のコマンドでは、myresponsefile.txt という名前の サイレント・インストール用のオプション・ファイルのコピーを使用します。
./update -options "responsefiles/myresponsefile.txt" -silent
-silent オプションを使用しない場合は、応答ファイルがグラフィカル・インターフェースの初期値を提供します。
サンプルの応答ファイルは、install.txt という名前 です。 このファイルは、WebSphere ソフトウェア製品のインストール・ルート・ディレクトリー内に Update Installer for WebSphere Software を unzip した後に、install_root/updateinstaller/responsefiles ディレクトリー内にあります。
オプション・ファイルは、サイレントにインストールするとき、アップデート・インストーラー・ウィザードに値を提供します。ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。 以下のコマンドでは、myresponsefile.txt という名前の サイレント・インストール用のオプション・ファイルのコピーを使用します。
update -options "myresponsefile.txt" -silent
サイレント・インストールでは、応答ファイル妥当性検査はインストール内へコード化されます。 妥当性検査がパスしない場合は、install_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
################################################################################ # # This is the silent install response file for installing maintenance packages # using the update installer. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, *uncomment* and modify the parameters defined within. # # Use the following command line when running the wizard from the update # installer directory: # # update -options responsefiles/install.txt -silent # ################################################################################ ################################################################################ # # Used to input the maintenance package full filename specification to be installed. # Edit as appropriate. # # ie. -W maintenance.package="C:¥Program Files¥IBM¥WebSphere¥ProcServer¥ # updateinstaller¥maintenance¥PQ20029.pak" # # Note: If no package is specified, a default of the last downloaded maintenance # package will be used (based on timestamp). # #-W maintenance.package= ################################################################################ # # Used to modify the product install location that will be updated. # This value should be left commented out if the Update Installer is # being run from the recommended location # # ie. -W product.location="C:¥Program Files¥IBM¥WebSphere¥ProcServer" # # Note: If no location is specified, the parent directory to update installer # will be used as default # #-W product.location="" ################################################################################ # # Do not edit these values. # # -W update.type="install"
(c) Copyright IBM Corporation 2005, 2006. All rights reserved.
(c) Copyright IBM Japan 2006
このインフォメーション・センターでは、Eclipse テクノロジー (http://www.eclipse.org) が採用されています。