Installer works, application doesn't

Questions about Wine on Linux
Locked
Gertian
Newbie
Newbie
Posts: 4
Joined: Fri Apr 12, 2013 7:40 am

Installer works, application doesn't

Post by Gertian »

Hi thire,

I have recently installed ubuntu and with that came an installation of wine in order to run some windows programs.
The problem here is that I can perfectly run the intaller of the programs that I have tried so far. But when I try to open a freshly installed program, it doen't work anymore...

I will attach some screenshots so you guys can see what I mean.

Best regards
Attachments
After pressing "install" a normal installer opens up.
After pressing "install" a normal installer opens up.
When I right click "open with wine" onto the autorun.exe file I get this...
When I right click "open with wine" onto the autorun.exe file I get this...
So this is what I get when I insert the cd, everything is Ok I think.
So this is what I get when I insert the cd, everything is Ok I think.
Gertian
Newbie
Newbie
Posts: 4
Joined: Fri Apr 12, 2013 7:40 am

Re: Installer works, application doesn't

Post by Gertian »

Here is the next part of the screenshots
Attachments
6 I can see the autorun file in the wine explorer.png
5 After the installation.png
4 installation going perfectly.png
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installer works, application doesn't

Post by dimesio »

So far all you've posted are screenshots of everything working. That is useless. Post terminal output from something that doesn't work.
Gertian
Newbie
Newbie
Posts: 4
Joined: Fri Apr 12, 2013 7:40 am

Re: Installer works, application doesn't

Post by Gertian »

That is the problem...
I have no clue of what is not working...

And I thought thay somebody with more knowledge would have seen something that wasn't as it should be in those screenshots.
Anyway, I'd like to post a screenshot of my terminal output but as you can see I am not using my terminal nor do I get any output of it...

The only thing that doen't work is that when i press "autorun.exe" for the second time, the music starts playing etc, so once again, perfect ! But when I then try to run the game it does nothing. I can't give you an error becouse I don't get one.

Just nothing happens...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installer works, application doesn't

Post by dimesio »

You need to pick an app or game, run it from a terminal, and post the output as text (not a screenshot). http://wiki.winehq.org/FAQ#get_log

Run the app/game exe directly, not the autorun.

Also, you didn't mention what Wine version you're using; if it's not the latest development release, upgrade. Note that whatever was installed by your distro may not be the latest. You can find out what version you're using by opening a terminal and typing

Code: Select all

wine --version
Gertian
Newbie
Newbie
Posts: 4
Joined: Fri Apr 12, 2013 7:40 am

Re: Installer works, application doesn't

Post by Gertian »

My wine version is wine-1.4

This is the log I get when I try to execute it from my terminal. (I really hope that this is what you were asking for, otherwise i'll try again)
I hope that copy pasting isn't a problem, the little guide said it wasn't so I just did it...
gertian@gertian-HP-ProBook-4530s:~$ cd .wine
gertian@gertian-HP-ProBook-4530s:~/.wine$ cd drive_c
gertian@gertian-HP-ProBook-4530s:~/.wine/drive_c$ cd ProgramFiles
gertian@gertian-HP-ProBook-4530s:~/.wine/drive_c/ProgramFiles$ cd KnightsAndMerchants
gertian@gertian-HP-ProBook-4530s:~/.wine/drive_c/ProgramFiles/KnightsAndMerchants$ KaM_1024
KaM_1024: command not found
gertian@gertian-HP-ProBook-4530s:~/.wine/drive_c/ProgramFiles/KnightsAndMerchants$ wine KaM_1024
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 136 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 471
Current serial number in output stream: 471
gertian@gertian-HP-ProBook-4530s:~/.wine/drive_c/ProgramFiles/KnightsAndMerchants$ ^Cgertian@gertian-HP-ProBook-4530s:~/.wine/drive_c/ProgramFiles/KnightsAndMerchants$
I guess dough that this is not the correct procedure for the log is it?
Best regards and Thanks for the support :)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installer works, application doesn't

Post by dimesio »

That is the correct way to get a log and post it.

The directory should be Program Files, not ProgramFiles. If you renamed it that way, you shouldn't have. If that's the way it was created by Wine, something is seriously wrong with the Wine you are using.

Your Wine version is old; upgrade to the latest development release.

Delete ~/.wine and reinstall your game using current Wine. This will delete everything you've installed in Wine; if you prefer to keep it, just rename the directory. A new ~/.wine will automatically be created when you run the game's installer. After installing, run the game from the command line, and if it still doesn't work, post terminal output.
Locked