Initial fixes to the installer script.
Fixes for the Windows installer.