Sucessfully installed program fails to start.

Questions about Wine on Linux
Locked
gencon
Newbie
Newbie
Posts: 1
Joined: Fri Nov 29, 2013 12:48 pm

Sucessfully installed program fails to start.

Post by gencon »

Running Wine 1.7 from repository: ppa:ubuntu-wine/ppa
The winetricks version from that repository is: v.20130707

OS: Linux Mint 13 LTS 64 bit Cinnamon (which is built on Ubuntu 12.04 LTS Precise Pangolin).


Hi,

I'm having problems running an old bit of Windows shareware which I can't get to run under Wine at all. Other programs are working fine.

The program is a Sudoku game and it had it working on my old OS Ubuntu 10.04 LTS Lucid Lynx just fine. Before someone tells me there's a Gnome Sudoku, yes I know but I have a disability and this Windows game is much easier for me to use, as well as being the best computer Sodoku game I've found.

It requires: Microsoft MDAC Refresh 2.8 and Microsoft Visual C++ 6 Runtime SP6.

So I used winetricks to install 'mdac28' and 'vcrun6sp6'.

During the install I got a "/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so not found" error, but I found the solution to that online and fixed that easily.

Once I'd sucessfully installed the sharware when I ran the installed program from the Gnome menu I just got the busy symbol for 10-15 seconds, then nothing. So I tried starting it from the command line using the command line from the Gnome menu's properties hoping a helpful error would be displayed. Unfortunately no error or message is displayed at all, again after 10-15 seconds the command simply returns. I used "echo $?" straight away to get the return value which was "0", so not much help.

Next I used winecfg and added the .exe from "Program Files" setting the Windows Version to XP which is what I had run the shareware on for years back in my Windows days. No change the same thing (i.e. nothing) happened.

So I decided it might be a 32 bit problem so I purged Wine, deleted the .wine dir, and did a clean install of Wine again.

Then created a win32 directory, installed mdac28 and vcrun6sp6 using winetricks and installed the program again:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks mdac28
env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks vcrun6sp6
env WINEARCH=win32 WINEPREFIX=~/.wine32 wine SudokuSetup.exe
Again it successfully installs. When running from the Gnome menu I again get the busy symbol for 10-15 seconds, then nothing. So I grabbed the command line from the Gnome menu properties and ran that from the command line, this time it returns immediately but there is output:

Code: Select all

$ env WINEPREFIX="/home/ms/.wine32" wine C:\\windows\\command\\start.exe /Unix /home/ms/.wine32/dosdevices/c:/users/Public/Start\ Menu/Programs/Sudoku/Play\ Sudoku.lnk
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
$ echo $?
0
So I tried running the program like this (2 subtle variations) but both times just had a 15 second delay before it returned with no message again:

Code: Select all

$ env WINEPREFIX="/home/ms/.wine32" wine ~/.wine32/drive_c/Program\ Files/Sudoku/Sud.exe
$ echo $?
0
$
$ env WINEPREFIX="/home/ms/.wine32" wine ~/.wine32/dosdevices/c\:/Program\ Files/Sudoku/Sud.exe
$ echo $?
0
And finally like this which returned immediately with no message:

Code: Select all

$ env WINEPREFIX="/home/ms/.wine32" wine C:\\windows\\command\\start.exe /Unix /home/ms/.wine32/dosdevices/c\:/Program\ Files/Sudoku/Sud.exe
$ echo $?
0
Now I have no clue what to try. Googling "fixme:exec:SHELL_execute flags ignored" did not provide any results with ideas of how to fix my problem.

Please help, I know the program can run under wine because I ran it using Wine on Ubuntu 10.04 LTS Lucid Lynx for several years.

If anyone wants to take a look the shareware Sudoku game setup file can be downloaded from the link below, the company that made the game does not exist anymore.

http://gencon.crius.feralhosting.com/fi ... uSetup.zip

Thanks all.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Sucessfully installed program fails to start.

Post by dimesio »

The game hangs on start for me with

Code: Select all

 err:seh:raise_exception Unhandled exception code 80000001 flags 0 addr 0x7bc813b9
err:ntdll:RtlpWaitForCriticalSection section 0x7bccfce0 "loader.c: loader_section" wait timed out in thread 0034, blocked by 002f, retrying (60 sec)
I get the same thing with Wine 1.4, so if this is a regression, it's a very old one.

Run a regression test and file a bug. http://wiki.winehq.org/RegressionTesting
Locked