This is absolutely correct.
Lead Developer Support Engineer
InstallShield Software Corporation
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
>I mean, if the machine wasn't set for that, I'll be running as the
>Is my statement correct??
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
> Not with IS6 as far as I know. (you may be able to write code that logs
> the current user and automatically logs on as Administrator to run setup
> 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 firstname.lastname@example.org for details (auto-responder).
> ugfu.tmlra.sika_2 <email@example.com> schrieb in im Newsbeitrag:
> > Is it possible to launch an installation with elevated privileges
> > (Administrator rights) without InstallShield for Windows Installer ?
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?
> is it looks for a *setup* or *install* file name. The dialog allows the
> Does anyone know which HKEY_CURRENT_USER is being used during the install
> 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.
Independent Setup Consultant
// InstallSite - Resources for Setup Developers
My reply-to address is invalid to avoid spam.
Paid support and consulting services are available:
Write to firstname.lastname@example.org for details (auto-responder).
The MSI help page "How do I install a package with elevated privileges as a
non-admin?" has details.