Browse Source

Disable .js execution

tags/0.8_el5 0.8_el5
Daniel Berteaud 5 years ago
parent
commit
fc9675288d
  1. 5
      packages/settings.xml

5
packages/settings.xml

@ -7,7 +7,7 @@
priority="10">
<variable name="PKG_VERSION" value="7" />
<variable name="PKG_VERSION" value="8" />
<check type="registry" condition="equals" path="HKLM\Software\iPasserelle\SettingsRevision" value="%PKG_VERSION%" />
@ -77,6 +77,9 @@
<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' />
<!-- Désactivation de l'exécution des fichiers .js par défaut -->
<install cmd='reg add "HKCR\JSFile\Shell" /ve /t REG_SZ /d Edit /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' />

Loading…
Cancel
Save