共用方式為


ICE36

ICE36 會驗證 Icon 數據表中的每個圖示至少都會列在 ARPPRODUCTICON 屬性或 類別ProgIdShortcut 數據表中。

在公告期間,安裝程式會在用戶計算機上 安裝 圖示數據表中列出的所有圖示。 在 Icon 數據表中使用未使用的圖示並不會防止安裝執行,不過,它不需要增加 .msi 檔案的大小,以及公告功能所需的時間和空間。

如果未在屬性或數據表中參考圖示,而且沒有提供UI在運行時間建立參考,您應該移除圖示以達到更好的效能。

結果

ICE36 會在 [圖示] 資料表中有圖示未在 ClassProgIdShortcut 數據表中,以及沒有 UI 提供在運行時間建立這類參考時,就會張貼訊息。

ICE36 會針對所示的範例報告下列錯誤。

Icon Bloat. Icon Icon4 is not used in the Class, Shortcut, or ProgID table. This adversely affects performance.

圖示表格 (部分)

名字 數據
Icon1 Control1
Icon2 Control2
Icon3 Control3
Icon4 Control4

 

ProgID 資料表 (部分)

ProgID
Property1

 

類別資料表 (部分)

CLSID
{3E469ABA-3644-11d2-8892-00A0C981B015}

 

捷徑 (部分)

捷徑 圖示_
Shortcut1 Icon2

 

ICE 參考