WinSetup: fixed division by zero