Hi there, I am trying to play with wine and I cannot figure out how to read a bat file that would define some env var for me. I followed instructions from: http://appdb.winehq.org/objectManager.php?sClass=version&iId=14208 And everything seems to be installed nicely for me (thanks to winetricks !): $ find ~/.wine | grep nmake /home/mathieu/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC/bin/nmake.exe However I cannot figure out how to run the bat file for vs2005. Could anyone point me in the right direction ? $ cd ~/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC $ wine vcvarsall.bat wine: could not load L"C:\\Program Files\\Microsoft Visual Studio 8\\VC\\vcvarsall.bat": Bad EXE format for $ wineconsole "/home/mathieu/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC/vcvarsall.bat" It quickly open up a terminal, but close it afterward Thanks ! -- Mathieu
Mathieu Malaterre wrote:> > > However I cannot figure out how to run the bat file for vs2005. > Could anyone point me in the right direction ? > > $ cd ~/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC > $ wine vcvarsall.bat > wine: could not load L"C:\\Program Files\\Microsoft Visual Studio > 8\\VC\\vcvarsall.bat": Bad EXE format for > >wine cmd /c vcvarsall.bat
On Mon, Jun 29, 2009 at 3:03 PM, dimesio<wineforum-user at winehq.org> wrote:> > Mathieu Malaterre wrote: >> >> >> However I cannot figure out how to run the bat file for vs2005. >> Could anyone point me in the right direction ? >> >> $ cd ?~/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC >> $ wine vcvarsall.bat >> wine: could not load L"C:\\Program Files\\Microsoft Visual Studio >> 8\\VC\\vcvarsall.bat": Bad EXE format for >> >> > > > wine cmd /c vcvarsall.batThat seems to do something, however it sill does not open the cmd with my prepared envirionment (a bunch of env vars setup). thanks again ! Log: $ wine cmd /c vsvars32.bat Setting environment for using Microsoft Visual Studio 2005 x86 tools. -- Mathieu
On Mon, Jun 29, 2009 at 9:22 AM, Mathieu Malaterre<mathieu.malaterre at gmail.com> wrote:> On Mon, Jun 29, 2009 at 3:03 PM, dimesio<wineforum-user at winehq.org> wrote: >> >> Mathieu Malaterre wrote: >>> >>> >>> However I cannot figure out how to run the bat file for vs2005. >>> Could anyone point me in the right direction ? >>> >>> $ cd ?~/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC >>> $ wine vcvarsall.bat >>> wine: could not load L"C:\\Program Files\\Microsoft Visual Studio >>> 8\\VC\\vcvarsall.bat": Bad EXE format for >>> >>> >> >> >> wine cmd /c vcvarsall.bat > > That seems to do something, however it sill does not open the cmd with > my prepared envirionment (a bunch of env vars setup). > > thanks again ! > > Log: > > $ wine cmd /c vsvars32.bat > Setting environment for using Microsoft Visual Studio 2005 x86 tools. >It closed on my system as well. But wine cmd /k kept open a command prompt. Possibly inside that prompt you can run vcvars32.bat John
On Mon, Jun 29, 2009 at 3:32 PM, John Drescher<drescherjm at gmail.com> wrote:> On Mon, Jun 29, 2009 at 9:22 AM, Mathieu > Malaterre<mathieu.malaterre at gmail.com> wrote: >> On Mon, Jun 29, 2009 at 3:03 PM, dimesio<wineforum-user at winehq.org> wrote: >>> >>> Mathieu Malaterre wrote: >>>> >>>> >>>> However I cannot figure out how to run the bat file for vs2005. >>>> Could anyone point me in the right direction ? >>>> >>>> $ cd ?~/.wine/drive_c/Program Files/Microsoft Visual Studio 8/VC >>>> $ wine vcvarsall.bat >>>> wine: could not load L"C:\\Program Files\\Microsoft Visual Studio >>>> 8\\VC\\vcvarsall.bat": Bad EXE format for >>>> >>>> >>> >>> >>> wine cmd /c vcvarsall.bat >> >> That seems to do something, however it sill does not open the cmd with >> my prepared envirionment (a bunch of env vars setup). >> >> thanks again ! >> >> Log: >> >> $ wine cmd /c vsvars32.bat >> Setting environment for using Microsoft Visual Studio 2005 x86 tools. >> > > It closed on my system as well. But > > wine cmd /k > > kept open a command prompt. Possibly inside that prompt you can run vcvars32.bat > > John >$ wine cmd /k /c vsvars32.bat seems to be doing exactly what I was looking for. Thanks, -- Mathieu