D.J. Heap wrote:
On 6/22/07, Dave Page <dpage@xxxxxxxxxxxxxx> wrote:
[snip]
Except the administrator account is disabled by default on Vista.
What do you mean?
Exactly what I wrote. By default, the .\Administrator account is
disabled on Vista so you cannot login to it, or runas it. It's easy to
re-enable from the Users and Groups MMC snapin of course.
If you logon as an administrator then by default Vista drops a lot of
priviledges, but you can get them back to execute a program that
requires them by using the 'Run as administrator' right-click menu
item (which is on the right-click menu for most things you can run,
but not .msi's which is why you have to run them from an elevated
command prompt).
AFAIK, all the 'Run as administrator' menu item does is give you back
your full admin rights if you are an admin (or else it will ask you
for an admin user and password) and then run the program in that
context.
In any case, using an elevated command prompt has worked fine for me
with the postgres 8.2.4 installer on 2 different Vista machines and
has worked for other msi's that otherwise fail as well.
Does it not work for you?
I'm not saying what you suggest won't work, only that you cannot do it
on an out-of-the-box install.
For the record, I've updated the installer for 8.3 to properly work with
UAC.
Regards, Dave.