fix problem with umlaut in date string when pre-decoding the log message

only works for German months!
Fix win32 OS detection

This starts to add support for 2012. Change the log message to be
more flexible with what it spits back out to the user after the
checkVista() function is run.

Although this helps with 2012 detection it is not perfect. With the
addition of Windows 8.1/2012 R2 the documentation provided by
Microsoft indicates that the GetVersionEx APIs have been deprecated.
This means that if you are on an 8.1 machine and run GetVersionEx it
will return the Windows 8 version (6.2.0.0). In order to get the
correct version you must target your application for Windows 8.1.

I am just trying to fix installations on 2012 and 2012 R2 so this
code works well enough for now but should be revisited at some point
so that it will work with future Windows versions.
Remove annoying win32ui dialog box

If you close the win32ui, the win32ui is running with Administrative
privileges, everything to run the win32 agent is configured and the
Agent service is not running a dialog box will pop informing the user
the service is not running and ask them if they would like to start it.

This to me is an annoyance more than anything. It is likely the user
went into the win32ui to stop the service to begin with and knows it is
stopped.
Add better version handling to win32ui

The delimiter of just '-' (no spaces) was not as strict as it could
be making adding things like releases to the version file, 2.7.1-1
for example not possible. This makes the delimiter " - " (with spaces)
which allows for that type of flexibility.
Add install date to win32ui

This adds the install date to the lower right status area in the
win32ui. It also gets rid of the sizegrip that was getting added
by the status data area. It gave the impression that the window
could be resized which it can't. It also took up space in the
status area.
Fix permissions and privilege detection

When using the win32ui to change the server IP or import the
authentication key the permissions on ossec.conf and client.keys
were not set correctly resulting in any system user being able to
read the contents of these files.

This brought on some additional problems where the win32ui was unable
to properly detect if it was running with Administrative privileges.
The previous logic would attempt to read/write a .test file in the
OSSEC directory but thanks to a mixture of UAC redirection, an
unsigned binary and not requiring Administrative privileges these
tests would always pass. That means the win32ui would be able to run
without Administrative privileges.

This solution still isn't the best. It would be better if proper
win32 APIs were used to set permissions and determine if the win32ui
was started with the proper privileges. This is just an iterim
solution to get something out the door.
Fix comment in src/win32/ui/common.c
Remove debug messages it src/win32/ui/common.c

These debug messages aren't particularly helpful and there isn't
any easy way to even put the win32ui into debug mode that I have
found so I feel they should be removed.
Free install_date pointer
better way to fix the problem with umlaut in date string when pre-decoding the log message

still only works for German months!
Merge branch 'master' into fix-umlaute
Remove os_auth from win-files.txt

After commit 75a91043 the os_auth daemon no longer gets made during builds on NIX based systems so copying over the files is no longer necessary.
Make manage_agents.exe work on win32

The manage_agents.exe would never change into the proper ossec-agents
directory. There is now some logic added to attempt to chdir() into
the right directory when it starts but it is not foolproof.

Also, corrected the permissions on the client.keys file. They were
not being set properly after the file was written out leaving it
readable to any system user.
enable geoip
Updates to win32ui

Use log2file() instead of verbose(). Added quotes around file whose
permissions are being changed.
Updates to manage_agents.exe on Windows

Enclosed file being changed in double quotes. Style fixes to error
messages.
Fix win32 ARGV0 names

The ARGV0 names of manage-agents and the win32ui needed more clarity.
Using 'ossec-agent' doesn't really makes sense. This will help in
figuring out what is doing what in the log file for example a little
easier.
Remove local file additions in setup-win.c

In my opinion adding these should be a user decision and shouldn't get done by default.
Merge pull request #113 from awiddersheim/patch-3

Remove local file additions in setup-win.c
remove unused source code files