invalidsyntx / steam-limiter

Automatically exported from code.google.com/p/steam-limiter
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

UAC issues with Win7 #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Server key and the Run key for the limiter application are currently stored 
in HKEY_LOCAL_MACHINE which is the right place for the settings, but thanks to 
the broken design of UAC in Vista (including the difference in mandatory 
integrity level in the window manager) if the monitor is elevated it can do 
some things but not others and vice versa.

An obvious fix is to move the run and server settings under HKEY_CURRENT_USER, 
but this leaves one other problem; the copy of the monitor application 
auto-launched from the NSIS installer is elevated as well. And we still need to 
perform split execution in order to be able to write the Uninstall registry 
keys.

This means adding http://nsis.sourceforge.net/UAC_plug-in to the NSIS install 
on the build system and doing the suggested script changes to the installer to 
split it into two processes as well as moving the config registry keys to 
HKEY_CURRENT_USER.

Original issue reported on code.google.com by nigel.bree@gmail.com on 20 Oct 2011 at 3:02

GoogleCodeExporter commented 8 years ago
Should be fixed as of 0.3.2; tested on Win7 64-bit and seems to work well

Original comment by nigel.bree@gmail.com on 20 Oct 2011 at 5:22

GoogleCodeExporter commented 8 years ago

Original comment by nigel.bree@gmail.com on 20 Dec 2011 at 11:39