removed installer code from build-windows into a separate file