LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need wine install help (https://www.linuxquestions.org/questions/linux-newbie-8/need-wine-install-help-606161/)

popman 12-11-2007 07:39 PM

Need wine install help
 
Hello, I am obviously new (3 days) at this Linux thing and am trying to get my feet wet here. I have a Windows based program called StormPredator which is a weather radar type of program for the PC. Anyways, I understand I need wine to, maybe, install the .exe. I found the wine packages but am unsure how to install it or use it. I did go to the winehq page and found the packages and tried to install wine with my Package Manager but I got lost. I need a simple direction for the newbie with all of these new terms it is a bit intimidating.
I have installed Ubuntu 7.10 gutsy gibbon on a dual boot disk 160hd sharing with windows xp

thanks in advance

AceofSpades19 12-11-2007 07:41 PM

open up synaptic and search for wine, and install the corresponding package
then open up nautilus and navigate to the exe file and double click on it

pixellany 12-11-2007 07:48 PM

OR....In a terminal:

wine filename.exe

If it will not run with WINE, you might try CrossOver. (The commercial port of WINE--it is free for a 30-day trial period.)

popman 12-13-2007 07:11 PM

I think part of the problem I am having is operating the Synaptic Mgr. I found wine not installed and checked it to have it installed and clicked ok and nothing happens. I am not figuring out how to download it.

matthewg42 12-13-2007 07:58 PM

After selecting "mark for installation", click the apply button on the tool bar. Confirm / OK on any dialogs which appear.

popman 12-13-2007 09:09 PM

whew! made it through that. Now I tried to find that nautilus which appears nowhere in the wine files. But I did download the exe program and right clicked on it and was able to open with wine. all was looking promising until a box popped up as to where to install the program. I picked a folder called Z:ECT and off it went again until it stopped because it was unable to install the uninstall files. I really don't understand the file structure yet to do much but I wont give up.

matthewg42 12-13-2007 09:23 PM

Just install in the default location for the program - presumably this is C:\Program Files\something. The actual files will go in [your home directory/.wine/drive_c/Program Files/something, but don't worry about that.

AceofSpades19 12-13-2007 09:27 PM

Quote:

Originally Posted by popman (Post 2990070)
whew! made it through that. Now I tried to find that nautilus which appears nowhere in the wine files. But I did download the exe program and right clicked on it and was able to open with wine. all was looking promising until a box popped up as to where to install the program. I picked a folder called Z:ECT and off it went again until it stopped because it was unable to install the uninstall files. I really don't understand the file structure yet to do much but I wont give up.

nautilus is the gnome file manager

popman 12-13-2007 10:06 PM

Ok, a bit more success. It appeared to install at the default location, C:\program files\stormpredator which I am not sure if it is reading my Windows files or not as I am setup on a dual boot system now. But anyhow, there is an icon on the desktop for that program (a wine glass nonetheless) but it wont do anything when I click on it. So does it not work with wine?

matthewg42 12-13-2007 10:36 PM

Quote:

Originally Posted by popman (Post 2990101)
Ok, a bit more success. It appeared to install at the default location, C:\program files\stormpredator which I am not sure if it is reading my Windows files or not as I am setup on a dual boot system now.

Wine does not use your windows partition unless you spend some time to set it up. If you look in the .wine/drive_c/ directory in your home folder you will see all the files you have installed into wine. To see the .wine directory, you'll need to select View -> Show Hidden Files in nautilus (the file browser). You can also press control-L to type in a location and enter ~/.wine (~ is a quick way to refer to your home directory).

Quote:

Originally Posted by popman (Post 2990101)
But anyhow, there is an icon on the desktop for that program (a wine glass nonetheless) but it wont do anything when I click on it. So does it not work with wine?

I was curious, so I installed the program and found the same thing.

Then I ran it from a terminal to see if there was any extra information, and found this (commands I typed are shown here prefixed with $):
Code:

$ cd .wine/drive_c/Program\ Files/StormPredator/
$ wine StormPredator.exe
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\StormPredator\\StormPredator.exe") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\StormPredator\\StormPredator.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\StormPredator\\StormPredator.exe" failed, status c0000135

I'll bet you can find these files on your windows partition. I found a copy on an XP CD which I have (I had to extract them from cabinet files).

I copied them to the StormPredator directory and ran again, and it seemed to sort of work. It complains that I don't have enough memory and that I should have a directx9 video card installed. I presume that means that I need directx 9 as well, which I don't know anything about. It's been ages since I ran windows apps, and I feel rather out of touch.

Anyhow, I hope that helps. At least it should give some insight into the sort of fiddling which is sometimes necessary to get apps working in wine.


All times are GMT -5. The time now is 01:50 PM.