Tâche #12598
Distribution EOLE - Scénario #13500: Assistance aux utilisateurs (42-44)
coquille dans wpkg-gp_update.bat et wpkg-gp_install.bat
Description
Bonjour,
A mon sens, il y a une coquille dans les bat:
wpkg-gp_update.bat
wpkg-gp_install.bat
Remplacer :
dans
wpkg-gp_install.bat
:SuiteClient
"%wpkg-client%" /S /INI "%settings-file%"
echo *******************************************************************
par
:SuiteClient
"%wpkg-client%" /S /INI "%settings-file%"
echo *******************************************************************
net stop wpkgserver
net start wpkgserver
et dans
wpkg-gp_update.bat
set wpkg-gp-dir=%PROGRAMFILES%\Wpkg-GP\
par
set wpkg-gp-dir="%PROGRAMFILES%\Wpkg-GP\"
History
#1 Updated by Klaas TJEBBES almost 8 years ago
wpkg-gp_install.bat :SuiteClient "%wpkg-client%" /S /INI "%settings-file%" echo ******************************************************************* par :SuiteClient "%wpkg-client%" /S /INI "%settings-file%" echo ******************************************************************* net stop wpkgserver net start wpkgserver
La différence :
net stop wpkgserver net start wpkgserver
n'est pas nécessaire, Wpkg-GP s'exécutant au redémarrage du poste, le redémarrage du service sera fait à ce moment là.
#2 Updated by David PAILLER almost 8 years ago
D accord.
Par contre , l'ajout des guillemets empêche l'erreur de paramètres du fait de l'espace dans program files.
#3 Updated by Klaas TJEBBES almost 8 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 4a9b1e4837e302ce3ce2d3b619968818c5771a1b.
#4 Updated by Joël Cuissinat almost 8 years ago
- Tracker changed from Anomalie to Tâche
- Status changed from Résolu to En cours
- Assigned To set to Klaas TJEBBES
- Estimated time set to 1.00 h
- Parent task set to #12978
- Remaining (hours) set to 0.75
Il faut régler le problème de la diffusion de cette modification !
#5 Updated by Klaas TJEBBES almost 8 years ago
- Status changed from En cours to Résolu
Appliqué par commit 9b2e68eae229467885c5f9061dd16cbe17da3eff.
#6 Updated by Joël Cuissinat almost 8 years ago
=> paquet candidat eole-wpkg 2.5.1-1
#7 Updated by Bruno Boiget almost 8 years ago
- Status changed from Résolu to En cours
- % Done changed from 100 to 90
en voulant fermer la demande, je suis tombé sur le fichier wpkg_client_update_conf.bat qui contient une ligne du même style :
set wpkginst=%PROGRAMFILES%\WPKG\wpkginst.exe
voir si il faut mettre des double quote aussi ?
#8 Updated by Joël Cuissinat almost 8 years ago
- Status changed from En cours to Nouveau
- % Done changed from 90 to 50
- Estimated time changed from 1.00 h to 2.00 h
- Parent task changed from #12978 to #13500
- Remaining (hours) changed from 0.75 to 1.0
=> étudier la remarque de Bruno !
#9 Updated by Scrum Master almost 8 years ago
- Status changed from Nouveau to En cours
#10 Updated by Klaas TJEBBES almost 8 years ago
En fait les doubles quotes sont ajoutés au moment de l'appel de la variable.
#11 Updated by Scrum Master almost 8 years ago
- Status changed from En cours to Résolu
#12 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- % Done changed from 50 to 100
- Remaining (hours) changed from 1.0 to 0.0
Vu Scribe 2.5.1 :
root@scribe:~# grep PROGRAMFILES /usr/share/eole/creole/distrib/wpkg-gp_update_conf.bat set wpkg-gp-dir="%PROGRAMFILES%\Wpkg-GP\"