Results 1 to 3 of 3

Thread: Admin and installing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    behind a pc
    Posts
    117

    Admin and installing

    I want make an installer that installs updates during the startup of windows. Basically I will distribute the updater manually.

    My problem is that some computers are running NT4.0 and some are running XP. Is there anyway to install programs when the normal user logs in? I know in XP it is possible to enter the admin pass during install. But how do i do this in NT 4.0?

    Thank you,

    danielsan
    Regards,

    danielsan

    'Even though the book is finished. There's no need to close and forget.'

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    The only way I can imagine it to work, is to launch the setup program from another program, using an API function like CreateProcessAsUser. You have to check that it is NT or XP first, because this API function is not available on Win9x or ME.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    behind a pc
    Posts
    117
    thank you, this solves my problem.

    Regards,

    danielsan
    Regards,

    danielsan

    'Even though the book is finished. There's no need to close and forget.'

Posting Permissions

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



Click Here to Expand Forum to Full Width