NSIS: Add option to remove Windows path length limitation

This commit is contained in:
an0n666 2020-03-10 19:17:22 +06:00 committed by thalieht
commit a711558ba0
60 changed files with 128 additions and 0 deletions

View file

@ -187,6 +187,12 @@ Section $(inst_firewall)
SectionEnd
Section $(inst_pathlimit) ;"Disable Windows path length limit (260 character MAX_PATH limitation, requires Windows 10 1607 or later)"
WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\FileSystem" "LongPathsEnabled" 1
SectionEnd
;--------------------------------
Function .onInit