AppId 表
AppId 表或 注册表表 指定安装程序在安装过程中配置和注册 DCOM 服务器以执行以下作之一。
- 在与激活服务器的用户不同的标识下运行 DCOM 服务器。 例如,若要将 DCOM 服务器配置为始终作为交互式用户或预定义用户运行。
- 以服务的形式运行 DCOM 服务器。
- 配置 DCOM 服务器的默认安全访问。
- 注册 DCOM 服务器,使其在不同的计算机上激活。
此表是在安装与 类表_Component列中的 DCOM 服务器关联的组件时处理的。 未播发 AppId。
AppId 表包含以下列。
列 | 类型 | 钥匙 | 空 |
---|---|---|---|
AppId | GUID | Y | N |
RemoteServerName | 格式化 | N | Y |
LocalService | 文本 | N | Y |
ServiceParameters | 文本 | N | Y |
DllSurrogate | 文本 | N | Y |
ActivateAtStorage | 整数 | N | Y |
RunAsInteractiveUser | 整数 | N | Y |
列
-
AppId
-
类表 的 AppId 列是 AppId 表的此列中的外键。 此列包含将在 CLSID 下编写的 AppId 值,并在 HKCR\AppId 下创建 AppId GUID 密钥。
-
RemoteServerName
-
此列包含“RemoteServerName”=<xxxx> 的值,该值将在 HKCR\AppID\{AppID}\ 下写入。
-
LocalService
-
此列包含将在 HKCR\AppID\{<appid>} “LocalService”=<xxx>下写入的 LocalService 的值。
-
ServiceParameters
-
此列包含将在 HKCR\AppID\{appid>} “ServiceParameters” 下编写的 ServiceParameters 的值。
-
DllSurrogate
-
此列包含将在 HKCR\AppId\{<appid>} “DllSurrogate”=<xxx>下写入的 DllSurrogate 的值。 如果此列存在,它通常为空字符串。
-
ActivateAtStorage
-
此字段中的非零整数值会导致 Windows Installer 将 HKCR\AppID\{<appid>} “ActivateAtStorage”=“Y” 写入注册表。 如果字段留空或值为零,则不会写入任何值。
-
RunAsInteractiveUser
-
此字段中的非零整数值会导致 Windows Installer 将 HKCR\AppID\{appid>} “RunAs”=“Interactive User” 写入注册表。 如果字段留空或值为零,则不会写入任何值。
言论
RegisterClassInfo作 和 UnregisterClassInfo作使用此表。
请注意,AppId 表没有用于注册默认名称的列。 因此,如果需要将用户友好名称写入默认值,则必须使用 注册表表进行注册。
验证