Night Nord
17-07-2007, 16:06
Please make sure you are using a up-to-date version of Wine. We are doing all this on version 0.9.29.
If you already have .wine folder in the home directory please remove this folder anywhere else, for example:
mv ~/.wine ~/.wine.bak
Next, create the wine folder anew by the command:
winecfg
Go to 'Audio' layout in the appeared dialog window.
.winecfg will automatically detect your audiosystem (ALSA is preferrable), if you have one, and will report a success (otherwise failure). If it failures to detect your audiosystem, please switch off all drivers, else you may have some errors.
Next, download the library mfc42.dll from dlldump (! NB: - this is the latest version. MT4 will not work with older versions).
Download Page (http://www.dlldump.com/download-dll-files_new.php/dllfiles/M/mfc42.dll/6.0.400/download.html).
Or this one - Search Page (http://www.google.com/custom?domains=DllDump.com&q=mfc42.dll&sitesearch=DllDump.com&sa=Search&client=pub-3775111532517464&channel=6155056220&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&safe=active&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000% 3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&hl=en)
Copy the downloaded library to .wine/drive_c/windows/system32/
cp /path/to/downloaded/dll/mfc42.dll ~/.wine/drive_c/windows/system32/
Next, open 'Libraries' layout and add the downloaded library to overrides: type in the input line "mfc42.dll" and press 'Add'.
[attachmentid=1028]
Make sure that "mfc42" (native, built-in)" have appeared in the list and press 'Apply'.
[attachmentid=1029]
(now you can close the winecfg window)
Next, please download MT4 - http://forextrade.ru/downloads/mt4setup.exe
and start the installation by the command
wine /path/to/downloaded/installer/mt4setup.exe
MT4 will run automatically once installation is finished
If you wish to run it manually please go by the console to .wine/drive_c/Program Files/MetaTrader 4/ and run terminal.exe
cd ~/.wine/drive_c/Program\ Files/MetaTrader\ 4/
wine terminal.exe
Notes:
1. Sounds can be delayed. Try to check winecfg - Audio - Hardware Acceleration - Emulation.
2. If you will try to open the confirmation mail in MT, wine will offer to upload the Gecko engine - accept it. After Gecko installation you will be able to open MT4 mail. It may crush MT4, but just once (it is running completely Ok at the next start).
If you already have .wine folder in the home directory please remove this folder anywhere else, for example:
mv ~/.wine ~/.wine.bak
Next, create the wine folder anew by the command:
winecfg
Go to 'Audio' layout in the appeared dialog window.
.winecfg will automatically detect your audiosystem (ALSA is preferrable), if you have one, and will report a success (otherwise failure). If it failures to detect your audiosystem, please switch off all drivers, else you may have some errors.
Next, download the library mfc42.dll from dlldump (! NB: - this is the latest version. MT4 will not work with older versions).
Download Page (http://www.dlldump.com/download-dll-files_new.php/dllfiles/M/mfc42.dll/6.0.400/download.html).
Or this one - Search Page (http://www.google.com/custom?domains=DllDump.com&q=mfc42.dll&sitesearch=DllDump.com&sa=Search&client=pub-3775111532517464&channel=6155056220&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&safe=active&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000% 3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&hl=en)
Copy the downloaded library to .wine/drive_c/windows/system32/
cp /path/to/downloaded/dll/mfc42.dll ~/.wine/drive_c/windows/system32/
Next, open 'Libraries' layout and add the downloaded library to overrides: type in the input line "mfc42.dll" and press 'Add'.
[attachmentid=1028]
Make sure that "mfc42" (native, built-in)" have appeared in the list and press 'Apply'.
[attachmentid=1029]
(now you can close the winecfg window)
Next, please download MT4 - http://forextrade.ru/downloads/mt4setup.exe
and start the installation by the command
wine /path/to/downloaded/installer/mt4setup.exe
MT4 will run automatically once installation is finished
If you wish to run it manually please go by the console to .wine/drive_c/Program Files/MetaTrader 4/ and run terminal.exe
cd ~/.wine/drive_c/Program\ Files/MetaTrader\ 4/
wine terminal.exe
Notes:
1. Sounds can be delayed. Try to check winecfg - Audio - Hardware Acceleration - Emulation.
2. If you will try to open the confirmation mail in MT, wine will offer to upload the Gecko engine - accept it. After Gecko installation you will be able to open MT4 mail. It may crush MT4, but just once (it is running completely Ok at the next start).