06 juil. 2023 11:11
Voici le paquet que j'ai :
<package
id="OpenBoard"
name="OpenBoard - Logiciel libre de TBI-TNI"
revision="%version%.2"
reboot="false"
priority="20">
<variable name="version" value="1.6.4"/>
<variable name="version_check" value="1.6.4.240"/>
<!--
<variable name="PROGRAMFILES" value="%PROGRAMFILES%" architecture="x86"/>
<variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%" architecture="x64"/>
<variable name="ComSpec" value="%SystemRoot%\System32\cmd.exe" architecture="x86"/>
<variable name="ComSpec" value="%SystemRoot%\SysWOW64\cmd.exe" architecture="x64"/>
-->
<eoledl dl="http://github.com/OpenBoard-org/OpenBoard/releases/download/v%version%/OpenBoard_Installer_%version%.exe" destname="OpenBoard\OpenBoard_Installer_%version%.exe"/>
<eoledl dl="http://mesip.ac-lyon.fr/divers/OpenBoard.config" destname="OpenBoard\OpenBoard.config"/>
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\OpenBoard\OpenBoard.exe" value="%version_check%"/>
<install cmd='"%SOFTWARE%\OpenBoard\OpenBoard_Installer_%version%.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART'/>
<install cmd='%COMSPEC% /c xcopy "%SOFTWARE%\OpenBoard\OpenBoard.config" "%ProgramFiles%\OpenBoard\etc" /S /E /Y /Q /R'/>
<upgrade include='install'/>
<downgrade include='install'/>
<!-- suppression version precedente si elle existe-->
<remove cmd='"%PROGRAMFILES%\OpenBoard\unins000.exe" /VERYSILENT'/>
<remove cmd='%ComSpec% /C if exist "%PROGRAMFILES%\OpenBoard\unins000.exe" start /wait "remove" "%PROGRAMFILES%\OpenBoard\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES
/NORESTART' timeout="300"><exit code="any" reboot="false"/></remove>
<!-- Le start /wait "remove" est là pour que la ligne suivante attende la fin du travail de unins000.exe-->
<remove cmd='%ComSpec% /C ping -n 30 127.0.0.1 >NULL'/>
</package>
Enseignant de technologie - Collège La Tourette - Lyon 1er
@raphael.brocq@tube.ac-lyon.fr
@clg.tourette@tube.ac-lyon.fr
"Si tout le monde accepte le mensonge, le mensonge passe dans l'histoire et devient la vérité" - G. Orwell - 1984