Add to support a Windows 8 and Windows Server 2012
Improved method for check if already installed