Metatrader 5

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 186797
Wine: 4.0.3

Feedbacks

Description

Automated speculation (on currencies) for end users.

 

Wikipedia. AppDB.winehq.org

See also : CrossOver.

Screenshots

Miniature

Source code

#!/bin/bash
#
# CHANGELOG
# [Tinou] (2014-07-11)
#   Initial writting.
# [Dadu042] (2019-06-29)
#   Wine 3.0.4 -> 4.0.1
# [Dadu042] (2019-10-05)
#   Wine 4.0.1 -> 4.0.2
#   Add software category
# [Dadu042] (2019-12-14)
#   Wine 4.0.2 -> 4.0.3 (4.0.2 not avaiable on POM).
#  POL_RequiredVersion "4.2.12" -> 4.3.4

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="MetaTrader 5"
PREFIX="metatrader5"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.3"

POL_Call POL_Install_LunaTheme
  
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"

POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"
  

POL_Shortcut "terminal.exe" "$TITLE" "" "" "Finance;"

# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
str197051 Wednesday 24 May 2023 at 15:33
str197051 Anonymous

Message

I'm downloading MT5, but it won't finish. why?

Replies

maekel Saturday 11 March 2023 at 20:59
maekel Anonymous

Message

download url changed "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe"

Replies

Anonymous
Wednesday 24 May 2023 at 15:32
I'm downloading MT5, but it won't finish. why?
Dadu042 Saturday 14 December 2019 at 16:12
Dadu042

Information

This update has been approved by the team.

Differences

@@ -7,7 +7,10 @@
 #   Wine 3.0.4 -> 4.0.1
 # [Dadu042] (2019-10-05)
 #   Wine 4.0.1 -> 4.0.2
-#   Add software category
+#   Add software category
+# [Dadu042] (2019-12-14)
+#   Wine 4.0.2 -> 4.0.3 (4.0.2 not avaiable on POM).
+#  POL_RequiredVersion "4.2.12" -> 4.3.4
 
 #!/bin/bash
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -20,10 +23,10 @@
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
 
-POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "4.0.2"
+POL_Wine_PrefixCreate "4.0.3"
 
 POL_Call POL_Install_LunaTheme
   
@@ -37,7 +40,7 @@
 
 POL_Shortcut "terminal.exe" "$TITLE" "" "" "Finance;"
 
-# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    
+# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
#
# CHANGELOG
# [Tinou] (2014-07-11)
#   Initial writting.
# [Dadu042] (2019-06-29)
#   Wine 3.0.4 -> 4.0.1
# [Dadu042] (2019-10-05)
#   Wine 4.0.1 -> 4.0.2
#   Add software category
# [Dadu042] (2019-12-14)
#   Wine 4.0.2 -> 4.0.3 (4.0.2 not avaiable on POM).
#  POL_RequiredVersion "4.2.12" -> 4.3.4

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="MetaTrader 5"
PREFIX="metatrader5"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.3"

POL_Call POL_Install_LunaTheme
  
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"

POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"
  

POL_Shortcut "terminal.exe" "$TITLE" "" "" "Finance;"

# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    

POL_SetupWindow_Close
exit 0

Replies

Dadu042 Saturday 5 October 2019 at 12:46
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Tested for 1 min.

Differences

@@ -5,31 +5,39 @@
 #   Initial writting.
 # [Dadu042] (2019-06-29)
 #   Wine 3.0.4 -> 4.0.1
+# [Dadu042] (2019-10-05)
+#   Wine 4.0.1 -> 4.0.2
+#   Add software category
 
 #!/bin/bash
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-    
+     
 TITLE="MetaTrader 5"
 PREFIX="metatrader5"
- 
+  
 POL_SetupWindow_Init
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
-   
+
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "4.0.1"
- 
+POL_Wine_PrefixCreate "4.0.2"
+
+POL_Call POL_Install_LunaTheme
+  
 cd "$WINEPREFIX/drive_c"
 POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
-   
-POL_Call POL_Install_LunaTheme
-   
+
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine --ignore-errors "mt5setup.exe"
 POL_Wine_WaitExit "$TITLE"
- 
-   
-POL_Shortcut "terminal.exe" "$TITLE"
+  
+
+POL_Shortcut "terminal.exe" "$TITLE" "" "" "Finance;"
+
+# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
#
# CHANGELOG
# [Tinou] (2014-07-11)
#   Initial writting.
# [Dadu042] (2019-06-29)
#   Wine 3.0.4 -> 4.0.1
# [Dadu042] (2019-10-05)
#   Wine 4.0.1 -> 4.0.2
#   Add software category

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="MetaTrader 5"
PREFIX="metatrader5"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"

POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.2"

POL_Call POL_Install_LunaTheme
  
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"

POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"
  

POL_Shortcut "terminal.exe" "$TITLE" "" "" "Finance;"

# POL_SetupWindow_message "$(eval_gettext '\nInstallation is finished ! :)')" "$TITLE"    

POL_SetupWindow_Close
exit 0

Replies

Castelli Thursday 15 August 2019 at 15:41
Castelli Anonymous

Message

Why Am I getting the message 

"Error in POL_Shortcut

Binary not found: terminal.exe

Have you installed the program to the default location?"

 

I am trying to install MT5 on a mac, why is it looking for a .exe file?

Replies

Thursday 15 August 2019 at 18:55
'terminal.exe' is the app name of Metatrader 5.
Anonymous
Thursday 15 August 2019 at 20:10
Thanks. When I downloaded it, it came with a different name. I have just renamed it and tried again only to get the following message, twice:

"Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message"
Dadu042 Saturday 29 June 2019 at 21:20
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

See CHANGELOG.

Differences

