Vcl.CmAdmCtl.TCOMAdminCatalog.ExportApplication

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExportApplication(const bstrApplIdOrName: WideString;  const bstrApplicationFile: WideString; lOptions: Integer);

C++

void __fastcall ExportApplication(const System::WideString bstrApplIdOrName, const System::WideString bstrApplicationFile, int lOptions);

Properties

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

Description

Exports a COM+ application or application proxy to a file for installation on other machines.

Use ExportApplication to create a file that the InstallApplication method can use to install a COM+ application or application proxy on other machines.

bstrApplIdOrName is the name or GUID that identifies the application to be exported.

bstrApplicationFile is the name of the file to which ExportApplication exports bstrApplIDOrName. This file name should include the file path. If you do not provide a file name, ExportApplication creates a file with the same name as the application in the default directory.

lOptions indicate how the application should be exported. The value of lOptions is a sum that represents a set of the following flags.



Flag Meaning

0

Do not export users with roles.

1

Export users with roles.

2

Export application as an application proxy.

4

Overwrite files.



If no option flags are provided, ExportApplication exports the specified COM+ application to an MSI file, without the users assigned to application roles.

See Also