(win) Improve setup generation script. No more error displayed