Answered Invoking DCOMPERM.exe at INSTALLATION time.

  • Sunday, January 20, 2013 12:47 PM
     
     
    I'm trying to use DCOMPERM.exe - a tool that allows us to configure DCOM permissions and Identity context to launch a COM object. The tool works fine if i directly use it,(i.e. i can load the COM object from one of my services), but if i invoke the tool in one of my custom actions during INSTALLATION time, though the INSTALLATION completes successfully, i'm unable to load the COM server . I receive an E_ACCESSDENIED error , although dcomcnfg shows that installation configured the Access/Launch Permissions and the RUNAS attribute successfully (as good as if DCOMPERM was used manually). What am i missing here?

    Is the password attribute passed to DCOMPERM, at the time of install creating problems?
    Is there a guideline to use DCOMPERM.exe at the time of install??

All Replies

  • Monday, January 21, 2013 9:44 AM
    Moderator
     
     

    Hi,

    Thank you for your question.

    I am trying to involve someone familiar with this topic to further look at this issue.

    Regards,

    Leo   Huang

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


    Leo Huang
    TechNet Community Support

  • Wednesday, January 23, 2013 9:23 AM
     
     Answered

    Hi,

    Microsoft internal database has no any kind of guideline about invoke DCOMPERM.exe at installation time. Based on my experience, it is recommended to avoid invoking this tool at installation time.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Tuesday, January 29, 2013 2:08 AM
    Moderator
     
     

    Hi,

    How’s everything going? Please feel free to give me any update.

    Thank you for your cooperation.

    Regards,

    Leo   Huang

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


  • Monday, February 04, 2013 1:05 AM
    Moderator
     
     

    Hi,

     

    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous steps should be helpful for many similar scenarios. If the issue still persists, please feel free to  reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.

    BTW,  we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.

     

    Regards,

    Leo   Huang

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


    Leo Huang
    TechNet Community Support