Some improvements/fixes to the windows installer script