Metatrader 5

Informations

Créateur Messages
Quentin PÂRIS
Admin

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 110921
Wine: 4.0.3

Retours d'expérience

Description

Automated speculation (on currencies) for end users.

 

Wikipedia. AppDB.winehq.org

Captures d'écran

Miniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Samedi 14 Décembre 2019 à 16:12
Dadu042
Modérateur

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

#!/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

Réponses

Dadu042 Samedi 5 Octobre 2019 à 12:46
Dadu042
Modérateur

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Castelli Jeudi 15 Aoüt 2019 à 15:41
Castelli Anonymous

Messages

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?

Réponses

Jeudi 15 Aoüt 2019 à 18:55
'terminal.exe' is the app name of Metatrader 5.
Anonymous
Jeudi 15 Aoüt 2019 à 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 Samedi 29 Juin 2019 à 21:20
Dadu042
Modérateur

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

danilo.vcorrea Jeudi 4 Avril 2019 à 22:06
danilo.vcorrea Anonymous

Messages

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

Réponses

Samedi 29 Juin 2019 à 21:07
What is 'Market' ? screenshots welcome.
Quentin PÂRIS Dimanche 16 Décembre 2018 à 15:53
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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"
   

Nouveau code source

#!/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

Réponses

steveRoe Mardi 13 Mars 2018 à 14:35
steveRoe Anonymous

Messages

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?

 

 

Réponses

Braders77 Jeudi 7 Décembre 2017 à 5:00
Braders77 Anonymous

Messages

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 

Réponses

redline Mardi 22 September 2015 à 1:56
redline Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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"

Nouveau code source

#!/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

Réponses

redline Samedi 19 September 2015 à 23:04
redline Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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"

Nouveau code source

#!/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

Réponses

lfrohling Samedi 21 Février 2015 à 16:50
lfrohling Anonymous

Messages

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

Réponses

petch Jeudi 5 Février 2015 à 21:27
petch
Développeur

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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
   

Nouveau code source

#!/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

Réponses

Quentin PÂRIS Mercredi 23 Juillet 2014 à 23:47
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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"

Nouveau code source

#!/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

Réponses

Quentin PÂRIS Lundi 14 Juillet 2014 à 16:28
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Edité par Tinou

Quentin PÂRIS Vendredi 11 Juillet 2014 à 17:25
Quentin PÂRIS
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Edité par Tinou