AppId element
Application ID containing DCOM information for the associated application GUID. If this element is nested under a Fragment, Module, or Package element, it must be advertised.
Windows Installer references
Parents
Package, Module, Fragment, File, TypeLib, Component
Children
Remarks
When being used in unadvertised mode, the attributes in the AppId element correspond to registry values
under the [HKCR\AppID\{Id}]
key, as follows:
Id
: [HKCR\AppID`Id`]ActivateAtStorage
: [HKCR\AppID`Id`]/ActivateAtStorage="Y"Description
: [HKCR\AppID`Id`]/@="My AppId Description"DllSurrogate
: [HKCR\AppID`Id`]/DllSurrogate="C:\surrogate.exe"LocalService
: [HKCR\AppID`Id`]/LocalService="MyServiceName"RemoteServerName
: [HKCR\AppID`Id`]/RemoteServerName="MyRemoteServer"RunAsInteractiveUser
: [HKCR\AppID`Id`]/RunAs="Interactive User"ServiceParameters
: [HKCR\AppID`Id`]/ServiceParameters="-param"
Attributes
ActivateAtStorage (YesNoTypeUnion) : Set this value to 'yes' to configure the client to activate on the same system as persistent storage.
Advertise (YesNoTypeUnion) : Set this value to 'yes' in order to create a normal AppId table row. Set this value to 'no' in order to generate Registry rows that perform similar registration (without the often problematic Windows Installer advertising behavior).
Description (String) : Set this value to the description of the AppId. It can only be specified when the AppId is not being advertised.
DllSurrogate (String) : Set this value to specify that the class is a DLL that is to be activated in a surrogate EXE process, and the surrogate process to be used is the path of a surrogate EXE file specified by the value.
Id (Guid, required) : Set this value to the AppID GUID that corresponds to the named executable.
LocalService (String) : Set this value to the name of a service to allow the object to be installed as a Win32 service.
RemoteServerName (String) : Set this value to the name of the remote server to configure the client to request the object be run at a particular machine whenever an activation function is called for which a COSERVERINFO structure is not specified.
RunAsInteractiveUser (YesNoTypeUnion) : Set this value to 'yes' to configure a class to run under the identity of the user currently logged on and connected to the interactive desktop when activated by a remote client without being written as a Win32 service.
ServiceParameters (String) : Set this value to the parameters to be passed to a LocalService on invocation.