Windows soft ok on Linux 32 bits but failing on 64 bits

Questions about Wine on Linux
Locked
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

Hello

I am able to run Zedtv
neo-net.fr/forum/viewtopic.php?t=5563

on Ubuntu 12.04 32 bits (and also 13.04 and 14.04 32 bits).

But it fails on any Linux 64 bits (the installation runs fine, then it fails when launching Zedtv) with what seems to be an AutoIT Error at line 12146

variable used without being declared.

I asked ZedtV author (the source is not available), and he told me this line is generated by AutoIT, as his code begins later.
Also, this runs fine on Mac OS X, so I think we should be able to run it on Linux 64 bits.
Zedtv author told me that on Mac OS X, the guy who ported it included IE components.
I have tried to install IE6 or IE7 in wine, to no avail.

I used
WINEARCH=win32
to no avail.

Thanks for any hint.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by dimesio »

k3ck3c wrote: I used
WINEARCH=win32
to no avail.
How exactly did you use that? If it wasn't to create a new wineprefix, it won't work. You can't change the architecture of an existing wineprefis.
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

On my system wine is already configured in order to use Captvty, so I did all what is on

http://forum.ubuntu-fr.org/viewtopic.ph ... #p13673841

and tried to start Zedtv with

export WINEPREFIX="/home/$USER/.wine_captvty" wine ~/zedtv/zedtv.exe
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

and also, as ~/.wine_xxx does not exist, I tried

$ export WINEPREFIX="/home/$USER/.wine_xxx"; wine ~/zedtv/zedtv.exe
wine: created the configuration directory '/home/gg/.wine_xxx'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee890, overlapped 0x10ee89c): stub
wine: configuration in '/home/gg/.wine_xxx' has been updated.
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
+>0 : 0.92
+>1 : 2.7475
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
fixme:win:LockWindowUpdate ((nil)), partial stub!

and got the same error message

variable used without being declared

Do I need mscoree.dll in my library files, by the way ?
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

I have those files

gg@gg-P15SM-A-SM1-A:~$ find .wine* -name "*mscoree.dll*" -print
.wine/drive_c/windows/system32/mscoree.dll
.wine_captvty/drive_c/windows/system32/mscoree.dll
.wine_ref/drive_c/windows/system32/mscoree.dll
.wine_ref/drive_c/windows/syswow64/mscoree.dll
.wine_xxx/drive_c/windows/system32/mscoree.dll
.wine_zedtv/drive_c/windows/system32/mscoree.dll
gg@gg-P15SM-A-SM1-A:~$
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by dimesio »

k3ck3c wrote:and also, as ~/.wine_xxx does not exist, I tried

$ export WINEPREFIX="/home/$USER/.wine_xxx"; wine ~/zedtv/zedtv.exe
wine: created the configuration directory '/home/gg/.wine_xxx'
That will not create a 32 bit wineprefix if you have 64 bit Wine installed. You have to specify WINEARCH=win32 when creating the wineprefix.

Mscoree.dll is part of wine-mono.

You haven't mentioned what Wine version you're using. If it's not the latest development release, upgrade.
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

>>>You haven't mentioned what Wine version you're using. If it's not the latest development release, upgrade.

gg@gg-P15SM-A-SM1-A:~$ wine --version
wine-1.6.2
gg@gg-P15SM-A-SM1-A:~$

I will upgrade and retry, but I am a bit suprised: Captvty requires a lot of things in order to work fine under Linux, and works flawlessly since wine 1.4

I wonder what Zedtv would need, as it works with Mac Os X.
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

dimesio wrote:
k3ck3c wrote:and also, as ~/.wine_xxx does not exist, I tried

$ export WINEPREFIX="/home/$USER/.wine_xxx"; wine ~/zedtv/zedtv.exe
wine: created the configuration directory '/home/gg/.wine_xxx'
That will not create a 32 bit wineprefix if you have 64 bit Wine installed. You have to specify WINEARCH=win32 when creating the wineprefix.

is that better ?

gg@gg-P15SM-A-SM1-A:~$ export WINEARCH=win32 ; export WINEPREFIX="/home/$USER/.wine_yyy"; wine ~/zedtv/zedtv.exe
wine: created the configuration directory '/home/gg/.wine_yyy'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee890, overlapped 0x10ee89c): stub
wine: configuration in '/home/gg/.wine_yyy' has been updated.
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
+>0 : 0.5613
+>1 : 1.5533
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
fixme:win:LockWindowUpdate ((nil)), partial stub!
gg@gg-P15SM-A-SM1-A:~$

still the same error
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by dimesio »

I wonder what Zedtv would need, as it works with Mac Os X.
Wine is only available in 32 bit on MacOSX. Are you sure you have all of Wine's 32 bit dependencies installed in Linux?
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
Try native wininet.
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

dimesio wrote:
I wonder what Zedtv would need, as it works with Mac Os X.
Wine is only available in 32 bit on MacOSX. Are you sure you have all of Wine's 32 bit dependencies installed in Linux?
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECTED_STATE: STUB
Try native wininet.
I now have installed wine 1.7 and wine 1.7-dev

I did

winetricks wininet

and it improved greatly, now it launches, I still get some Windows errors, but it displays the various TV.
The errors are displayed in a box
Error number 000000A9
Win description: variable must be of type object
Script line:-1

I guess this is more for the author of Zedtv than for wine ?

Thanks a lot for your great help.
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Windows soft ok on Linux 32 bits but failing on 64 bits

Post by k3ck3c »

a straightforward

Code: Select all

winetricks ie8
has solved all my remaining problems

Now it works exactly as in Windows!
Locked