|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
priority="10"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="3" /> |
|
|
|
|
<variable name="PKG_VERSION" value="4" /> |
|
|
|
|
|
|
|
|
|
<check type="registry" condition="equals" path="HKLM\Software\iPasserelle\SettingsRevision" value="%PKG_VERSION%" /> |
|
|
|
|
|
|
|
|
@ -72,12 +72,19 @@ |
|
|
|
|
<exit code='2' /> |
|
|
|
|
</install> |
|
|
|
|
|
|
|
|
|
<!-- Désactivation de la suppression des raccourcis rompus et inutilisés |
|
|
|
|
Uniquement pour Windows 7--> |
|
|
|
|
<install os='6\.1.*' cmd='%COMSPEC% /C reg add "HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics" /v IsUnusedDesktopIconsTSEnabled /t REG_DWORD /d "00000000" /f' /> |
|
|
|
|
<install os='6\.1.*' cmd='%COMSPEC% /C reg add "HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics" /v IsBrokenShortcutsTSEnabled /t REG_DWORD /d "00000000" /f' /> |
|
|
|
|
|
|
|
|
|
<!-- 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 os='6\.1.*' cmd='%COMSPEC% /C reg delete "HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics" /v IsUnusedDesktopIconsTSEnabled /f' /> |
|
|
|
|
<remove os='6\.1.*' cmd='%COMSPEC% /C reg delete "HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics" /v IsBrokenShortcutsTSEnabled /f' /> |
|
|
|
|
<remove cmd='%COMSPEC% /C reg delete "HKLM\Software\iPasserelle" /v "SettingsRevision" /f' /> |
|
|
|
|
|
|
|
|
|
</package> |
|
|
|
|