http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #11 from Dawid Hanak nugrud@gmail.com 2009-03-18 13:23:36 --- (In reply to comment #9)
I can confirm this one.
There's a bat file that depends on the VER command giving windows version specific output (and wine's output doesn't match any of them), and a FOR command in there that gives syntax errors. At least.
There are six .bat scripts in the BGT/Install directory: PreInit.bat, EndInit.bat, PreSetup.bat, EndSetup.bat, Uninstall.bat and deldir.bat. The first fired from Setup-BGT.tp2 is PreInit.bat, and there are those VER commands, for example:
VER | find "XP" > nul IF %errorlevel% EQU 0 GOTO NEW1
Could there be added a line that fits wine's output? How would it look like? The syntax error from this FOR command: :NEW1 FOR /F "delims=" %%v IN (BGT\Language.txt) DO SET LANGUAGE1=%%v is "fixme:cmd:WCMD_for /F needs to handle options"