|
|
@ -2,10 +2,10 @@ |
|
|
|
<packages> |
|
|
|
<packages> |
|
|
|
<package id="fusioninventory" |
|
|
|
<package id="fusioninventory" |
|
|
|
name="Agent d'inventaire reseau" |
|
|
|
name="Agent d'inventaire reseau" |
|
|
|
revision="8" |
|
|
|
revision="9" |
|
|
|
priority="10"> |
|
|
|
priority="10"> |
|
|
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="2.2.0-4" /> |
|
|
|
<variable name="PKG_VERSION" value="2.2.2-1" /> |
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\FusionInventory-Agent\" /> |
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\FusionInventory-Agent\" /> |
|
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\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="x86" name="REG_PATH" value="%SETTINGS%\fusioninventory\fusioninventory_x86.reg" /> |
|
|
@ -14,10 +14,10 @@ |
|
|
|
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent" value="%PKG_VERSION%" /> |
|
|
|
<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='%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'> |
|
|
|
<install cmd='%COMSPEC% /C sc stop FusionInventory-Agent'> |
|
|
|
<exit code='any' /> |
|
|
|
<exit code='any' /> |
|
|
|
</install> |
|
|
|
</install> |
|
|
|
|
|
|
|
<install cmd='%COMSPEC% /C regedit /s "%REG_PATH%"' /> |
|
|
|
<install cmd='%COMSPEC% /C sc start FusionInventory-Agent'> |
|
|
|
<install cmd='%COMSPEC% /C sc start FusionInventory-Agent'> |
|
|
|
<exit code='any' /> |
|
|
|
<exit code='any' /> |
|
|
|
</install> |
|
|
|
</install> |
|
|
|