WebSphere Software のアップデート・インストーラーを使用してサービスをアン インストールするために、応答ファイルを使用することができます。
オプションの応答ファイルを使用して、サイレントに更新をアンインストールします。
uninstall.txt ファイルには、サービス・アップデートをアンイン ストールするためのバックアップ・ファイルを識別するディレクティブが 1 つ含 まれています。 ファイル内のコメントには、ストリング値の設定方法が説明されています。
./update -options "responsefiles/myresponsefile.txt" -silent
サンプル・オプション応答ファイルは uninstall.txt とい う名前になっています。 このファイルは Update Installer for WebSphere Software を WebSphere ソフトウェア製品 のインストール・ルート・ディレクトリーに unzip した後で install_root/updateinstaller/responsefiles ディレクトリーに置かれます。
update -options "myresponsefile.txt" -silent
サイレント・アンインストールでは、応答ファイル妥当性検査はインストールされたシ ステムにコーディングされています。 妥当性検査にパスしない場合は、install_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
opt/properties/version/update/backup/maintenance_package_to_install
他の製品から保守をアンインストールすることは可能ですが、アップデート・インストーラー・ウィ ザードは、常に、更新する製品のディレクトリー構造内で使用してください。 本当に必要な場合を除き、このディレクティブを使用しないでください。
/opt/IBM/WebSphere/ProcServer2
################################################################################ # # 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"