On Tue, Jun 10, 2008 at 2:32 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Thanks. I'll try to integrate this with the next beta releases -
> that's bit 3 of PID_WORDCOUNT, right?
>
> I hesitated setting it, as MSDN says setting it means
>
> "Elevated privileges are not required to install this package."
>
> My concern would be that it then *never* displays the UAC box,
> which is not what I would like.

Yes, that's the right bit. However your concern is spot on - if you
set the bit, it will never display the UAC prompt. That's what I
referred to in my previous message with "it can only successfully
install into machine locations if it was launched by a full
administrator context." In order for such a setup to succeed on Vista
when launched by a limited user, etc., it needs to have ALLUSERS
unset, and not install into any machine registry or file locations
(i.e. no HKLM or ProgramFilesFolder).

My recommendation would normally be to not set the bit (keep requiring
administrative privileges). If you need to support the limited user
case, either provide a second package (well, double the number of
packages) with the bit unset, provide a link to ORCA with
instructions, or provide a small helper utility (exe or VBS script)
which can swap the bit using MSI automation. I'm not certain whether
that's a great recommendation across the set of most Windows Python
users.

-- 
Michael Urman
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to