cannot find system32 error

Questions about Wine on macOS.
Locked
mmh
Newbie
Newbie
Posts: 2
Joined: Mon Sep 05, 2011 2:29 pm

cannot find system32 error

Post by mmh »

I installed wine 1.2.3 on Mac OS X 10.6.8 with the hopes of getting OpenBUGs running, but no success. It seems like OpenBUGs installs properly, but when I try to open it, I get the following:
wine: cannot find L"C:\\windows\\system32\\OpenBUGS.exe

What does this mean/how can I fix it?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

cannot find system32 error

Post by jjmckenzie »

On Mon, Sep 5, 2011 at 1:15 PM, mmh <[email protected]> wrote:
I installed wine 1.2.3 on Mac OS X 10.6.8 with the hopes of getting OpenBUGs running, but no success.  It seems like OpenBUGs installs properly, but when I try to open it, I get the following:
wine: cannot find L"C:\\windows\\system32\\OpenBUGS.exe

What does this mean/how can I fix it?
It means that OpenBUGS.exe cannot be found in the current directory/folder.

You need to change directories FIRST before running the program and
then use the wine command:

wine OpenBUGS.exe

to run it. Since you did not provide your folder structure, this is
all I can provide.

James
mmh
Newbie
Newbie
Posts: 2
Joined: Mon Sep 05, 2011 2:29 pm

Post by mmh »

Thanks for the help. The program file is in my Applications folder. When it installs it seems to unpack it into the Program folder on Drive C (I've installed it twice now as OpenBUGS and OpenBUGS321 (version 3.2.1)). I suspected I didn't have the correct location for the file, and I can't find anything on my machine called OpenBUGs by searching (except in the Applications folder). I am not a programmer (obviously); thanks for the help. I just want to do some Bayesian statistics on my Mac.

MMH-MacBook-Pro:OpenBugs MMH$ cd /Applications/OpenBugs
MMH-MacBook-Pro:OpenBugs MMH$ wine OpenBUGS.exe
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:shell:SHAutoComplete stub
MMH-MacBook-Pro:OpenBugs MMH$ cd ~/.wine/drive_c/Program\ Files/
MMH-MacBook-Pro:Program Files MMH$ ls
Common Files Internet Explorer OpenBUGS
MMH-MacBook-Pro:Program Files MMH$ ls OpenBUGS
OpenBUGS OpenBUGS321
MMHMacBook-Pro:Program Files MMH$ wine OpenBUGS
wine: cannot find L"C:\\windows\\system32\\OpenBUGS.exe"
Martin Gregorie

cannot find system32 error

Post by Martin Gregorie »

On Mon, 2011-09-05 at 16:20 -0500, mmh wrote:
Thanks for the help. The program file is in my Applications folder.
When it installs it seems to unpack it into the Program folder on
Drive C (I've installed it twice now as OpenBUGS and OpenBUGS321
(version 3.2.1)). I suspected I didn't have the correct location for
the file, and I can't find anything on my machine called OpenBUGs by
searching (except in the Applications folder). I am not a programmer
(obviously); thanks for the help. I just want to do some Bayesian
statistics on my Mac.

MMH-MacBook-Pro:OpenBugs MMH$ cd /Applications/OpenBugs
MMH-MacBook-Pro:OpenBugs MMH$ wine OpenBUGS.exe
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:shell:SHAutoComplete stub
MMH-MacBook-Pro:OpenBugs MMH$ cd ~/.wine/drive_c/Program\ Files/
MMH-MacBook-Pro:Program Files MMH$ ls
Common Files Internet Explorer OpenBUGS
MMH-MacBook-Pro:Program Files MMH$ ls OpenBUGS
OpenBUGS OpenBUGS321
MMHMacBook-Pro:Program Files MMH$ wine OpenBUGS
wine: cannot find L"C:\\windows\\system32\\OpenBUGS.exe"
If this was Linux, I'd suggest that you use the find command. There's a
good chance its available to OSX too. To use it, try this command:

find $HOME -name OpenBugs.exe
or
find $HOME -name '*.exe'

to find all the files with an exe extension.


Martin
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

mmh wrote:Thanks for the help. The program file is in my Applications folder. When it installs it seems to unpack it into the Program folder on Drive C (I've installed it twice now as OpenBUGS and OpenBUGS321 (version 3.2.1)). I suspected I didn't have the correct location for the file, and I can't find anything on my machine called OpenBUGs by searching (except in the Applications folder). I am not a programmer (obviously); thanks for the help. I just want to do some Bayesian statistics on my Mac.

MMH-MacBook-Pro:OpenBugs MMH$ cd /Applications/OpenBugs
MMH-MacBook-Pro:OpenBugs MMH$ wine OpenBUGS.exe
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:msg:ChangeWindowMessageFilter c046 00000001
fixme:shell:SHAutoComplete stub
MMH-MacBook-Pro:OpenBugs MMH$ cd ~/.wine/drive_c/Program\ Files/
MMH-MacBook-Pro:Program Files MMH$ ls
Common Files Internet Explorer OpenBUGS
MMH-MacBook-Pro:Program Files MMH$ ls OpenBUGS
OpenBUGS OpenBUGS321
MMHMacBook-Pro:Program Files MMH$ wine OpenBUGS
wine: cannot find L"C:\\windows\\system32\\OpenBUGS.exe"
First.. never install it to /Applications as that is not a normal full access folder, and anyone else trying to use something with Wine there won't really work right anyways.

Its best to leave things for normal Wine usage in either ~/.wine or some other folder you choose in your home folder.

IN the last part you list there, you just did a ls OpenBUGS which doesn't change directories, it just lists the contents. You need to...
cd ~/.wine/drive_c/Program\ Files/OpenBUGS
and cd into whatever ever other folders you have to until you are in the folder with the exe file... then
wine WhateverTheExeFileIsNamed.exe

if it ever says it cannot find it in system32, that means its not in the current folder you are in, so it defaulted back to trying to find it in system32, and couldn't find it there either.
Locked