Logs pusher 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.
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<packages>
|
|
|
|
<package id="logs"
|
|
|
|
name="Journaux d'installation"
|
|
|
|
revision="12"
|
|
|
|
priority="1"
|
|
|
|
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%\databases" mkdir %WPKGLOGS%\databases' />
|
|
|
|
<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"' />
|
|
|
|
<upgrade include="install" />
|
|
|
|
<downgrade include="install" />
|
|
|
|
</package>
|
|
|
|
</packages>
|