How did you solve the WINDIR issue?
What did you do?