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

Thread: Elevated Privileges

  1. #1
    Join Date
    Oct 2001
    Posts
    44,727

    re:elevated privileges



    This is absolutely correct.

    --
    David Thornley
    Lead Developer Support Engineer
    InstallShield Software Corporation
    http://www.installshield.com



    Luciana Soligo wrote in message <38218126.30DD0300@cost.se>...
    >As far as I understand, to run an installation with elevated privileges,
    >
    >the administrator should define/ allow users and applications to do so.
    >Then there 's nothing I can do from the installation point of view to
    >run with these
    >privileges.
    >I mean, if the machine wasn't set for that, I'll be running as the
    >normal user.
    >
    >Is my statement correct??
    >
    >
    >Luciana Soligo
    >Entegrity Solutions
    >
    >


  2. #2
    Join Date
    Oct 2001
    Posts
    44,727

    re:Elevated privileges



    When you stated that Windows 2000 has an option to run setup as the admin,
    are you refering to Windows Installer? I was not aware of this feature if
    not. How does it work? Is there an option to enable this feature?

    "Stefan Krueger" <@> wrote in message
    news:387b62d3.0@news.installshield.com...
    > Not with IS6 as far as I know. (you may be able to write code that logs
    off
    > the current user and automatically logs on as Administrator to run setup
    in
    > Admin mode, but that would be tedious)
    > Windows 2000 will automatically give you the option to run setup as
    > Administrator (without having to log off the current user). That's a new
    > feature of Win2k that doesn't exist on NT4.
    >
    > --
    > Stefan Krueger
    > Independent Setup Consultant
    >
    > // InstallSite - Resources for Setup Developers
    > // http://www.installsite.org
    >
    > My reply-to address is invalid to avoid spam.
    > Paid support and consulting services are available:
    > Write to info@installsite.org for details (auto-responder).
    >
    >
    > ugfu.tmlra.sika_2 <tmlra.sika_2@bluewin.ch> schrieb in im Newsbeitrag:
    > 387B348E.80A6625D@bluewin.ch...
    > > Is it possible to launch an installation with elevated privileges
    > > (Administrator rights) without InstallShield for Windows Installer ?
    > >
    >
    >


  3. #3
    Join Date
    Oct 2001
    Posts
    44,727

    re:Elevated privileges



    I tried this myself. If the user running the install program is not an
    administrator equivalent, the OS pops up a dialog asking how to run the
    install. I am not sure how the OS knows it is an install program. My guess
    is it looks for a *setup* or *install* file name. The dialog allows the user
    to enter the username and password to use for running the install program,
    or run it as the currently logged in user.

    Does anyone know which HKEY_CURRENT_USER is being used during the install if
    the user supplies an admin user and password? Will it be the current
    non-admin user, or the administrator equivalent user?



  4. #4
    Join Date
    Oct 2001
    Posts
    44,727

    re:Elevated privileges



    > is it looks for a *setup* or *install* file name. The dialog allows the
    user

    That's correct.

    > Does anyone know which HKEY_CURRENT_USER is being used during the install
    if
    > the user supplies an admin user and password? Will it be the current
    > non-admin user, or the administrator equivalent user?

    Not sure, but I assume Administrator.

    --
    Stefan Krueger
    Independent Setup Consultant

    // InstallSite - Resources for Setup Developers
    // http://www.installsite.org

    My reply-to address is invalid to avoid spam.
    Paid support and consulting services are available:
    Write to info@installsite.org for details (auto-responder).



  5. #5
    Join Date
    Oct 2001
    Posts
    44,727

    re:Elevated Privileges



    The MSI help page "How do I install a package with elevated privileges as a
    non-admin?" has details.


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
  •