I'm trying to have a Windows program (Janome Customizer) run with wine. I have an "out of the box" Ubuntu 64bits 12.04 install, and just ran Software Center to update all packages.
Installation of Customizer went OK, then I run the program, a window appear, but nothing happens when I click a button. So I run the program with what I found in the shortcut installed by wine:
john@mylaptop:~$ env WINEPREFIX="/home/john/.wine" wine "C:\\windows\\command\\start.exe" /Unix "/home/john/.wine/dosdevices/c:/users/Public/Desktop/JANOME Customizer.lnk"
I get two warnings:
fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00004100
The Customizer window appear, and when I click a button this error is printed:
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\MkStitch.dll") not found err:module:import_dll Library MkStitch.dll (which is needed by L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\EasyImport95.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\\\\Program Files (x86)\\\\janome\\\\Customizer 10000 Plus\\\\MC9500\\\\EasyImport95.exe" failed, status c0000135
So I googled for this error and tried to install mfc42 with winetricks, but I get the error:
john@mylaptop:~$ winetricks mfc42 Executing w_do_call mfc42 Executing load_mfc42 Executing mkdir -p /home/john/.cache/winetricks/vcrun6 Downloading http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe to /home/john/.cache/winetricks/vcrun6 --2012-07-28 08:58:50-- http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe Resolving download.microsoft.com (download.microsoft.com)... 184.108.40.206, 220.127.116.11 Connecting to download.microsoft.com (download.microsoft.com)|18.104.22.168|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-07-28 08:58:51 ERROR 404: Not Found. ------------------------------------------------------ Downloading http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redistsetup_enu.exe failed ------------------------------------------------------
I tried to manually install mfc42 with other google results, to no avail. I would prefer to use winetricks. If I can't do it with winetricks, manual install belongs to another question.
Just to be sure, I tried booting on a live CD (USB key, actually), with Ubuntu 12.04 32bits. Installed wine through Software Center, but then running
winetricks mfc42 yields the same error.
Interestingly, on another computer which I use daily, plugged into the same internet router, installing mfc42 works:
11:35:45 ~>winetricks mfc42 p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory Executing /usr/bin/cabextract -q /home/jrouquie/.cache/winetricks/vcredist.exe -d /home/jrouquie/.wine/dosdevices/c:/windows/system32 -F mfc42u.dll Using native,builtin override for following DLLs: msvcrt Executing early_wine regedit c:\winetrickstmp\override-dll.reg Install of mfc42 done winetricks done. 11:36:29 ~>winetricks mfc42 prerequisite vcrun6 already installed, skipping Install of mfc42 done winetricks done. 11:46:00 ~>
Thanks for any help installing mfc42.