Error while installing DLL with winetricks

Questions about Wine on Linux
Locked
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Error while installing DLL with winetricks

Post by UlfZibis »

Hi,
I'm on Ubuntu 14.04 64-bit.
A Windows 32-bit program requires Msjet40.dll and Dao360.dll.
With winetricks I tried to install jet40 and I get: Installer doesn't support 64-bit architecture.
1. What can I do?
2. How do I install Dao360.dll?

Thanks in advance,
Ulf
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error while installing DLL with winetricks

Post by dimesio »

Install to a 32 bit wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Re: Error while installing DLL with winetricks

Post by UlfZibis »

Aha thanks.
I have missed to mention, that the application "Buhl t@x 2014 professional" works fine after normal install except for the module, which uses the Msjet dll. (see attachment)
The regular Installer installed the program into "~/.wine/dosdevices/c:/Program Files (x86)/Buhl finance/tax Steuersoftware 2014"
So should I now uninstall the application, set the winearch + wineprefix and then install again?
What does it mean: "Install to a wineprefix"?
Which kind of path you suggest for the wineprefix, should I use? :
WINEARCH=win32 WINEPREFIX="~/.wine/dosdevices/c:/Program Files (x86)/Buhl finance/tax Steuersoftware 2014" winecfg

... or should I just run winetricks with WINEARCH=win32 WINEPREFIX=... to install the missing dll.

BTW: I have a licensed Windows 7 64-bit on my machine. Maybe I just could copy the DLLs and missing registry settings from there.
Attachments
tax2014 missing DLLs.png
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error while installing DLL with winetricks

Post by dimesio »

UlfZibis wrote: So should I now uninstall the application, set the winearch + wineprefix and then install again?
You can't change the architecture of an existing wineprefix. You need to create a new one following the instructions I linked you to. Whether you keep the old one is up to you; if you don't have anything else installed in ~/.wine that you want to keep you can just delete it and recreate it as a 32 bit wineprefix.
What does it mean: "Install to a wineprefix"?
http://wiki.winehq.org/FAQ#wineprefix
Which kind of path you suggest for the wineprefix, should I use? :
WINEARCH=win32 WINEPREFIX="~/.wine/dosdevices/c:/Program Files (x86)/Buhl finance/tax Steuersoftware 2014" winecfg
That will create a whole new wineprefix under the tax Steuersoftware 2014 directory. Theoretically I suppose that could work (wineprefixes are just directories), but it's going to be a very confusing to manage, so I wouldn't recommend it.
... or should I just run winetricks with WINEARCH=win32 WINEPREFIX=... to install the missing dll.
Yes, but you will have to create the 32 bit wineprefix first and also install your app to that.
BTW: I have a licensed Windows 7 64-bit on my machine. Maybe I just could copy the DLLs and missing registry settings from there.
You could try, but that's not supported, so if it doesn't work, you're on your own. Make sure you copy the 32 bit dlls (in syswow64), not the 64 bit ones (in system32). You may also have to set the Windows version in winecfg to Windows 7.
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Re: Error while installing DLL with winetricks

Post by UlfZibis »

Please excuse, but I still do not know how to install the missing Dao360.dll, as it is not listed in winetricks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error while installing DLL with winetricks

Post by dimesio »

It's part of jet40.
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Re: Error while installing DLL with winetricks

Post by UlfZibis »

Hi again, I did the following:
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
... and in the automatically opened winecfg I added the later following setup.exe to the applications
WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks
... and installed jet40 successfully
... closed winecfg
I right-clicked the setup.exe on my install CD to start with Wine.
--> I discovered, that even registered with WINEPREFIX=~/.wine32 winecfg the setup.exe was running in the default ~.wine, but not ~.wine32 environment, so I ran:
WINEARCH=win32 WINEPREFIX=~/.wine32 /media/ich/tax2014/Setup/setup.exe
--> After adding all info to the installer and hit "install", it froze with a transparent window.
I did a screen shot and opened GIMP to cut it smaller
--> Surprise: also GIMP was only opened with a transparent window, so I can't send you the screen shot.

Any additional ideas?
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Re: Error while installing DLL with winetricks

Post by UlfZibis »

Now I deleted ~/.wine32 and ran only:
WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks
... and installed jet40 successfully
WINEARCH=win32 WINEPREFIX=~/.wine32 /media/cd/tax2014/Setup/setup.exe
WINEARCH=win32 WINEPREFIX=~/.wine32 /media/Sicherung/Software/Ab\ 08.05.2012/Download/Steuer/TaxSteuersoftware2014Update218712.exe
--> This time it was successfull
Now I ran the application from the wine menu.
As data folder in the applications options I set ~/home/user/Dokumente/Steuer
(Note: ~/home/user/Dokumente is a symlink to my data partition, formatted in NTFS)
Now I started working with the application, first importing old data from last year and then, when I wanted to save it, I got: Volume is write-protected.

Any other new idea?
UlfZibis
Level 3
Level 3
Posts: 91
Joined: Thu Sep 18, 2014 6:41 pm

Re: Error while installing DLL with winetricks

Post by UlfZibis »

After restart again, now all seems to work fine :D

Thanks a lot for all your help!
Locked