Vcl.CmAdmCtl.TCOMAdminCatalog.InstallApplication

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalog

説明

ファイルから COM+ アプリケーションやアプリケーションプロキシをインストールします。

InstallApplication を使用すると,以前に ExportApplication メソッドの呼び出しで保存したアプリケーションやアプリケーションプロキシをインストールできます。

bstrApplicationFile は,ExportApplication で作成したファイルの名前です。

bstrDestinationDirectory は,アプリケーションのコンポーネントをインストールするディレクトリです。このパラメータが nil(Delphi)または NULL(C++)の場合,InstallApplication はデフォルトのディレクトリを使用します。

lOptions は,アプリケーションをインストールする方法を変更するフラグのセットです。このパラメータは,以下のフラグの組み合わせになります。



フラグ 意味

0

アプリケーションファイルに保存されたユーザー設定をインストールしない

1

アプリケーションファイルに保存されたすべてのユーザー設定をインストールする

2

インストール先のディレクトリにすでに存在するファイルを上書きする



bstrUserId は,アプリケーションを実行するためのユーザー ID を指定します。このパラメータは,nil(Delphi)または NULL(C++)になります。

bstrPassword は,アプリケーションを実行するためのパスワードを指定します。このパラメータは,nil(Delphi)または NULL(C++)になります。

bstrRSN は,bstrApplicationFile がアプリケーションプロキシである場合にリモートサーバー名を指定します。

関連項目