Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Modifying COM+ proxy applications

Posted on 2004-10-11
Medium Priority
Last Modified: 2010-04-14
I am working on a 3-tier web-fronted business system, where some support functionality is provided via desktop GUIs.  Communication with the application server (middle tier) is via components in COM+ packages which are exported and the proxies installed on the desktops using the MSIs generated.

At present, when we wish to issue a new software release, the COM+ packages are rebuilt and exported in production, and the proxies installed straight away.  However we are moving to a remote packaging paradigm, where the COM+ applications will need to be built and exported on a different build server, and the proxy MSIs sent away to be packaged at a remote location ready for install at the time of release.  My question is whether (and how) it is possible either using MST files or otherwise to modify, at a later stage, the MSIs created on the build server so that they point at the production server.  Will there be a problem with GUIDs not matching, etc?
Question by:Ed2003
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 12325935
You can create MSI on the build server to point to the product server. The way is you can use object viewer tool to change the object point to the product server.

. You have to use the same GUID.

Author Comment

ID: 12333099
I'm not sure that I understand this, but I'll have look at the COM+ console when I'm next at work and try to see what you mean.  I'll repost if necessary.  Please would you check out this thread again after 25/10/2004 - I'm off on holiday to Rome for the week!

Thanks very much for your help.

Accepted Solution

audreygz earned 2000 total points
ID: 12352065
If the build server is A, the product server is B. On the client machine, run the following command:
Msiexec /I xxx.msi RemoteServerName=B

Actually you can write one line install script to deploy it with your MSI proxy package.

Or you can use object viewer or DCOMCNFG change the COM+proxy location to point to the product server B.

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.


Author Comment

ID: 12401471
Thanks very much for this.  Can I clarify a little?  If I understand you correctly, we should create the COM+ proxies in the usual way using the export function in the COM+ console.  Then we can run msiexec from the command line either on the build server, or on the target workstation, and that will modify the msi file to point to the server specified in the command line argument?

The above will be fine for us, if you wouldn't mind just confirming that I've understood it correctly.  I was interested that you say the process can be carried out from DCOMCNFG. Our COM+ apps don't appear in the list in DCOMCNFG - all that is there is literally DCOM apps (ie ActiveX .exe files).

Expert Comment

ID: 12412139
You have to run this script on the client machine which is target workstation. You can ship this script with your client msi. So you use msiexec to install the msi and change remote server point to the server you specified.

In DCOMCNFG, you can find it using your GUID or progid. Some showing, some not. I am not exactly sure why.  

Author Comment

ID: 12419654
Worked like a dream!

Many thanks for your help.


Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question