Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

DCOMcnfg object


4 replies to this topic

BrianR

BrianR
  • Members
  • 5 posts

Posted 26 March 2002 - 17:44

Has anyone ever used the DCOMcnfg object? I'm using IS6.3 and I can not find any information about using this object. Searching the install shield knowledge base results in "How to" articles.

I would like to set properties for a DCOM app and I don't know how to associate the app with this object and then how to set properties for it.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 26 March 2002 - 21:12

I've never used objects, so I can't help you out.  Sorry.

Although I'm surprised to hear there's one for DCOMcnfg.  Our products use a Visual Test script to do the settings, but I may want to look at that.
user posted image

BrianR

BrianR
  • Members
  • 5 posts

Posted 27 March 2002 - 18:08

Thanks Taco...I found an article on MSDN that explains how to configure a DCOM service by settings in the registry (search on "setting processwide security through the registry"). This has been helpful. Now I have another problem, some of those settings are binary values and I don't know (yet) how to write binary values to the registry through InstallShield (6.3). Please let me know if you know anything about this.

Thanks

Fouad Rziki

Fouad Rziki
  • Members
  • 43 posts

Posted 04 April 2002 - 10:01

hi , hmm through the registry, i duno if thats very smart to do. i also used dcomcnfg and also configure settings during the setup.

there is an application u can use named: dcomperm.exe. you can do a lot with it, but not everything  :( . but i thinkl it will help u. if you cant find it, just mail me and i will send it to you.

greetings Fouad

more information :


Syntax: dcomperm <option> [...]

Options:
  -da <"set" or "remove"> <Principal Name> ["permit" or "deny"]
  -da list
      Modify or list the default access permission list

  -dl <"set" or "remove"> <Principal Name> ["permit" or "deny"]
  -dl list
      Modify or list the default launch permission list

  -aa <AppID> <"set" or "remove"> <Principal Name> ["permit" or "deny"]
  -aa <AppID> default
  -aa <AppID> list
      Modify or list the access permission list for a specific AppID

  -al <AppID> <"set" or "remove"> <Principal Name> ["permit" or "deny"]
  -al <AppID> default
  -al <AppID> list
      Modify or list the launch permission list for a specific AppID

  -runas <AppID> <Principal Name> <Password>
  -runas <AppID> "Interactive User"
      Set the RunAs information for a specific AppID

Examples:
  dcomperm -da set redmond\t-miken permit
  dcomperm -dl set redmond\jdoe deny
  dcomperm -aa {12345678-1234-1234-1234-00aa00bbf7c7} list
  dcomperm -al {12345678-1234-1234-1234-00aa00bbf7c7} remove redmond\t-miken
  dcomperm -runas {12345678-1234-1234-1234-00aa00bbf7c7} redmond\jdoe password

jasonVIS

jasonVIS
  • Members
  • 9 posts

Posted 18 August 2004 - 17:38

so is there a way to use the dcomperm object to grant access to aspnet users to launch microsoft word?

thanks,
Jason

Edited by jasonVIS, 18 August 2004 - 18:15.