Pronote 2016

Informations

Creator Message
percherie Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 5910
Wine: 1.8.4

Feedbacks

Description

Ce script permet d'installer automatiquement Pronote 2016 depuis le site officiel d'index éducation.

Les autres versions de Pronote sont installable en indiquant le fichier d'installation que vous devez préalablement télécharger.

Source code

#!/bin/bash
# Installation de Pronote
# RealName: Pronote 2016
# Date : (2015-09-12 14-52)
# Last revision : (2016-09-22 20-20)
# Author : Percherie
 
 
#Vérifier que PlayOnLinux est exécuté
[ "$PLAYONLINUX" = "" ] && exit 0
 
 
# Charger les librairies
source "$PLAYONLINUX/lib/sources"
 
# Nom du script et du disque
TITLE="Pronote 2016"
PREFIX="Pronote"
WORKING_WINE="1.8.4"
 
# Controle de version
POL_SetupWindow_Init
POL_Debug_Init
 
# Nom des raccourcis
SHORTCUT="Client Pronote"
 
# Nom des fichier BIN
BIN="Install_PRNclient_FR2700202.exe"
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Index Education" "http://www.index-education.com/" "Percherie" "$PREFIX"
 
 
# Choix du fichier de la source d'installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Veuillez choisir le fichier d'installation')" "$TITLE" "$BIN"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # Téléchargement de Pronote
    POL_Download "http://tele3.index-education.com/telechargement/pn/V27.0/exe/$BIN"
    INSTALLER="$POL_System_TmpDir/$BIN"
fi
 
# Configuration du disque virtuel
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE"
POL_Call POL_Install_msxml6
POL_Wine_OverrideDLL "native,builtin" "msxml6"
Set_OS win7
 
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "$INSTALLER"
 
 
# Raccourci pour Pronote
POL_Shortcut "Client PRONOTE.exe" "$SHORTCUT"
 
 
# Fermeture de l'assistant d'installation
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
ericT Tuesday 22 November 2016 at 15:52
ericT Anonymous

Message

Le programme a correctement fonctionné, mais j'ai eu des problèmes avec le script pour choisir la source d'installation. Le script n'a donc pas fonctionné pour moi.

Replies

percherie Saturday 24 September 2016 at 10:29
percherie Anonymous

Information

This update has been approved by the team.

Message

Voici le script à intégrer dans PlayOnLinux... Je n'ai pas trouvé où le soumettre lors de la création du message.

Differences

@@ -0,0 +1,69 @@
+#!/bin/bash
+# Installation de Pronote
+# RealName: Pronote 2016
+# Date : (2015-09-12 14-52)
+# Last revision : (2016-09-22 20-20)
+# Author : Percherie
+ 
+ 
+#Vérifier que PlayOnLinux est exécuté
+[ "$PLAYONLINUX" = "" ] && exit 0
+ 
+ 
+# Charger les librairies
+source "$PLAYONLINUX/lib/sources"
+ 
+# Nom du script et du disque
+TITLE="Pronote 2016"
+PREFIX="Pronote"
+WORKING_WINE="1.8.4"
+ 
+# Controle de version
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# Nom des raccourcis
+SHORTCUT="Client Pronote"
+ 
+# Nom des fichier BIN
+BIN="Install_PRNclient_FR2700202.exe"
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Index Education" "http://www.index-education.com/" "Percherie" "$PREFIX"
+ 
+ 
+# Choix du fichier de la source d'installation
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Veuillez choisir le fichier d'installation')" "$TITLE" "$BIN"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    # Téléchargement de Pronote
+    POL_Download "http://tele3.index-education.com/telechargement/pn/V27.0/exe/$BIN"
+    INSTALLER="$POL_System_TmpDir/$BIN"
+fi
+ 
+# Configuration du disque virtuel
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE"
+POL_Call POL_Install_msxml6
+POL_Wine_OverrideDLL "native,builtin" "msxml6"
+Set_OS win7
+ 
+ 
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine --ignore-errors "$INSTALLER"
+ 
+ 
+# Raccourci pour Pronote
+POL_Shortcut "Client PRONOTE.exe" "$SHORTCUT"
+ 
+ 
+# Fermeture de l'assistant d'installation
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Installation de Pronote
# RealName: Pronote 2016
# Date : (2015-09-12 14-52)
# Last revision : (2016-09-22 20-20)
# Author : Percherie
 
 
#Vérifier que PlayOnLinux est exécuté
[ "$PLAYONLINUX" = "" ] && exit 0
 
 
# Charger les librairies
source "$PLAYONLINUX/lib/sources"
 
# Nom du script et du disque
TITLE="Pronote 2016"
PREFIX="Pronote"
WORKING_WINE="1.8.4"
 
# Controle de version
POL_SetupWindow_Init
POL_Debug_Init
 
# Nom des raccourcis
SHORTCUT="Client Pronote"
 
# Nom des fichier BIN
BIN="Install_PRNclient_FR2700202.exe"
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Index Education" "http://www.index-education.com/" "Percherie" "$PREFIX"
 
 
# Choix du fichier de la source d'installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Veuillez choisir le fichier d'installation')" "$TITLE" "$BIN"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    # Téléchargement de Pronote
    POL_Download "http://tele3.index-education.com/telechargement/pn/V27.0/exe/$BIN"
    INSTALLER="$POL_System_TmpDir/$BIN"
fi
 
# Configuration du disque virtuel
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE"
POL_Call POL_Install_msxml6
POL_Wine_OverrideDLL "native,builtin" "msxml6"
Set_OS win7
 
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine --ignore-errors "$INSTALLER"
 
 
# Raccourci pour Pronote
POL_Shortcut "Client PRONOTE.exe" "$SHORTCUT"
 
 
# Fermeture de l'assistant d'installation
POL_SetupWindow_Close
exit

Replies

Friday 3 March 2017 at 13:01
For some reason it does not work and get stuck when retrieving the exe although the path is correct

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