IsolatedComponent 表

IsolatedComponent 表的每条记录将 Component_Application 列中指定的组件(通常是 .exe)与 Component_Shared 列中指定的组件(通常是共享 DLL)相关联。 IsolateComponents 操作将 Component_Shared 的副本安装到专用位置以供 Component_Application 使用。 这会将 Component_Application 与可能安装到计算机上的共享位置的 Component_Shared 的其他副本隔离开。 请参阅独立组件

若要将一个 Component_Shared 链接到多个Component_Application,请在 IsolatedComponents 表中为每对添加单独的记录。 安装程序会将 Component_Shared 的文件复制到已安装的每个Component_Application 的目录中。

IsolatedComponent 表具有以下列。

类型 密钥 Nullable
Component_Shared Identifier Y N
Component_Application Identifier Y N

 

Component_Shared

组件表的外键。 包含共享文件的组件,通常是 DLL。 DLL 应是此组件的密钥文件。 此组件必须不同于 Component_Application 列中列出的组件。

共享组件控制组件的所有独立副本的注册,并且必须在 Component 表的 Attributes 列中设置 msidbComponentAttributesSharedDllRefCount 标志。 这可确保安装程序可以管理共享组件的生命周期。

Component_Application

组件表的外键。 一个组件,其中包含用于加载共享文件的 .exe。 .exe 应是此组件的密钥文件。 此组件必须不同于 Component_Shared 列中列出的组件。

验证

ICE03
ICE06
ICE32
ICE62
ICE66
ICE97