Comment créer une installation automatisée des mises à jour de TopSolid ?
Le besoin est de déployer les mises à jour de TopSolid sur plusieurs postes sans avoir à relancer manuellement TopSolid'Update sur chaque poste.
Le principe est d'installer les mises à jour sur un poste dit poste maître puis de récupérer les informations d'installation afin de créer un fichier batch d'installation qui sera lancé sur les postes esclaves.
La procédure décrite ci-dessous est valable pour TopSolid 7 ainsi que TopSolid v6.
Sur le poste maître :
- Rajouter l'argument /log dans le raccourci de lancement de TopSolid'Update.
- Lancer TopSolid'Update et installer toutes les mises à jour.
- Lorsque l’installation est terminée, aller dans le dossier %APPDATA%\TOPSOLID\TopSolid'Update\7.1x (par exemple : %APPDATA%\TOPSOLID\TopSolid'Update\7.19).
- Ouvrir le fichier TopSolid.Update.log avec un éditeur de texte (Bloc-Notes ou autre).
- Rechercher toutes les lignes contenant l’instruction msiexec et les copier/coller dans votre fichier batch d’installation .
- Modifier événtuellement le chemin d'accès au média d'installation.
- Sauver votre fichier batch d'installation.
Sur les postes esclaves : Lancer le batch d'installation sur tous les postes à installer.
Exemple de fichier batch d'installation des mises à jour de TopSolid 7.19 (fichier Update7.19.bat) :
echo off
cls
echo *** TopSolid 7.19 Updates ***
msiexec /p "\\srv-data-tlse\TopSolid_Setups\7.19\x64\TopSolid Building Library\Update - TopSolid Building Library 7.19.400.0 to 7.19.400.66 ServicePack3 x64.msp" /quiet REINSTALL=ALL REINSTALLMODE=edmu MSIFASTINSTALL=7 /norestart
msiexec /p "\\srv-data-tlse\TopSolid_Setups\7.19\x64\TopSolid Building Library\Update - TopSolid Building Library 7.19.400.0 to 7.19.400.66 ServicePack3 x64.msp" /quiet REINSTALL=ALL REINSTALLMODE=edmu MSIFASTINSTALL=7 /norestart
msiexec /p "\\srv-data-tlse\TopSolid_Setups\7.19\x64\TopSolid IFC Libraries\Update - TopSolid IFC Libraries 7.19.400.0 to 7.19.400.66 ServicePack3 x64.msp" /quiet REINSTALL=ALL REINSTALLMODE=edmu MSIFASTINSTALL=7 /norestart
msiexec /p "\\srv-data-tlse\TopSolid_Setups\7.19\x64\TopSolid Locinox Library\Update - TopSolid Locinox Library 7.19.400.0 to 7.19.400.66 ServicePack3 x64.msp" /quiet REINSTALL=ALL REINSTALLMODE=edmu MSIFASTINSTALL=7 /norestart
msiexec /p "\\srv-data-tlse\TopSolid_Setups\7.19\x64\TopSolid'Design\Update - TopSolid'Design 7.19.400.0 to 7.19.400.66 ServicePack3 x64.msp" /quiet REINSTALL=ALL REINSTALLMODE=edmu MSIFASTINSTALL=7 /norestart
...