Page 1 of 2 12 LastLast
Results 1 to 5 of 6

Thread: Update Service as a NT Service w/Administrator rights

  1. #1
    eperrone Guest

    Unhappy Update Service as a NT Service w/Administrator rights

    I saw on some posts that a possible solution to the requirement that Update Service requires adminstrator rights is to create a NT service that does the updates and installs.

    Has anyone tried to write sucha service? Can you do this in Visual Basic or something easy? Any advice would be helpful.

    How about Installshield maybe you folks could create one as part of the Update Service itself? And then let products call that...

    The more we discuss the administrator requirement we realize that in many controlled shops this requirement is just not going to be given out to users. This is a real problem with using the Update Service at all.

    Of course I understand the problem. The administrators say one one hand they do not want to have to touch every computer to update applications but on the other hand they don't want users to install programs. But this is of course the world we live in...

    Lets discuss the possibilities......

  2. #2
    Join Date
    Jan 2002
    Location
    Schaumburg, IL
    Posts
    331
    I agree it is a giant catch-22, and each system administrator is different. As such, I think we need to provide the system administrators a way to make a choice on how much control to give the users(via a menu option in your application or via the control panel)

    Maybe something like....

    - Notify user of available updates and let them choose which updates to install
    - Automatically download and install all updates
    - Dispable all update checking for this appliation

    Thoughts on this?

    ---------

    In terms of the service, we are working with a customer right now to develop such a service. In this scenario, your application would call the service. The service would contain the business logic of which ISUS APIs to call. The service would do all communication w/ the Agent.

    App > Service > ISUS Agent

    So we (InstallShield) can provide you with a sample. But because the business logic is contained w/in the Service, you will have to modify the Service to fit your needs. Also, the above question on how much control to give the user would be fed into the service. So the application would always make the same call to the service. The service would see what level of control the user is allowed to have and react accordingly.

    After we complete the service, I will post an example on the community.
    Chris Woerner
    InstallShield Software

  3. #3
    eperrone Guest

    Sounds good

    Thank you Chris

    I would be very interested in seeing how that was done even if it needed to be different for our situation. We have really come up against a wall on this one as the government we are working for is really locking down the PC's due to heavy security requirements arising for the world situation.

    Being able to work a service based solution into the Update service would be great. Our other option is coding some type of file copy type system that would work for about 80% of our updates but would require huge bandwidth since we cannot send out just the bit differences.

    Pleas let me know when you have a sample to look at.

    P.S. what are you developing the sample with?

    Also for our situation we would only need to enable the updating for all users using our software. But for the general case having the capability to service some user with different options than others would be helpful too...

  4. #4
    MikeDavidson Guest
    Chris,

    What would happen if the agent.exe and ISDM.exe were to be copied to and run from a folder the non-Admin user has permission for? Could we use command-line syntax from within VB app with these alternate exe files to accomplish the same thing?
    Last edited by MikeDavidson; 06-29-2003 at 06:32 PM.

  5. #5
    Join Date
    Apr 2002
    Location
    Watford, Herts., UK
    Posts
    28

    Lightbulb

    Chris,
    I have the same problem, as our users do not have administrator rights to their local PC-s. In my opinion the best option for us would be the following scenario -
    1. if the update is "NEXT USE" then the agent would automatically download the update using silent download in the background. Once update has been downloaded user should be notified of this fact and asked to inform the system administrator. Once administrator is logged on, software should allow for easy install.
    2. if the update is "scheduled" then again agent should download the update in the background (when schedule is up) and notify the user. Then it would follow scenario mentioned above.

    The above scenarios would allow administrator to control installation of new updates and would allow for easier troubleshooting if something has gone wrong with the installation or update did not work on a particular PC.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •