sometimes MT4 update is failing on replacing "terminal.exe" (but successfully update metaeditor.exe file), I presume because the updater is
closing the current terminal.exe before replacing files, and due to timing reasons the old "terminal.exe" file is still locked,
preventing the update to replace this specific file.
LiveUpdate: updater - started for portable 'C:\Program Files\MetaTrader 4'
LiveUpdate: updater - try to close terminal
LiveUpdate: updater - files update started
LiveUpdate: copied from'C:\Users\user\AppData\Roaming\MetaQuotes\WebInstall\mt4clw\metaeditor.exe' to 'C:\Program Files\MetaTrader 4\metaeditor.exe'
LiveUpdate: copy error from'C:\Users\user\AppData\Roaming\MetaQuotes\WebInstall\mt4clw\terminal.exe' to 'C:\Program Files\MetaTrader 4\terminal.exe' [32]
LiveUpdate: updater - files update failed
LiveUpdate: updater - finished for portable 'C:\Program Files\MetaTrader 4'
I've found a solution to run the updater manualy using command line, which does not open "terminal.exe" first and so the file never
get locked :
Hi
sometimes MT4 update is failing on replacing "terminal.exe" (but successfully update metaeditor.exe file), I presume because the updater is closing the current terminal.exe before replacing files, and due to timing reasons the old "terminal.exe" file is still locked, preventing the update to replace this specific file.
I've found a solution to run the updater manualy using command line, which does not open "terminal.exe" first and so the file never get locked :
C:\Users\user\AppData\Roaming\MetaQuotes\WebInstall\mt4clw\terminal.exe /updateadmin "C:\Program Files\MetaTrader 4" /portableThis is using the portable switch.
Hope this could be usefull for other people with the same issue.