Share via


ICE63

ICE63 會檢查 RemoveExistingProducts 動作的適當排序。 RemoveExistingProducts 巨集指令可能會放置:

  1. InstallValidate 與 InstallInitialize 之間
  2. 如果 InstallInitialize 與 RemoveExistingProducts 之間的動作不會產生任何腳本動作,則緊接在 InstallInitialize 之後或 InstallInitialize 之後。
  3. 在 InstallExecute 或 InstallExecuteAgain 之後,以及在 InstallFinalize 之前, (與上述相同的限制套用) 。
  4. InstallFinalize 之後。

無法修正 ICE63 回報的警告或錯誤,會導致升級失敗。

結果

如果 RemoveExistingProducts 動作的排序不正確,ICE63 會張貼警告或錯誤。

範例

ICE63 會針對顯示的範例報告下列錯誤。

WARNING: Some action falls between InstallInitialize and RemoveExistingProducts.

'MyCustomAction' 動作發生在 InstallInitialize 和 RemoveExistingProducts 之間。 如果 MyCustomAction 在腳本中產生任何動作,這會導致安裝中發生問題。

若要修正此錯誤,請確認 MyCustomAction 不會產生任何腳本動作或重新設定動作。

InstallExecuteSequence 資料表

動作 條件 順序
InstallInitialize 1000
MyCustomAction 1010
RemoveExistingProducts 1020

 

ICE 參考