PDA

View Full Version : User Account Control



rmoriar1
08-29-2009, 06:16 PM
I remember having to turn off my UAC when setting up HEM, but a windows security alert at the bottom of my screen keeps popping up telling me i should turn it on. So was turning off UAC just necessary for setting up HEM or does it need to remain off for HEM to function properly?

Thanks,
Ryan

fozzy71
08-29-2009, 09:01 PM
It needs to stay off. You should also make sure to set exceptions in your firewall.

Add exceptions to the windows firewall, even if it is off. If you have a 3rd party firewall, do the equivalent - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171

j1nx
08-30-2009, 03:45 AM
When is HEM going to code according this UAC rules and start moving the appropiate files to the user folders?

It is just a minor thing, and it is working for vista and xp as well.

Makes life of a lot of end users a lot easier.

fozzy71
08-30-2009, 09:19 AM
Not sure what you mean. UAC must be off for any of this type of poker software to work properly. Poker Tracker 2/3, Table Ninja, Poker Shortcuts, etc, all require you to turn off UAC. It blocks too many things that PostgreSQL and HM need to work properly.

j1nx
08-31-2009, 03:33 AM
UAC is implemented by Microsoft for a reason! SAFETY

If you want to be taken serious as a software packages you should at least follow the guidelines from Microsoft. This sound stupid, but it is sooooo true.

UAC is rightfully copied from the linux environment. In short term it means that some tasks can only be done by the administrator account and some places on the drive are only accesable by this administrator (Offcourse there is a lot more to it, but this is the short version).

Now, I can't see any tasks or processes within HoldemManager who needed to be run as administrator. I do see a lot of files which require Input/Output in the install directory of HeM.

As from Vista, the "Program Files" directory is no longer writable for normal users. Programs who need to write in files have to move this files to the "User data" folders. This can either be the "all users" folder for global settings, but "username" folder as well.

The benefit from this all, is that the software is multiuser as well. Multiple users on the computer can use HeM but all have there own HUD setting etc.

fozzy71
08-31-2009, 08:56 AM
I have forwarded this thread to the developer for a reply.

j1nx
08-31-2009, 10:00 AM
I have forwarded this thread to the developer for a reply.

NP.

To help him on the way. He should write user specific config data to the Application Data folder for the current user, using the special folders enum (http://msdn.microsoft.com/en-us/library/system.environment.specialfolder%28VS.100%29.aspx) and the Enivronment.GetFolderPath (http://msdn.microsoft.com/en-us/library/14tx8hby%28VS.100%29.aspx).

EDIT: Maybe some extra info (if needed, but I think Roy knows all this)

user-account-control-data-redirection (http://windowsteamblog.com/blogs/developers/archive/2009/08/04/user-account-control-data-redirection.aspx)
Application Compatibility (http://msdn.microsoft.com/en-us/library/bb757005.aspx)
how-to-move-a-windows-xp-application-to-windows-7 (http://blogs.microsoft.nl/blogs/blog_van_mark_voermans/archive/2009/08/12/how-to-move-a-windows-xp-application-to-windows-7.aspx)

Rvg72
08-31-2009, 09:58 PM
The problem with UAC is that it also stops programs like Holdem Manager from accessing hand history files from the various sites since by default Holdem Manager wouldn't have rights to the information in these folders. I know there are ways for people to configure things to get around this but we have decided that for most people it is easier to have them simply turn it off and ends up avoiding a lot of frustration from customers.

Roy