Fusion Inventory Agent for WPKG on iPasserelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="fusioninventory"
name="Agent d'inventaire reseau"
revision="31"
priority="10">
<variable name="PKG_VERSION" value="2.3.13" />
<variable name="INSTALL_PATH" value="%PROGRAMFILES%\FusionInventory-Agent\" />
<variable name="INSTALL_FLAGS" value='/acceptlicense /user="%FUSINV_USER%" /password="%FUSINV_PASS%" /server="%FUSINV_SERVER%" /ca-cert-file="%INSTALL_PATH%\certs\cacert.pem" /execmode=Service /installtype=from-scratch /S' />
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent %PKG_VERSION%.*" value="%PKG_VERSION%" />
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\certs\" mkdir "%INSTALL_PATH%\certs\"' />
<install cmd='%COMSPEC% /C copy /Y "%SETTINGS%\fusioninventory\cacert.pem" "%INSTALL_PATH%\certs\cacert.pem"' />
<install architecture="x86" cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-x86_%PKG_VERSION%.exe %INSTALL_FLAGS%' />
<install architecture="x64" cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-x64_%PKG_VERSION%.exe %INSTALL_FLAGS%' />
<upgrade include="install" />
<downgrade include="install" />
<remove cmd='"%INSTALL_PATH%\Uninstall.exe" /S _?=%INSTALL_PATH%' />
</package>
</packages>