Vcl.CmAdmCtl.TCOMAdminCatalog.InstallApplication

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InstallApplication(const bstrApplicationFile: WideString;  const bstrDestinationDirectory: WideString; lOptions: Integer;const bstrUserId: WideString; const bstrPassword: WideString; const bstrRSN: WideString);

C++

void __fastcall InstallApplication(const System::WideString bstrApplicationFile, const System::WideString bstrDestinationDirectory, int lOptions, const System::WideString bstrUserId, const System::WideString bstrPassword, const System::WideString bstrRSN);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalog

Description

Installs a COM+ application or application proxy from a file.

Use InstallApplication to install an application or application proxy that was previously saved by a call to the ExportApplication method.

bstrApplicationFile is the name of the file created by ExportApplication.

bstrDestinationDirectory is the directory where the components in the application should be installed. If this parameter is nil (Delphi) or NULL (C++), InstallApplication uses the default directory.

lOptions is a set of flags that modify how the application is installed. It is a sum of 0 or more of the following flags:



Flag Meaning

0

Don't install any users saved in the application file.

1

Install all users that are saved in the application file.

2

Overwrite any files that already exist in the target directory.



bstrUserId specifies the user ID under which to run the application. This value can be nil (Delphi) or NULL (C++).

bstrPassword specifies the password under which to run the application. This value can be nil (Delphi) or NULL (C++).

bstrRSN specifies the remote server name when bstrApplicationFile is an application proxy.

See Also