Metatrader 5

Informatie

Creator Bericht
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 190041
Wine: 4.0.3

Feedbacks

Omschrijving

Automated speculation (on currencies) for end users.

 

Wikipedia. AppDB.winehq.org

See also : CrossOver.

Schermafdrukken

Miniature

Broncode

#!/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 Bericht
str197051 Woensdag 24 Mei 2023 om 15:33
str197051 Anonymous

Bericht

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

Antwoorden

maekel Zaterdag 11 Maart 2023 om 20:59
maekel Anonymous

Bericht

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

Antwoorden

Anonymous
Woensdag 24 Mei 2023 om 15:32
I'm downloading MT5, but it won't finish. why?
Dadu042 Zaterdag 14 December 2019 om 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

Antwoorden

Dadu042 Zaterdag 5 October 2019 om 12:46
Dadu042

Warning

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

Bericht

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

Antwoorden

Castelli Donderdag 15 Augustus 2019 om 15:41
Castelli Anonymous

Bericht

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?

Antwoorden

Donderdag 15 Augustus 2019 om 18:55
'terminal.exe' is the app name of Metatrader 5.
Anonymous
Donderdag 15 Augustus 2019 om 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 Zaterdag 29 Juni\ 2019 om 21:20
Dadu042

Warning

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

Bericht

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

Antwoorden

danilo.vcorrea Donderdag 4 April 2019 om 22:06
danilo.vcorrea Anonymous

Bericht

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

Antwoorden

Zaterdag 29 Juni\ 2019 om 21:07
What is 'Market' ? screenshots welcome.
Quentin PÂRIS Zondag 16 December 2018 om 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

Antwoorden

steveRoe Dinsdag 13 Maart 2018 om 14:35
steveRoe Anonymous

Bericht

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?

 

 

Antwoorden

Braders77 Donderdag 7 December 2017 om 5:00
Braders77 Anonymous

Bericht

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 

Antwoorden

redline Dinsdag 22 September 2015 om 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

Antwoorden

redline Zaterdag 19 September 2015 om 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

Antwoorden

lfrohling Zaterdag 21 Februari 2015 om 16:50
lfrohling Anonymous

Bericht

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

Antwoorden

petch Donderdag 5 Februari 2015 om 21:27
petch

Warning

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

Bericht

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

Antwoorden

Quentin PÂRIS Woensdag 23 Juli 2014 om 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

Antwoorden

Quentin PÂRIS Maandag 14 Juli 2014 om 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

Antwoorden

Aangepast door Tinou

Quentin PÂRIS Vrijdag 11 Juli 2014 om 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

Antwoorden

Aangepast door 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