無聲自動安裝指令

您可以利用這份參照表來進一步瞭解無聲自動安裝期間所用的回應檔指令。
回應檔指令 說明

set profile

<profile
id="the profile id"
installLocation="the install location of the profile">
</profile>
請利用這個指令來建立安裝位置。 如果指定的安裝位置已存在,指令便沒有作用。 目前,當建立設定檔時,無聲自動安裝也會建立兩個安裝環境定義;Eclipsenative 各一個。 設定檔是一個安裝位置。

set repositories

<server>
<repository location="http:/xxx/repository/">
<repository location=”file:/C:/repository/”>
<!—add more repositories below-->
<…>
      </server>
請利用這個指令來指定無聲自動安裝期間所用的儲存庫。 每個儲存庫位置都可以是 URL 或檔案路徑。

install

<install>
<offering profile= "profile id" features= "feature ids"
id= "offering id" version= "offering version"></offering>

<!—add more offerings below>
<…>

</install>
請利用這個指令來指定要安裝的安裝套件。

設定檔 ID 必須符合現有的設定檔,或 set profile 指令所指定的設定檔。

您可以選擇性地利用逗點區隔的清單來指定若干特性 ID,例如 "feature1, feature2”等。 如果未指定任何特性 ID,便會安裝指定供應項目中的所有預設特性。

註: 即使逗點區隔的清單未明確指定必要的特性,安裝作業也會包含這些特性。

uninstall

<uninstall>
<offering profile= "profile id" features= "feature ids"
id= "offering id" version= "offering version"></offering>

<!—add more offerings below>
<…>

</uninstall>
請利用這個指令來指定要解除安裝的安裝套件。

設定檔 ID 必須符合現有的設定檔,或 profile 指令所指定的設定檔。 另外,如果未指定任何特性 ID,便會解除安裝指定供應項目中的所有特性; 如果未指定任何供應項目 ID,便會解除安裝指定設定檔中所有已安裝的供應項目。

installAll

<installALL/>
註: 這個指令相當於使用
–silent –installAll 
.
請利用這個指令來無聲地搜尋和安裝所有可用的可安裝套件。

updateAll

<updateALL/>
註: 這個指令相當於使用
–silent –updateAll 
.
請利用這個指令來無聲地搜尋和更新所有可用的可安裝套件。

意見