Modifying COM+ proxy applications

Posted on 2004-10-11
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 500 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.

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.


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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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