The forum

cant finish install from POL but all ok with system wine

Author Replies
chain2k Sunday 23 August 2009 at 12:30
chain2kAnonymous

Hello,
Version of wine : 1.1.28
Distribution : Ubuntu
Version of the distribution : 9.04 (Jaunty)

Sometime ago i did the script for one man to install MetaTrader, it was dirty script with old POL commands, for now it cant work, so I changed it with new command. But script never finished installation of MetaTrader. Let me show you.
Script:
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init

POL_SetupWindow_presentation "MetaTrader4" "metaquotes" "http://www.metaquotes.net/" "chain2k" "MetaTrader4"
rm $REPERTOIRE/tmp/MetaTrader4/ -R
mkdir -p $REPERTOIRE/tmp/MetaTrader4
cd $REPERTOIRE/tmp/MetaTrader4
mkdir -p $REPERTOIRE/wineprefix/MetaTrader4/

POL_SetupWindow_download "Downloading installer" "MetaTrader4" "http://www.metaquotes.net/files/mt4setup.exe"
select_prefixe "$HOME/.PlayOnLinux/wineprefix/MetaTrader4"
POL_SetupWindow_prefixcreate
POL_SetupWindow_install_wine "1.1.25"
cd $REPERTOIRE/tmp/MetaTrader4
POL_SetupWindow_wait_next_signal "Installing ..." "Metatrader4"
wine mt4setup.exe
POL_SetupWindow_detect_exit
POL_SetupWindow_download "Dowmloading mfc42.dll" "Metatrader4" "http://www.dllbank.com/zip/m/mfc42.dll.zip"
unzip mfc42.dll.zip
cp -f mfc42.dll ~/.PlayOnLinux/wineprefix/MetaTrader4/drive_c/windows/system32
rm $REPERTOIRE/tmp/MetaTrader4/ -R
POL_SetupWindow_make_shortcut "MetaTrader4" "Program Files/MetaTrader 4" "terminal.exe" "MetaTrader4" "MetaTrader4"
POL_SetupWindow_message "Finished" "Metatrader4"
POL_SetupWindow_Close
exit


Wine successfully begin to install mt4setup.exe, but stop installing near the finish, just waiting something. When I kill the process all finished ok.

I tryed the same with system wine, just run
wine mt4setup.exe
and installation finished successfully.
tryed to do it with clear wine prefix - instalation successful.
But from POL installation allways stop near the end...

May be something wrong with script?
But when I run installation manually from POL i get the same result - installation stop before fiinish...

Thank you in advance for your assistance.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com