<?xml version="1.0" encoding="UTF-8"?> <packages> <package id="productkey" name="Informations sur les cles de licence" revision="2" reboot="false" priority="10" run="always"> <variable name="MSI" value="%SOFTWARE%\libreoffice\%PKG_VERSION%\libreoffice34.msi" /> <variable architecture="x86" name="EXE_PATH" value="%SOFTWARE%\productkey\x86\ProduKey.exe" /> <variable architecture="x64" name="EXE_PATH" value="%SOFTWARE%\productkey\x64\ProduKey.exe" /> <install cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\keys" mkdir %WPKGLOGS%\keys' /> <install cmd='%COMSPEC% /C if exist "%EXE_PATH%" "%EXE_PATH%" /stab > %WPKGLOGS%\keys\%COMPUTERNAME%.txt' /> <upgrade include="install" /> <downgrade include="install" /> </package> </packages>