RAD Studio VCL Reference
TCOMAdminCatalog.ExportApplication Method

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

procedure ExportApplication(const bstrApplIdOrName: WideString; const bstrApplicationFile: WideString; lOptions: Integer);
__fastcall ExportApplication(const BSTR bstrApplIdOrName, const BSTR bstrApplicationFile, int lOptions);

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.

Do not export users with roles.  
Export users with roles.  
Export application as an application proxy.  
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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!