|
|
|
@ -2,11 +2,15 @@ |
|
|
|
|
<packages> |
|
|
|
|
<package id="settings" |
|
|
|
|
name="Parametrages du systeme" |
|
|
|
|
revision="2" |
|
|
|
|
revision="%PKG_VERSION%" |
|
|
|
|
reboot="false" |
|
|
|
|
priority="10"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="2" /> |
|
|
|
|
|
|
|
|
|
<check type="registry" condition="equals" path="HKLM\SYSTEM\CurrentControlSet\services\gpsvc\PreshutdownTimeout" value="1800000" /> |
|
|
|
|
<check type="registry" condition="equals" path="HKLM\Software\iPasserelle\SettingsRevision" value="%PKG_VERSION%" /> |
|
|
|
|
|
|
|
|
|
<!-- Le timeout par défaut de 15min est trop juste pour certains déploiement |
|
|
|
|
Ce réglage devrait se faire normalement à l'installation, mais les permissions sur cette clef de registre ne laisse |
|
|
|
@ -66,9 +70,13 @@ |
|
|
|
|
<exit code='2' /> |
|
|
|
|
</install> |
|
|
|
|
|
|
|
|
|
<!-- On incrit la révision dans le registre, pour savoir quand relancer le tout --> |
|
|
|
|
<install cmd='%COMSPEC% /C reg add "HKLM\Software\iPasserelle" /v "SettingsRevision" /t REG_SZ /d "%PKG_VERSION%" /f' /> |
|
|
|
|
|
|
|
|
|
<upgrade include='install' /> |
|
|
|
|
|
|
|
|
|
<remove os='6\..*' cmd='%COMSPEC% /C reg add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v PreshutdownTimeout /t REG_DWORD /d "900000" /f' /> |
|
|
|
|
<remove cmd='%COMSPEC% /C reg delete "HKLM\Software\iPasserelle" /v "SettingsRevision" /f' /> |
|
|
|
|
|
|
|
|
|
</package> |
|
|
|
|
</packages> |
|
|
|
|