AppId 表AppId Table

AppId 表或 注册表表 指定安装程序在安装过程中配置并注册 DCOM 服务器来执行以下操作之一。The AppId table or the Registry table specifies that the installer configure and register DCOM servers to do one of the following during an installation.

  • 使用不同于激活服务器的用户身份运行 DCOM 服务器。Run the DCOM server under a different identity than the user activating the server. 例如,要将 DCOM 服务器配置为始终以交互用户或预定义的用户身份运行。For example, to configure a DCOM server to always run as an interactive user or as a predefined user.
  • 以服务的形式运行 DCOM 服务器。Run the DCOM server as a service.
  • 配置 DCOM 服务器的默认安全访问权限。Configure the default security access for the DCOM server.
  • 注册 DCOM 服务器,使其在另一台计算机上激活。Register the DCOM server such that it is activated on a different computer.

此表将在与 "类" 表的 "组件" 列中与 DCOM 服务器关联的组件的安装过程中进行处理 _ 。 This table is processed at the installation of the component associated with the DCOM server in the _Component column of the Class table. 不公布 AppId。An AppId is not advertised.

AppId 表包含以下列。The AppId table has the following columns.

Column 类型Type Key NullableNullable
AppIdAppId GUIDGUID YY NN
RemoteServerNameRemoteServerName Formatted NN YY
LocalServiceLocalService 文本Text NN YY
ServiceParametersServiceParameters 文本Text NN YY
DllSurrogateDllSurrogate 文本Text NN YY
ActivateAtStorageActivateAtStorage 整数Integer NN YY
RunAsInteractiveUserRunAsInteractiveUser 整数Integer NN YY

Columns

AppIdAppId

类表的 appid 列是 appid 表的此列中的外键。The AppId column of the Class table is a foreign key into this column of the AppId table. 此列包含将在 CLSID 下写入并在 HKCR appid 下创建 AppId GUID 密钥的 AppId 值 \ 。This column contains the AppId value that will be written under the CLSID and creates the AppId GUID key under HKCR\AppId.

RemoteServerNameRemoteServerName

此列包含 "RemoteServerName" 的值,该值 将在 HKCR \ AppID \ {AppID} 下编写 \ 。This column contains the value of "RemoteServerName"= that will be written under HKCR\AppID\{AppID}\ .

LocalServiceLocalService

此列包含将在 HKCR \ AppID \ { } "LocalService" = 下编写的 LocalService 的值 。This column contains the value of LocalService that will be written under HKCR\AppID\{} "LocalService"=.

ServiceParametersServiceParameters

此列包含将在 HKCR \ appid \ {AppID>} "ServiceParameters" 下编写的 ServiceParameters 的值。This column contains the value of ServiceParameters that will be written under HKCR\AppID\{appid>} "ServiceParameters".

DllSurrogateDllSurrogate

此列包含将在 HKCR \ AppId \ { } "DllSurrogate" = 下编写的 DllSurrogate 的值 。This column contains the value of DllSurrogate that will be written under HKCR\AppId\{} "DllSurrogate"=. 如果该列存在,则它通常为空字符串。If this column is present it will typically be an empty string.

ActivateAtStorageActivateAtStorage

此字段中的非零整数值导致 Windows Installer 将 HKCR \ AppID \ { } "ActivateAtStorage" = "Y" 写入注册表。A non-zero integer value in this field causes Windows Installer to write HKCR\AppID\{} "ActivateAtStorage"="Y" into the registry. 如果该字段保留为空,或者值为零,则不会写入任何值。If the field is left empty, or has a value of zero, no value will be written.

RunAsInteractiveUserRunAsInteractiveUser

此字段中的非零整数值导致 Windows Installer 将 HKCR \ AppID \ {AppID>} "RunAs" = "Interactive User" 写入注册表。A non-zero integer value in this field causes Windows Installer to write HKCR\AppID\{appid>} "RunAs"="Interactive User" into the registry. 如果该字段保留为空,或者值为零,则不会写入任何值。If the field is left empty, or has a value of zero, no value will be written.

备注Remarks

此表由 RegisterClassInfo 操作UnregisterClassInfo 操作使用。This table is used by the RegisterClassInfo action and UnregisterClassInfo action.

请注意,AppId 表没有用于注册默认名称的列。Note that the AppId table does not have a column for registering a Default name. 因此,在需要将用户友好名称写入默认名称值的情况下,必须使用 注册表表进行注册。Therefore in cases where you need to write a user friendly name as the Default name value, you must register using the Registry table.

验证Validation

ICE03ICE03
ICE06ICE06
ICE32ICE32
ICE33ICE33
ICE46ICE46
ICE69ICE69