Add Windows upgrade support
Merge pull request #486 from AudriusButkevicius/windows

Add Windows upgrade support