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.
31 lines
1.3 KiB
31 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<packages>
|
|
<package id="fusioninventory"
|
|
name="Agent d'inventaire reseau"
|
|
revision="8"
|
|
priority="10">
|
|
|
|
<variable name="PKG_VERSION" value="2.2.0-4" />
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\FusionInventory-Agent\" />
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\FusionInventory-Agent\" />
|
|
<variable architecture="x86" name="REG_PATH" value="%SETTINGS%\fusioninventory\fusioninventory_x86.reg" />
|
|
<variable architecture="x64" name="REG_PATH" value="%SETTINGS%\fusioninventory\fusioninventory_x64.reg" />
|
|
|
|
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent" value="%PKG_VERSION%" />
|
|
|
|
<install cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-i386_%PKG_VERSION%.exe /S' />
|
|
<install cmd='%COMSPEC% /C regedit /s "%REG_PATH%"' />
|
|
<install cmd='%COMSPEC% /C sc stop FusionInventory-Agent'>
|
|
<exit code='any' />
|
|
</install>
|
|
<install cmd='%COMSPEC% /C sc start FusionInventory-Agent'>
|
|
<exit code='any' />
|
|
</install>
|
|
|
|
<upgrade include="install" />
|
|
|
|
<downgrade include="install" />
|
|
|
|
<remove cmd='"%INSTALL_PATH%\uninstFI.exe" /S' />
|
|
</package>
|
|
</packages>
|
|
|