RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalog.ExportApplication Method

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

Pascal
procedure ExportApplication(const bstrApplIdOrName: WideString; const bstrApplicationFile: WideString; lOptions: Integer);
C++
__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.

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!