Chris Cason wrote:
> The problem is I can't necessarily tell if it will fail. If I ask the API
> if the installer has write privilege, it tells me "yes". And if it does
> write, the writes are then diverted into the user's profile.
This is strange. I thought file virtualization would only kick
in on 32-bit Windows for applications which are *not* Vista-aware
(i.e., don't contain a manifest with requestExecutionLevel). If
the installer is Vista-aware I would have expected you get real
information about write privileges.
This may be related to providing the installer as an MSI. Come
to think of it there probably isn't a way to embed a manifest in
an MSI file. Building an EXE might solve the problem (and be more
convenient anyway for the user who wants to install it with
elevated privileges).
Post a reply to this message
|