@@ -1,27 +1,35 @@
 #!/bin/bash
+#
+# CHANGELOG
+# [Tinou] (2014-07-11)
+#   Initial writting.
+# [Dadu042] (2019-06-29)
+#   Wine 3.0.4 -> 4.0.1
+
+#!/bin/bash
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
+    
 TITLE="MetaTrader 5"
 PREFIX="metatrader5"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
-  
+   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "3.0.4"
-
+POL_Wine_PrefixCreate "4.0.1"
+ 
 cd "$WINEPREFIX/drive_c"
 POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
-  
+   
 POL_Call POL_Install_LunaTheme
-  
+   
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine --ignore-errors "mt5setup.exe"
 POL_Wine_WaitExit "$TITLE"
-
-  
+ 
+   
 POL_Shortcut "terminal.exe" "$TITLE"
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
#
# CHANGELOG
# [Tinou] (2014-07-11)
#   Initial writting.
# [Dadu042] (2019-06-29)
#   Wine 3.0.4 -> 4.0.1

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="MetaTrader 5"
PREFIX="metatrader5"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
 
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
   
POL_Call POL_Install_LunaTheme
   
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"
 
   
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

danilo.vcorrea Thursday 4 April 2019 at 22:06
danilo.vcorrea Anonymous

Message

It`s not running Market. What is the limitation for get this tool implemented?

Replies

Saturday 29 June 2019 at 21:07
What is 'Market' ? screenshots welcome.
Quentin PÂRIS Sunday 16 December 2018 at 15:53
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -10,9 +10,8 @@
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.51"
+POL_Wine_PrefixCreate "3.0.4"
 
-Set_OS winxp
 cd "$WINEPREFIX/drive_c"
 POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
   

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.4"

cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

steveRoe Tuesday 13 March 2018 at 14:35
steveRoe Anonymous

Message

I get the message that the installation of MetaTrader 5 cannot be completed due to the OS version being less than WIN 7 SP1. In the source for the MT5 setup you're setting it to WinXP. Any chance to have that adapted?

 

 

Replies

Braders77 Thursday 7 December 2017 at 5:00
Braders77 Anonymous

Message

I cannot get this program to run by follwoing your instructions on teh Play Mac GUI.  I am new to play on mac and concerned I am doingn something wrong.

I am runnning Mac OSX High Sierra

I get the following POL Error "Unsupported version, Windows 7 Service Pack 1"

 

Can you please help 

Replies

redline Tuesday 22 September 2015 at 1:56
redline Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -10,7 +10,7 @@
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.22"
+POL_Wine_PrefixCreate "1.7.51"
 
 Set_OS winxp
 cd "$WINEPREFIX/drive_c"

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.51"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

redline Saturday 19 September 2015 at 23:04
redline Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -10,7 +10,7 @@
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.7.22"
+POL_Wine_PrefixCreate "1.7.46"
 
 Set_OS winxp
 cd "$WINEPREFIX/drive_c"

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.46"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

lfrohling Saturday 21 February 2015 at 16:50
lfrohling Anonymous

Message

So far so good! I'm using it on Mac but it looks good so far

Replies

petch Thursday 5 February 2015 at 21:27
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Remove MD5 download check (updated too often)

Differences

@@ -4,8 +4,7 @@
    
 TITLE="MetaTrader 5"
 PREFIX="metatrader5"
-MD5="24f2d3c1a7a28fdd368238ea3ca2cc0d"
-  
+
 POL_SetupWindow_Init
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
@@ -15,7 +14,7 @@
 
 Set_OS winxp
 cd "$WINEPREFIX/drive_c"
-POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe" "$MD5"
+POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
   
 POL_Call POL_Install_LunaTheme
   

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.22"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Quentin PÂRIS Wednesday 23 July 2014 at 23:47
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -11,7 +11,7 @@
 POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
   
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.2.3-16bits"
+POL_Wine_PrefixCreate "1.7.22"
 
 Set_OS winxp
 cd "$WINEPREFIX/drive_c"

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"
MD5="24f2d3c1a7a28fdd368238ea3ca2cc0d"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.22"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe" "$MD5"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Quentin PÂRIS Monday 14 July 2014 at 16:28
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -20,7 +20,9 @@
 POL_Call POL_Install_LunaTheme
   
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$FILE"
+POL_Wine --ignore-errors "mt5setup.exe"
+POL_Wine_WaitExit "$TITLE"
+
   
 POL_Shortcut "terminal.exe" "$TITLE"
 POL_SetupWindow_Close

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"
MD5="24f2d3c1a7a28fdd368238ea3ca2cc0d"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.2.3-16bits"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe" "$MD5"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "mt5setup.exe"
POL_Wine_WaitExit "$TITLE"

  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Edited by Tinou

Quentin PÂRIS Friday 11 July 2014 at 17:25
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,27 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="MetaTrader 5"
+PREFIX="metatrader5"
+MD5="24f2d3c1a7a28fdd368238ea3ca2cc0d"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.2.3-16bits"
+
+Set_OS winxp
+cd "$WINEPREFIX/drive_c"
+POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe" "$MD5"
+  
+POL_Call POL_Install_LunaTheme
+  
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$FILE"
+  
+POL_Shortcut "terminal.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="MetaTrader 5"
PREFIX="metatrader5"
MD5="24f2d3c1a7a28fdd368238ea3ca2cc0d"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$TITLE" "http://www.metatrader5.com/" "Tinou" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.2.3-16bits"

Set_OS winxp
cd "$WINEPREFIX/drive_c"
POL_Download "http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe" "$MD5"
  
POL_Call POL_Install_LunaTheme
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$FILE"
  
POL_Shortcut "terminal.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Edited by Tinou

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