Ne plus copier les logs FusionInventory

tags/0.1.2
Daniel Berteaud 12 years ago
parent b1f74d3024
commit 194ae7678e
  1. 5
      packages/logs.xml

@ -2,17 +2,14 @@
<packages> <packages>
<package id="logs" <package id="logs"
name="Journaux d'installation" name="Journaux d'installation"
revision="11" revision="12"
priority="1" priority="1"
execute="always"> execute="always">
<install timeout="5" cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\logs" mkdir %WPKGLOGS%\logs' /> <install timeout="5" cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\logs" mkdir %WPKGLOGS%\logs' />
<install timeout="5" cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\databases" mkdir %WPKGLOGS%\databases' /> <install timeout="5" cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\databases" mkdir %WPKGLOGS%\databases' />
<install timeout="5" cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\fusioninventory" mkdir %WPKGLOGS%\fusioninventory' />
<install timeout="15" cmd='%COMSPEC% /C copy /Y "%SYSTEMROOT%\system32\wpkg.xml" "%WPKGLOGS%\databases\%COMPUTERNAME%.xml"' /> <install timeout="15" cmd='%COMSPEC% /C copy /Y "%SYSTEMROOT%\system32\wpkg.xml" "%WPKGLOGS%\databases\%COMPUTERNAME%.xml"' />
<install timeout="15" cmd='%COMSPEC% /C copy /Y "%TEMP%\wpkg-%COMPUTERNAME%.log" "%WPKGLOGS%\logs\%COMPUTERNAME%.log"' /> <install timeout="15" cmd='%COMSPEC% /C copy /Y "%TEMP%\wpkg-%COMPUTERNAME%.log" "%WPKGLOGS%\logs\%COMPUTERNAME%.log"' />
<install architecture='x86' timeout="15" cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\FusionInventory-Agent\agent-log.txt" copy /Y "%PROGRAMFILES%\FusionInventory-Agent\agent-log.txt" "%WPKGLOGS%\fusioninventory\%COMPUTERNAME%.txt"' />
<install architecture='x64' timeout="15" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\FusionInventory-Agent\agent-log.txt" copy /Y "%PROGRAMFILES(x86)%\FusionInventory-Agent\agent-log.txt" "%WPKGLOGS%\fusioninventory\%COMPUTERNAME%.txt"' />
<upgrade include="install" /> <upgrade include="install" />
<downgrade include="install" /> <downgrade include="install" />
</package> </package>

Loading…
Cancel
Save