Modifying permissions at install time.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Modifying permissions at install time.

  1. #1
    Dave Lame Guest

    Modifying permissions at install time.


    I have a DCOM server that has to be installed on many machines.
    After running the install program, which registers the server, the user performing
    the installation is instructed to run "Dcomcnfg" to change permissions that
    will allow clients to launch the server. As it turns out, in our setup,
    we always want to add a specific group with launch and access permissions.
    Can I automate that process, so that the appropriate registry keys are added
    as part of registering the server?

    The server app is an MFC program written in VC++ 6. It has the appropriate
    processing in place for the usual processing of the /regserver option on
    the command line. If I knew how to write the code to modify the registry
    and add named groups to the permissions list, I think I should just be able
    to insert that code into that processing.

    Thanks for any assistance.

    Dave
    Share on Google+

  2. #2
    Kevin Downs Guest

    Re: Modifying permissions at install time.

    Have a look at 'DCOMPERM 2.0' on
    http://www.iapetus.com/dcom/dcomtool.htm
    You can use this in your install program......
    --
    Regards,
    Kevin

    "Dave Lame" <davidllame@juno.com> wrote in message
    news:3a841c87$1@news.devx.com...
    >
    > I have a DCOM server that has to be installed on many machines.
    > After running the install program, which registers the server, the user

    performing
    > the installation is instructed to run "Dcomcnfg" to change permissions that
    > will allow clients to launch the server. As it turns out, in our setup,
    > we always want to add a specific group with launch and access permissions.
    > Can I automate that process, so that the appropriate registry keys are

    added
    > as part of registering the server?
    >
    > The server app is an MFC program written in VC++ 6. It has the appropriate
    > processing in place for the usual processing of the /regserver option on
    > the command line. If I knew how to write the code to modify the registry
    > and add named groups to the permissions list, I think I should just be able
    > to insert that code into that processing.
    >
    > Thanks for any assistance.
    >
    > Dave



    Share on Google+

  3. #3
    Dave Guest

    Re: Modifying permissions at install time.


    Awesome. Thanks.
    >
    >


    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center