RE: [GD-Windows] Security/access when writing to registry
Brought to you by:
vexxed72
From: Gareth L. <GL...@cl...> - 2003-01-22 10:30:34
|
Brian, The new Windows Installer stuff (.MSI files) has an option "Install for just this user, or install of all users". I assume the latter enumerates all the users (Under HKEY_USERS) and adds the stuff there, instaid of HKCU. That will add it to the current user and all new users automatically. This is for settings, not shared data like high-scores. HKLM is where I would put high-scores, or in some shared folder, as others have posted. One option is to require admin access when the installer is run, and to create your install folder as writeable for everyone. Basically either you use the All Users folder, which works, but I think is messy (I don't like games installing stuff all over the place) or you make sure your install folder is writable by all. Regards, Gareth Lewin > -----Original Message----- > From: Brian Hook [mailto:bri...@py...] > Sent: 22 January 2003 08:02 > To: gam...@li... > Subject: Re: [GD-Windows] Security/access when writing to registry > > > Yes, I'm revisiting a thread that's over a year old =) > > I've been using HKCU instead of HKLM like a good Windows app, but it > seems like you can't win 'em all. > > The problem with HKCU is that, well, it's per user. I've gotten very > sporadic complaints about having to install our games multiple times > (including unlock codes), which isn't that big a deal. But what IS a > big deal is when you have multiple users on the same machine trying > to compete against each other, but now their high scores aren't > shared. This is a pretty galling thing, since a lot of our games are > competitive that way and we do find that more than a few of our > players are on multi-user systems. > > Ideas on a clean solution to this problem? > > Brian > > > > > ------------------------------------------------------- > 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_idU5 > |