Disable broken and unused shortcut removal

tags/0.4
Daniel Berteaud 12 years ago
parent bbbfce9809
commit 70713d4f25
  1. 9
      packages/settings.xml

@ -7,7 +7,7 @@
priority="10"> 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%" /> <check type="registry" condition="equals" path="HKLM\Software\iPasserelle\SettingsRevision" value="%PKG_VERSION%" />
@ -72,12 +72,19 @@
<exit code='2' /> <exit code='2' />
</install> </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 --> <!-- 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' /> <install cmd='%COMSPEC% /C reg add "HKLM\Software\iPasserelle" /v "SettingsRevision" /t REG_SZ /d "%PKG_VERSION%" /f' />
<upgrade include='install' /> <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\..*' 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' /> <remove cmd='%COMSPEC% /C reg delete "HKLM\Software\iPasserelle" /v "SettingsRevision" /f' />
</package> </package>

Loading…
Cancel
Save