Changed the VS UAC access level so on Windows Vista
the application also runs as adminitrator so that software
updating will work correctly. This was done by going to
Project-> Properties-> Configeration Properties->
Linker-> Manifest File-> UAC Exection Level and changing the
value to requireadministration.