大网数据广告活动
安装更新与部署

AppId Table

· 52CE 我爱测

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.

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.

  • Run the DCOM server under a different identity than the user activating the server. For example, to configure a DCOM server to always run as an interactive user or as a predefined user.
  • Run the DCOM server as a service.
  • Configure the default security access for the DCOM server.
  • Register the DCOM server such that it is activated on a different computer.

This table is processed at the installation of the component associated with the DCOM server in the _Component column of the Class table. An AppId is not advertised.

The AppId table has the following columns.

Column Type Key Nullable
AppId GUID Y N
RemoteServerName Formatted N Y
LocalService Text N Y
ServiceParameters Text N Y
DllSurrogate Text N Y
ActivateAtStorage Integer N Y
RunAsInteractiveUser Integer N Y

Columns

AppId

The AppId column of the Class table is a foreign key into this column of the AppId table. This column contains the AppId value that will be written under the CLSID and creates the AppId GUID key under HKCR\AppId.

RemoteServerName

This column contains the value of "RemoteServerName"=<xxxx> that will be written under HKCR\AppID\{AppID}\ .

LocalService

This column contains the value of LocalService that will be written under HKCR\AppID\{<appid>} "LocalService"=<xxx>.

ServiceParameters

This column contains the value of ServiceParameters that will be written under HKCR\AppID\{appid>} "ServiceParameters".

DllSurrogate

This column contains the value of DllSurrogate that will be written under HKCR\AppId\{<appid>} "DllSurrogate"=<xxx>. If this column is present it will typically be an empty string.

ActivateAtStorage

A non-zero integer value in this field causes Windows Installer to write HKCR\AppID\{<appid>} "ActivateAtStorage"="Y" into the registry. If the field is left empty, or has a value of zero, no value will be written.

RunAsInteractiveUser

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

This table is used by the RegisterClassInfo action and UnregisterClassInfo action.

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

ICE03
ICE06
ICE32
ICE33
ICE46
ICE69

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。