Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Installs a COM+ application or application proxy from the specified file.
HRESULT InstallApplication(
[in] BSTR bstrApplicationFile,
[in, optional] BSTR bstrDestinationDirectory,
[in, optional] long lOptions,
[in, optional] BSTR bstrUserId,
[in, optional] BSTR bstrPassword,
[in, optional] BSTR bstrRSN
);
[in] bstrApplicationFile
The name of the file containing the application to be installed.
[in, optional] bstrDestinationDirectory
Where to install the components. If this parameter is blank, the default directory is used.
[in, optional] lOptions
The option flags. This parameter can be one of the following values.
[in, optional] bstrUserId
The user ID under which to run the application.
[in, optional] bstrPassword
The password under which to run the application.
[in, optional] bstrRSN
A remote server name to use for an application proxy.
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
A fatal error occurred during installation. |
|
The application does not exist. |
|
An error occurred accessing one or more objects. |
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today