Re[4]: [GD-Windows] Security/access when writing to registry
Brought to you by:
vexxed72
From: Kerim B. <wa...@ho...> - 2003-01-22 20:14:46
|
Hello Dan, Users can read from HKLM. So in case of "for all users" installer puts in HKLM "global" settings(like install location) to be only read in typical use of the app. And "local"(like video options) user settings are created in HKCU when user starts the application for the first time. Best regards, Kerim mailto:wa...@ho... Wednesday, January 22, 2003, 9:51:40 PM, you wrote: >> And on start of your app first, say, look into CU(if the user >> installed this soft for her personally ) and if nothing >> found loook into LM. DT> This won't nessearily work, because it implies that all users have admin DT> rights. You suggest that only the installer needs admin rights, but if the DT> installer puts it in HKLM, and adds it to the start menu for everyone, the DT> program won't load for Users, because the program won't be able to find it DT> in HKCU, and it will try HKLM, which will get it an access denied... DT> You could just have the installer put a copy of it in everyone's HKCU DT> somehow, but that doesn't solve the high scores problem... DT> I think your best bet is the common docs folder, or an internet high scores. DT> -Dan DT> ----- Original Message ----- DT> From: "Kerim Borchaev" <wa...@ho...> DT> To: "Brian Hook" <gam...@li...> DT> Sent: Wednesday, January 22, 2003 1:06 AM DT> Subject: Re[2]: [GD-Windows] Security/access when writing to registry >> Hello Brian, >> >> Support both HKCU and HKLM. If your software is being installed >> by an advanced user let her choose what to use. Like this: >> >> "Do you want this software to be available to all users(requires >> admin rights) or only to the current user?(Yes/No)" >> >> And on start of your app first, say, look into CU(if the user >> installed this soft for her personally ) and if nothing >> found loook into LM. >> >> Best regards, >> Kerim mailto:wa...@ho... >> >> Wednesday, January 22, 2003, 11:01:55 AM, you wrote: >> >> BH> Yes, I'm revisiting a thread that's over a year old =) >> >> BH> I've been using HKCU instead of HKLM like a good Windows app, but it >> BH> seems like you can't win 'em all. >> >> BH> The problem with HKCU is that, well, it's per user. I've gotten very >> BH> sporadic complaints about having to install our games multiple times >> BH> (including unlock codes), which isn't that big a deal. But what IS a >> BH> big deal is when you have multiple users on the same machine trying >> BH> to compete against each other, but now their high scores aren't >> BH> shared. This is a pretty galling thing, since a lot of our games are >> BH> competitive that way and we do find that more than a few of our >> BH> players are on multi-user systems. >> >> BH> Ideas on a clean solution to this problem? >> >> BH> Brian >> >> >> >> >> BH> ------------------------------------------------------- >> BH> This SF.net email is sponsored by: Scholarships for Techies! >> BH> Can't afford IT training? All 2003 ictp students receive scholarships. >> BH> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. >> BH> www.ictp.com/training/sourceforge.asp >> BH> _______________________________________________ >> BH> Gamedevlists-windows mailing list >> BH> Gam...@li... >> BH> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> BH> Archives: >> BH> http://sourceforge.net/mailarchive/forum.php?forum_idU5 >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Scholarships for Techies! >> Can't afford IT training? All 2003 ictp students receive scholarships. >> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. >> www.ictp.com/training/sourceforge.asp >> _______________________________________________ >> Gamedevlists-windows mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=555 >> DT> ------------------------------------------------------- DT> This SF.net email is sponsored by: Scholarships for Techies! DT> Can't afford IT training? All 2003 ictp students receive scholarships. DT> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. DT> www.ictp.com/training/sourceforge.asp DT> _______________________________________________ DT> Gamedevlists-windows mailing list DT> Gam...@li... DT> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows DT> Archives: DT> http://sourceforge.net/mailarchive/forum.php?forum_id=555 |