winetricks mfc42 doesn't work

Questions about Wine on Linux
Locked
MoonKid
Level 2
Level 2
Posts: 12
Joined: Tue Oct 16, 2012 9:21 am

winetricks mfc42 doesn't work

Post by MoonKid »

Installing the mfc42.dll doesn't work currently because winetricks is not able to download it. What is this all about. Is there another source for it and how can I install it? I need my IrfanView running. ;)

Code: Select all

vuser@vuser-VirtualBox:~/script$ winetricks mfc42
Executing w_do_call mfc42
Executing load_mfc42
Executing mkdir -p /home/vuser/.cache/winetricks/vcrun6
Downloading http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe to /home/vuser/.cache/winetricks/vcrun6
--2014-02-22 19:32:24--  http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe
Resolving download.microsoft.com (download.microsoft.com)... 23.62.99.34, 23.62.99.40
Connecting to download.microsoft.com (download.microsoft.com)|23.62.99.34|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-02-22 19:32:24 ERROR 404: Not Found.

------------------------------------------------------
Downloading http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe failed
------------------------------------------------------
vuser@vuser-VirtualBox:~/script$ wine setup_bin/irfanview.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\home\\vuser\\script\\setup_bin\\irfanview.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\vuser\\script\\setup_bin\\irfanview.exe" failed, status c0000135
vuser@vuser-VirtualBox:~/script$
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetricks mfc42 doesn't work

Post by dimesio »

Make sure you have the latest winetricks, and if the problem persists, report it to http://winetricks.org.
MoonKid
Level 2
Level 2
Posts: 12
Joined: Tue Oct 16, 2012 9:21 am

Re: winetricks mfc42 doesn't work

Post by MoonKid »

How do I know what the current winetricks is and where can I get it? Following your link doesn't help. There is no information about the current version and no Download-Sections for debs or something like that. And "no" I won't build it from source just to make IrfanView running.

My winetricks version is "20120308". Looks quite old (bodhi-linux rep). Damn. I think this is the problem.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetricks mfc42 doesn't work

Post by dimesio »

Use this command to download it:

Code: Select all

wget http://winetricks.googlecode.com/svn/trunk/src/winetricks
That should save it in your home directory as winetricks. Run it with

Code: Select all

sh winetricks
There is nothing to build; winetricks is just a script.
MoonKid
Level 2
Level 2
Posts: 12
Joined: Tue Oct 16, 2012 9:21 am

Re: winetricks mfc42 doesn't work

Post by MoonKid »

With the current Ubuntu-Version of winetricks it worked fine. It just depends on the old/LTS Bodhi-Linux repositories.
Locked