Improve Your Technology

Just another blog for techology

Installing COM+ Server Applications

You can use the Component Services administrative tool to install COM+ server applications. To perform this procedure, you must be a member of the Administrator role on the target computer’s system application. In the default configuration, only local computer administrators are assigned to this role.

Important   You can install a COM+ server application only on computers running Microsoft® Windows® 2000 or later. A server application requires a platform that supports Component Services.

The minimum configuration for an application is one in which security is not required. If security is required for the application, use the Component Services administrative tool to set process-level security or add users to predefined roles after the application has been installed.

Note   To allow unauthenticated network users to run a COM+ application, the application roles must include the Anonymous user. In Windows Server 2003, by default, the Anonymous user is not included in the Every one group.

To install a COM+ server application 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 feature enabled, you can locate the COM+ Applications folder in the COM+ Partitions folder for the computer on which you want to install the application. For more information about the COM+ Partitions service and instructions for enabling it on your system

  1. Right-click the COM+ Applications folder, point to New, and then click Application.
  2. In the initial dialog box for the COM+ Application Install Wizard, click Next.
  3. In the Install or Create a New Application dialog box, click Install pre-built application(s).
  4. In the Install from application file dialog box, browse to select the .msi file for the application you are installing and then click Open.
  5. In the Select Application Files dialog box, click Add to browse for any additional applications you want to install and then click Next.
  6. In the Set Application Identity dialog box, specify the application identity and then click Next.

Note   The default selection is Interactive User. The interactive user is the user who is logged on to the Windows account for the computer that runs the application. You can select a different user by clicking This user and entering details for a specific Windows user or group.

  1. In the Application Installation Options dialog box, specify the directory in which to install the COM+ application and then click Next.

The application’s component files are copied from the .msi file to the installation directory. The default installation directory is:

   %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, the application identity specified in step 8 must have at least read access to the installation directory, and the person running the Component Services administrative tool during this process must have write access to the installation directory.

  1. Click Finish.

The hierarchy in the console tree now shows the new application in the detail pane. If you install multiple applications, the options you choose in steps 8 and 9 apply to all the applications.

To install a COM+ server application using Windows Explorer

  1. On the computer on which you want to install the COM+ application, locate the server application file (.msi) using Windows Explorer. The file can reside locally or on a network share.
  2. Double-click the server application file. You can also right-click the filename and then click Install. The Windows installer automatically installs the server application on the target computer.

To install a COM+ server application 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 following option to change the installation directory for the COM+ application from the default to the specified directory:

TARGETDIR = <target installation directory>

Alternatives to These Procedures

You can install a COM+ application by dragging an application file from Windows Explorer to the details pane of the Component Services administrative tool while the COM+ Applications folder of a computer is open.


May 14, 2009 Posted by | Installing COM+ Server Applications, MTS, Technology | , | Leave a comment