共用方式為


ICE63

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

  1. 在 InstallValidate 與 InstallInitialize 之間
  2. 在 InstallInitialize 之後或 InstallInitialize 之後,如果 InstallInitialize 和 RemoveExistingProducts 之間的動作不會產生任何腳本動作,則緊接在 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 參考