Use WinDir registry instead of absolute path.