Adapted Windows installer script to Qt 5