ICE 102
驗證 MsiServiceConfig 和 MsiServiceConfigFailureActions 數據表。
確認 MsiServiceConfig 和 MsiServiceConfigFailureActions 數據表中的 Event 數據行中的值 msidbServiceConfigEventInstall、msidbServiceConfigEventUninstall或 msidbServiceConfigEventReinstall。 確認 MsiServiceConfig 和 MsiServiceConfigFailureActions 數據表中Component_數據行中的值是 元件數據表的有效索引鍵。
確認 MsiServiceConfig 數據表的 ConfigType 資料行值是否為其中一個允許的值。
確認 MsiServiceConfigFailureActions 數據表的 Actions 和 Delayed Actions 數據行中的值是以 [~] 分隔。 確認 Actions 數據行中列出的值數目,以及 MsiServiceConfigFailureActions 數據表每個數據列中 [延遲動作] 數據行中列出的值數目都相同。
如果 MsiServiceConfig 數據表中 ConfigType 欄位中的值SERVICE_CONFIG_DELAYED_AUTO_START Argument 字段中的值必須是 0 或 1。
如果 MsiServiceConfig 數據表中的 ConfigType 欄位中的值SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO Argument 字段中的值必須包含有效的字串串,Privilege Constants。
如果 MsiServiceConfig 資料表中的 ConfigType 欄位中的值SERVICE_CONFIG_SERVICE_SID_INFO 自變數欄位中的值必須 SERVICE_SID_TYPE_NONE、SERVICE_SID_TYPE_RESTRICTED或 SERVICE_SID_TYPE_UNRESTRICTED。
如果 MsiServiceConfig 數據表中的 ConfigType 欄位中的值SERVICE_CONFIG_PRESHUTDOWN_INFO Argument 字段中的值必須是正數或空白。 如果 MsiServiceConfig 數據表中 ConfigType 欄位中的值 SERVICE_CONFIG_FAILURE_ACTIONS_FLAG Argument 字段中的值必須包含 0 或 1。
Windows Installer 4.5 或更早版本:不支援。 從 Windows Installer 5.0 開始,即可使用此 ICE。
結果
ICE102 會張貼下列錯誤。
ICE102 錯誤 | 描述 |
---|---|
在 MsiServiceConfig 數據表專案 (MsiServiceConfig = )[1]中,ConfigType =%d 不是有效的參數。 它應介於 3 到 7 之間。 | MsiServiceConfig 數據表的 [設定] 字段 不包含其中一個允許的值。 |
在 MsiServiceConfig 數據表專案 (MsiServiceConfig = )[1]中,Argument =%s 不是有效的 %s 參數。 它應該 %s。 | MsiServiceConfig 數據表的 Argument 欄位 不包含其中一個允許的值。 |
在 MsiServiceConfigFailureActions 數據表專案 (MsiServiceConfigFailureActions = )[1], Actions=[3] 不是有效的參數。 它應該是 Null 分隔的非負整數清單。 | MsiServiceConfigFailureActions 的 Actions 字段不包含正整數數位。 以 [~] 分隔陣列中的值。 |
在 MsiServiceConfigFailureActions 數據表專案 (MsiServiceConfigFailureActions = )[1]中,DelayActions=[4] 不是有效的參數。 它應該是 Null 分隔的非負整數清單。 | MsiServiceConfigFailureActions 的 DelayActions 字段不包含正整數數位。 以 [~] 分隔陣列中的值。 |
在 MsiServiceConfigFailureActions 數據表專案 (MsiServiceConfigFailureActions = )[1]中,Actions 數目 (=%d) 不等於 DelayActions 的數目 (=%d)。 它們應該相等。 | MsiServiceConfigFailureActions 數據表的 Actions 和 DelayAction s 字段中的項目數目不相等。 這些陣列中的元素數目應該相同。 |
ICE102 會張貼下列警告。
ICE104 警告 | 描述 |
---|---|
在 MsiServiceConfig 數據表專案 (MsiServiceConfig = )[1]中,自變數字段會保留空白。 將會使用預設 preshutdown 值 180000 | 時間延遲為 180000 毫秒,因為 MsiServiceConfig 數據表的 Argument 字段 空白。 |
在 MsiServiceConfigFailureActions 數據表專案 (MsiServiceConfigFailureActions = )[1]中,ResetPeriod 會保留空白。 它會取代為 INFINITE。 | 失敗計數永遠不會重設,因為 MsiServiceConfigFailureActions 的 ResetPeriod 字段 是空白的。 |