Pronote 2016

Informations

Créateur Messages
percherie Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 5759
Wine: 1.8.4

Retours d'expérience

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.

Code source

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

Contribuer
Membre Messages
ericT Mardi 22 Novembre 2016 à 15:52
ericT Anonymous

Messages

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.

Réponses

percherie Samedi 24 September 2016 à 10:29
percherie Anonymous

Information

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

Messages

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

Nouveau code source

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

Réponses

Vendredi 3 Mars 2017 à 13:01
For some reason it does not work and get stuck when retrieving the exe although the path is correct