I'm sure you about to get jumped for even thinking about it.... :-)    However, 
 UAC/LUA can be manipulated via policy and it gets stored in the registry like:
   
  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] 
"ConsentPromptBehaviorAdmin"=dword:00000002 
"ConsentPromptBehaviorUser"=dword:00000001 
"EnableInstallerDetection"=dword:00000001 
"EnableLUA"=dword:00000001 
"EnableSecureUIAPaths"=dword:00000001 
"EnableVirtualization"=dword:00000001 
"PromptOnSecureDesktop"=dword:00000001 
"FilterAdministratorToken"=dword:00000000 
"LocalAccountTokenFilterPolicy"=dword:00000001 
  

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


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------------------------------------------------------------------
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

Reply via email to