ICE94 會檢查 快捷鍵數據表、功能數據表,以及 MsiAssembly 數據表,並在全域程式集緩存中有任何未注意的快捷方式指向元件檔時張貼警告。 如果 [快捷方式] 數據表的 [目標] 字段中的專案不是功能數據表中的功能,則不會反轉快捷方式。 如果 Shortcut 數據表的 [Component_] 字段中的專案也列在 MsiAssembly 數據表中,快捷方式會指向元件檔案。 如果 MsiAssembly 數據表中File_Application欄位中的專案是空的,則元件檔案位於全域程式集緩存中。
結果
ICE94 會張貼下列警告。
| ICE94 警告 | 描述 |
|---|---|
| 未公告的快捷方式 '[2]' 會指向全域程式集緩存中的元件檔案。 | 不小心的快捷方式指向全域程式集緩存中的元件檔案。 |
例
ICE94 會報告下列範例的錯誤:
The non-advertised shortcut 'shortcut1' points to an assembly file in the global assembly cache.
捷徑 (部分)
| 捷徑 | 元件_ | 目標 |
|---|---|---|
| shortcut1 | c1 | [file1] |
| shortcut2 | c2 | feature1 |
| shortcut3 | c3 | [file2] |
功能資料表 (部分)
| 特徵 |
|---|
| feature1 |
MsiAssembly 資料表 (部分)
| 元件_ | File_Application |
|---|---|
| c1 | |
| c2 | |
| c3 | fa1 |
相關主題