Improve Your Technology

Just another blog for techology

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  

  1. 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
  2. Right-click the COM+ Applications folder, point to New, and then click Application.
  3. In the initial dialog box for the COM+ Application Install Wizard, click Next.
  4. In the Install or Create a New Application dialog box, click Install pre-built application(s).
  5. 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.
  6. In the Select Application Files dialog box, click Add to browse for any additional application proxies you want to install and then click Next.
  7. In the Application Installation Options dialog box, specify the directory in which to install the COM+ application proxy and then click Next.  
    1. 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>

  1. You can either accept the default directory or click Specific directory and Browse to search for another location.
  2. Note   To perform this procedure, you must have write access to the installation directory.
  3. 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  

  1. On the client computer, locate the application proxy file (.msi) by using Windows Explorer. This file can reside locally or on a network share.
  2. 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 

  1. REMOTESERVERNAME = <new target server>: Changes the server to which the client computer connects, from the exported default to the specified new target server.
  2. ALLUSERS = 0 : Installs the application proxy only for the current user. By default, the application proxy is installed machine-wide.
  3. TARGETDIR = <target installation directory>: Changes the installation directory for the COM+ application from the default to the specified directory.

May 16, 2009 - Posted by | Installing COM+ Application Proxies, MTS, Technology |

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: