If a program won't run under Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

If a program won't run under Wine

Post by McDragon »

I have started this discussion on the Ubuntu forum, but I was advised to come here.
-----------
I did it. I finally got somebody else onto Ubuntu. OK, it is my mother but so far so good. I had to install MS Office and then some dictionaries - all under Wine.

Now I have got stuck, there are some legal dictionaries written for Windows, released in 2002/2003 and absolutely DO NOT want to work under Wine.

I tried install under Wine or copying files from a Windows install (from another PC). Can anyone suggest what I can try?
Is my only option VirtualBox and running a virtual Win session just for one lousy program.

There are no linux alternatives as these dicts are for a niche market.

I have also tried Crossover and came to the same error message returned by the install program as I got in wine.

Suggestions kindly accepted. Should I explore copying an already installed program from a windows machine - I don't exclude that I didn't copy everything, but I am not sure how I could track exactly what got installed where.
__________________
Martin :?:
Gert van den Berg

If a program won't run under Wine

Post by Gert van den Berg »

Have a look at the FAQ and post console output... (you'll find
instructions there...)

http://wiki.winehq.org/FAQ

Gert
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: If a program won't run under Wine

Post by dimesio »

McDragon wrote:I have started this discussion on the Ubuntu forum, but I was advised to come here.
-----------
I did it. I finally got somebody else onto Ubuntu. OK, it is my mother but so far so good. I had to install MS Office and then some dictionaries - all under Wine.

Now I have got stuck, there are some legal dictionaries written for Windows, released in 2002/2003 and absolutely DO NOT want to work under Wine.
First, what version of Wine? If it's not 1.2, upgrade. If it doesn't work in 1.2, run the installer from a terminal and post whatever messages appear. http://wiki.winehq.org/FAQ#run_from_terminal
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

Post by McDragon »

Running from terminal returns no errors.
I had 1.1 something installed. I am upgrading to 1.2 but cannot but doubt this will work. The win software I am installing is 7-8 years old - so ancient in computer terms.
John Drescher

If a program won't run under Wine

Post by John Drescher »

Running from terminal returns no errors.
No output at all? That is strange.

John
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

Post by McDragon »

Upgrading to 1.2 did not help. Also checked that I was running XP mode (was set to Windows 7).
Tried a few times, no errors at all. I have a feeling its an internal procedure error in the install, perhaps to check its a genuine installation disk. The problem is you need to copy it from the original cd to the hard drive in order to make the file(s) executable.
John Drescher

If a program won't run under Wine

Post by John Drescher »

Upgrading to 1.2 did not help. Also checked that I was running XP mode (was set to Windows 7).
Tried a few times, no errors at all. I have a feeling its an internal procedure error in the install, perhaps to check its a genuine installation disk. The problem is you need to copy it from the original cd to the hard drive in order to make the file(s) executable.
No fixme messages or nothing when you ran it in the terminal?

Also I believe running it from the terminal instead of clicking in
nautilus should have allowed you to run the installer directly from
the CD.

John
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

Re: If a program won't run under Wine

Post by McDragon »

John Drescher wrote:
Upgrading to 1.2 did not help. Also checked that I was running XP mode (was set to Windows 7).
Tried a few times, no errors at all. I have a feeling its an internal procedure error in the install, perhaps to check its a genuine installation disk. The problem is you need to copy it from the original cd to the hard drive in order to make the file(s) executable.
No fixme messages or nothing when you ran it in the terminal?

Also I believe running it from the terminal instead of clicking in
nautilus should have allowed you to run the installer directly from
the CD.

John
Hi John

You believe right - didn't know about this trick. Tried it with both dict cd-roms and still get the same error in the install process but nothing from wine in the terminal window. I have asked the Amebis company to tell me what that error 43 meant but they haven't replied yet.
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

you could try to find out where the error comes from:
try run WINEDEBUG=+relay,+seh,+tid wine name_of_installer.exe &>/tmp/log
amd then puaste the 9bzipped2 ) file log somewhere on an uploadserver, so we could have a look
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

Post by McDragon »

Thanks to everyone who contributed. After collaborating with the Amebis support we did come to a solution that worked. It actually had to do with an internal install configuration that demanded the install file to be under a mapped drive.

So what definately worked for me was using your suggestion to run from command line from the cd-rom directly. By the way, as my locale is en_UK and this si a Slovene program some letters were not showing up directly so I had to run it in the correct locale:

Code: Select all

export LANG=sl_SI.utf8 && wine /media/ASAPS/zagon.exe
To make the mapping thing work properly you need to go into the Wine configuration - the Drives tab and click Autodetect, even if it looks like it is correctly mapping the cd-rom drive - IT DIDN'T. Only after doing that the install worked.
User avatar
McDragon
Level 1
Level 1
Posts: 6
Joined: Wed Jul 21, 2010 2:56 pm

Post by McDragon »

I was going to upload a screenshot of the wine config window but I cannot do that on this forum so you will, unfortunately, have to use your imagination :lol:
Locked