On Jan 4, 2008 6:04 PM, Chesong Lee <[EMAIL PROTECTED]> wrote:
> Can I ask why you want to prevent your setup to be launched with UAC
> enabled?
> Your installer will be run with UAC on most of the cases.
>
Probably not without degrading the thread to a flame fest :-)
Let's just say after careful evaluation we've determined that UAC is another
monumental failure in the context of Microsoft security. Since so little in
the system actually works with it enabled, including simple things like
loading a text file into notepad.exe, which will fail silently in some
contexts but not others (for the same file) when UAC is enabled, and the
effect of UAC is simply to train users to click "allow" for everything
because it is required for nearly everything, sometimes requiring three
confirmation dialogs for a trivial operation like creating a folder (the
Apple commercial didn't go far enough) it effectively makes any meaningful
warnings get lost in the noise. The very users it is meant to protect are
exactly the ones who will simply learn to implicitly "trust" everything
instead. I'm not aware of any computer-literate user that doesn't turn off
UAC immediately.
As far as our application's needs, one thing we need to do is to stop
storing user-modifiable data in a subfolder under "Program Files". We were
keeping configuration files related to our application (not user-specific)
in a subfolder of our applications install folder. Now we will have to
relocate those to something under the All Users profile or wherever it is
supposed to be. Currently Vista is re-directing write access to those files
to a different folder (e.g. C:Users\admin\AppData\Local\VirtualStore\Program
Files\...) but the application is still reading from the original folder.
Another problem that our application has is that it is unable to query the
CPU usage when UAC is on. We do a lot of heavy real-time data processing
and available CPU is an important bit of feedback in our UI.
We will be making changes to our application to get it to play better with
Vista, but the problems with UAC are beyond anything we can control in our
application so it must be disabled in order to make Vista functional.
The possibility of the registry data being stale we can probably live with,
but I think I'll go with the custom action since this particular custom
action doesn't modify system state it is "less evil" than most.
Thanks for the assistance everyone.
Scott
On Jan 4, 2008 2:07 PM, Scott Palmer <[EMAIL PROTECTED]> wrote:
> > I want to detect if UAC is turned on in Vista and refuse to install if
> it
> > is. How can I do this?
> >
> > Scott
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users