ICOMAdminCatalog::InstallMultipleComponents method (comadmin.h)

Installs components from multiple files into a COM+ application.

Syntax

HRESULT InstallMultipleComponents(
  [in] BSTR      bstrApplIDOrName,
  [in] SAFEARRAY **ppsaVarFileNames,
  [in] SAFEARRAY **ppsaVarCLSIDs
);

Parameters

[in] bstrApplIDOrName

The GUID or name of the application.

[in] ppsaVarFileNames

An array of the names of the DLL files that contains the components to be installed.

[in] ppsaVarCLSIDs

An array of CLSIDs for the components to be installed.

Return value

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
S_OK
The method completed successfully.
COMADMIN_E_OBJECTERRORS
Errors occurred while accessing one or more objects.

Requirements

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

See also

ICOMAdminCatalog