# Is there some trick installing a .exe file using Wine?

John Hubbard ender8282 at yahoo.com
Wed Jan 21 23:41:28 UTC 2009

Steven Vollom wrote:
> On Wednesday 21 January 2009 2:06:48 pm John Hubbard wrote:
>
>
>> Try typing in a terminal (or from the run command dialogue)
>> wine \path\to\program\playmoney.exe
>>
>
> steven at Studio25:~$wine \path\to\program\playmoney.exe > err:module:import_dll Library TDI.SYS (which is needed by L"C: > \\PROG~FBU\\SPEE~4WL\\sbbotdi.sys") not found > err:winedevice:ServiceMain driver L"sbbotdi" failed to load > wine: could not load L"c:\\windows\\system32\\pathtoprogramplaymoney.exe": > Module not found > steven at Studio25:~$
>
> This is way over my head.
>
> Steven
>
>
that you wanted to run was called playmoney.exe. From one of the other
posts it looks like that was wrong. So let me try to walk you through
this. And as a warning I am not trying to seem condescending I am just
tying to make this really simple. If it is too simple let me know what
is obvious and I will be less verbose. I will prefix all terminal
commands with '>' don't type the > just type everything after it.
First do you know where you have saved the program that you want to run?
If you downloaded it with firefox I would expect it to be in the
directory /home/seven/Desktop. (It would appear on your desktop.) If not
we will have to find it. First open a terminal. We will start looking
using the command list. Type
>ls
This should give you a list of directories and files in your home
directory. If you see the program there you are done. Otherwise start
working though the directories until you find it. To change into another
directory say Desktop type
>cd Desktop
Then use 'ls' to check that directory. If you don't see it and the
directory has no sub directories type
>cd ..
This will move you back up to the parent directory. When you have
finally found it type
>pwd
to show you what directory you are in.
OK now that we have found it we need to run it. Lets assume the file is
called foo.exe (replace with your actual file name). There are a couple
of ways to do that. If you have changed into the directory of the file
with cd you can just type
>wine foo.exe
But if you aren't in the file you need to type the full path to the
file. This path is the same as the output from the pwd (print working
directory) command. Assume that pwd returned "/home/steven/Desktop"
you could type either
>wine /home/steven/Desktop/foo.exe
or
>wine ~/Desktop/foo.exe
the ~/ tells it to use YOUR home directory.

The shell is pretty smart but it isn't a genius. The program wine is in
your path. Meaning that the shell knows to look in /usr/bin to find the
program wine. If you ever want to know where your shell will look for
programs type
>echo \$PATH
Your are actually executing the program wine and it is taking as an
argument the .exe file that you want run.

For fun sometime try wondering around your computer with the 'cd'
command. See what files are where with the 'ls' command. One of my
favorite things about how kubuntu comes set up is the auto-complete
feature. For example if you are in your home directory and you type
>cd Des[press the tab key]
the shell will try to complete the command for you and you will be left
with a screen that shows
>cd Desktop
This also works with wine. If you have found the .exe you can type
>wine foo[press the tab key]
and you will get
>wine foo.exe
Play around with auto compete as it will let you type long file names
much faster. Sometimes hit the tab key twice and it will give you a list
of possible completions. This work for both the argument (foo.exe) and
the command (wine).

Hope this helps and let me know if something is unclear or if you need
more help.

--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111