Indigo Rose Software
  #1  
Old 07-25-2007
Martin_SBT's Avatar
Martin_SBT Martin_SBT is offline
Forum Member
 
Join Date: Jun 2002
Location: Montreal, Canada
Posts: 173
Automate DCOM config! Is it possible?

I will build an installer for an OPC server i developped, using SUFWI.
Is it possible to automate the DCOM configurations of my OPC server throught SUFWI??

It is usuallly something i need the user to do manually in Windows using dcomcnfg but it would be great if the installer would be able to:
-Register my OPC server in the COM components
-Setup automatically Launch and Access permissions in DCOM for my OPC server.

If you tell me this is possible with SUFWI, i will fall on my knees and prosternate in front of you.....

Thanks
Reply With Quote
  #2  
Old 07-25-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Martin, I do not know of a way to directly do that in SUFWI. If you have an executable that you can run to do the configuration you can use a custom action to run it.
Reply With Quote
  #3  
Old 07-26-2007
Martin_SBT's Avatar
Martin_SBT Martin_SBT is offline
Forum Member
 
Join Date: Jun 2002
Location: Montreal, Canada
Posts: 173
Bingo! found a way!

Thanks to Brett for pointing me in the right direction!

I wanted to share what i found out about this topic!
I am sure others will like the ability to setup DCOM for a COM component from The install of their product. I used DCOMPerm.exe that is a sample source code given by Microsoft, so it is free!

I found a compiled version that i am attaching here. To see a list of all switches with explanations just type dcomperm -?

So all you need to do is build a batch file that will use dcomperm, and include both file (you batch + dcomperm.exe) in your project and create custom actions to fire up your batch file! Voila!

Of course, you need to knoe the AppID of your COM component AND the COM component need to be already registered on the PC! But i let you figure out these details..

Hope it helped
Attached Files
File Type: zip DCOMPerm.zip (25.1 KB, 70 views)
Reply With Quote
  #4  
Old 01-24-2008
mitendra mitendra is offline
Forum Member
 
Join Date: Jan 2008
Posts: 1
Grin How to automate DCOM properties?

I have few DCOM components and want to set following settings programmatically not manually. Is there a way/utility to do that.

1. In Location Tab, "Run Application on the computer where data is located" should be unchecked.

2. In Security tab, " Enforce Access checks for this Application " box should be unchecked.

3. IN the " COM Security " tab ,
A) Access Permission.
B) Launchc&Activation Permission
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate production of CD zyz AutoPlay Media Studio 5.0 13 04-07-2004 09:10 AM
How to automate building many similar CD's Steve OHara AutoPlay Media Studio 5.0 1 11-22-2003 11:37 AM
INFO: DCOM 95 1.3 Runtime Support Module Support Setup Factory 6.0 Knowledge Base 0 10-30-2002 01:38 PM
Automate Printer Driver Installation Luc Setup Factory 6.0 0 06-19-2002 12:48 AM


All times are GMT -6. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software