利用回應檔從分散式作業系統解除安裝 Liberty
您可以使用 Installation Manager 回應檔來解除安裝 WebSphere® Application Server Liberty Core。
開始之前
選用: 執行或記錄 Installation Manager 的安裝及產品的安裝至其中一個系統上的暫時安裝登錄,讓您可以使用此暫時登錄來記錄解除安裝,而無需使用 Installation Manager 的標準安裝登錄。
關於這項作業
使用 Installation Manager,您可以利用回應檔採用各種方式解除安裝產品。您可以使用如下列程序中所述的 GUI 來錄製回應檔,也可以手動產生新回應檔,或透過採用範例並對其進行修改來產生新回應檔。
程序

範例
以下是用於解除安裝產品的回應檔範例。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<uninstall modify='false'>
<offering id='com.ibm.websphere.liberty'
profile='WebSphere Liberty'/>
</uninstall>
<profile id='WebSphere Liberty'
installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
</profile>
</agent-input>
提示: 當解除安裝 WebSphere Application Server Liberty Core 套件時,您必須將相同套件群組之下,WebSphere Application Server Liberty Core 套件的所有延伸套件全部解除安裝。
使用 Installation Manager 的 IBM
SDK, Java™ Technology Edition for WebSphere Liberty 8.0 版,就是一項這類延伸。如果要解除安裝整個套件群組,只要從回應檔移除 <offering ../> 段落中的 id 屬性(上例中為 id='com.ibm.websphere.liberty')即可。Installation Manager 接著即會解除安裝該套件群組下的所有套件。