ProcessComponents 動作

ProcessComponents 巨集指令會註冊和取消註冊元件、其金鑰路徑,以及元件用戶端。 ProcessComponents 巨集指令會查詢 Component 資料表 的 KeyPath 資料行,以判斷索引鍵路徑。 MsiGetComponentPath會使用此註冊來傳回產品用戶端元件的路徑。

順序限制

ProcessComponents 巨集指令必須位於 InstallInitialize 動作之後。

ActionData 訊息

針對要註冊的每個元件。

欄位 動作資料的描述
 [1] ProductId
[2] ComponentId
[3] 元件的索引鍵路徑。

 

針對要取消註冊的每個元件。

欄位 動作資料的描述
 [1] ProductId
[2] ComponentId