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 sledgehammer999
parent 5366bebb97
commit a0976f4181
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