応答ファイルを使用すると、Update Installer for WebSphere Software を用いてサービスをアンインストールできます。
応答ファイルを使用して、サイレントに更新をアンインストールします。
uninstall.txt ファイルは、サービス・アップデートをアンインストールするためのバックアップ・ファイルを識別する 1 つのディレクティブを持っています。 ファイルのコメントには、ストリング値を設定する方法が記載されています。
./update -options "responsefiles/myresponsefile.txt" -silent
サンプルの応答ファイルは、uninstall.txt と指 定されます。 ファイルは、WebSphere ソフトウェア製品のインストール・ルート ・ディレクトリー内に Update Installer for WebSphere Software を unzip した後に、install_root/updateinstaller/responsefiles ディレクトリー内にあります。
update -options "myresponsefile.txt" -silent
サイレント・アンインストールでは、応答ファイル妥当性検査はインストール内へコード化されます。 妥当性検査がパスしない場合は、install_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
################################################################################ # # This is the silent install response file for uninstalling 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/uninstall.txt -silent # ################################################################################ ################################################################################ # # Used to input the maintenance backup package filename to be uninstalled. # This is the same filename as the package that was originally installed. # A maintenance package can only be uninstalled if a backup package exists. # # ie. -W backup.package="PQ20029.pak" # # Note: If no package is specified, a default of the last installed maintenance # package will be used. # #-W backup.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="uninstall"
(c) Copyright IBM Corporation 2005, 2006.
このインフォメーション・センターには Eclipse テクノロジー (http://www.eclipse.org) が採用されています。