Update Installer for WebSphere Software は、オプション応答ファイルを使用して、コマンド行インターフェースから 保守パッケージをアンインストールすることができます。
uninstall.txt ファイルは、サービス・アップデートをアンインストールするための バックアップ・ファイルを識別する 1 つのディレクティブを持っています。ファイルのコメントには、ストリング値を設定する方法が記載されています。
Update Installer for WebSphere Software ウィザードはオプション・ファイルを読み取って、アンインストールの選択を決定します。 アップデート・インストーラーは、グラフィカル・ユーザー・インターフェースを表示しないで、 サイレント・モードで保守パッケージをアンインストールします。
サンプルのオプション応答ファイルは、uninstall.txt と呼ばれます。 ファイルは、WebSphere ソフトウェア製品のインストール・ルート・ディレクトリー内に Update Installer for WebSphere Software を unzip すると、updi_root/responsefiles ディレクトリー内に入っています。
オプション・ファイルは、サイレントにアンインストールするとき、Update installer wizard への値を提供します。 ウィザードはオプション・ファイルを読み取って応答を判断しますが、グラフィカル・ユーザー・インターフェースは表示しません。
./update.sh -options "responsefiles/myresponsefile.txt" -silent
./update.sh -options "responsefiles/myresponsefile.txt"
サイレント・アンインストールでは、応答ファイル妥当性検査はアンインストール・プロセス内へ コード化されます。妥当性検査がパスしない場合は、 app_server_root/logs/update/tmp ディレクトリー内のログ・ファイルに失敗が記録されます。
/opt/properties/version/nif/backup/maintenance_package_to_uninstall
他の製品からの保守のアンインストールが可能であっても、 可能な場合には常時、更新する製品のディレクトリー構造から Update installer wizard を使用します。 例えば、製品 SDK の間にミスマッチが発生すると、問題が発生します。
絶対に必要でない限り、このディレクティブを使用しないでください。
/opt/IBM/WebSphere/AppServer2
################################################################################ # # 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 # # Please enclose all values within a single pair of double quotes. # ################################################################################ ################################################################################ # # 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¥AppServer" # # Note: The product install location should always been specified, and it should # always be the full path. # -W product.location="<SPECIFY_PRODUCT_INSTALL_LOCATION_HERE>" ################################################################################ # # Do not edit these values. # -W update.type="uninstall"