Solved

Modifying COM+ proxy applications

Posted on 2004-10-11
6
185 Views
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?
0
Comment
Question by:Ed2003
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:audreygz
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.
0
 

Author Comment

by:Ed2003
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.
0
 
LVL 1

Accepted Solution

by:
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.


0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:Ed2003
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).
0
 
LVL 1

Expert Comment

by:audreygz
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.  
0
 

Author Comment

by:Ed2003
ID: 12419654
Worked like a dream!

Many thanks for your help.

Ed
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
A Short Story about the Best File Recovery Software – Acronis True Image 2017
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now