Installing COM+ Application Proxies
After the application proxy is created as a Windows Installer (.msi) file, it is easy to install it on a client computer. Installing the application proxy provides the registration information needed for client applications to access the COM+ application remotely from the client computer.
Important You can install a COM+ application proxy on any computer that’s running the Windows Installer. The Windows Installer is automatically installed on all computers running Microsoft® Windows® 2000 or later and is available for computers running Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows NT® 4.0. However, if an application proxy requires the COM+ Queued Components service, this proxy can be installed only on a computer running Windows 2000 or later. The Queued Components service is available only on platforms that support Component Services.
To install a COM+ application proxy using the Component Services administrative tool
- In the console tree of the Component Services administrative tool, under Component Services, locate the COM+ Applications folder associated with the computer on which you want to install the application. Note If you have the COM+ Partitions service enabled, you can locate the COM+ Applications folder in the COM+ Partitions folder for the computer on which you want to install the application proxy. For more information about the COM+ Partitions service and instructions for enabling it on your system
- Right-click the COM+ Applications folder, point to New, and then click Application.
- In the initial dialog box for the COM+ Application Install Wizard, click Next.
- In the Install or Create a New Application dialog box, click Install pre-built application(s).
- 5.In the Install from application file dialog box, browse to select the .msi file for the application proxy you are installing and then click Open.
- In the Select Application Files dialog box, click Add to browse for any additional application proxies you want to install and then click Next.
- In the Application Installation Options dialog box, specify the directory in which to install the COM+ application proxy and then click Next.
- The application’s component files are copied from the .msi file to the installation directory. The default installation directory is:
b. %Program Files%\COMPlus Applications\<appid>
- You can either accept the default directory or click Specific directory and Browse to search for another location.
- Note To perform this procedure, you must have write access to the installation directory.
- Click Finish.
The hierarchy in the console tree now shows the new application in the detail pane. If you install multiple applications, the directory you choose in step 8 is used for all the applications.
To install a COM+ application proxy using Windows Explorer
- On the client computer, locate the application proxy file (.msi) by using Windows Explorer. This file can reside locally or on a network share.
- Double-click the application proxy file. You can also right-click the filename and then click Install. The Windows Installer automatically installs the application proxy on the client computer.
To install a COM+ application proxy using the command prompt
At the command prompt, type the following:
msiexec -i [<property overrides>] <application_name>.msi
In addition to the standard Windows Installer property overrides, you can specify the installer options described in the following table.
Installer option and Description
- REMOTESERVERNAME = <new target server>: Changes the server to which the client computer connects, from the exported default to the specified new target server.
- ALLUSERS = 0 : Installs the application proxy only for the current user. By default, the application proxy is installed machine-wide.
- TARGETDIR = <target installation directory>: Changes the installation directory for the COM+ application from the default to the specified directory.
