installer.nsi: fix for winpathmodify changes

This commit is contained in:
ihaveahax 2024-01-29 22:44:06 -06:00
parent b485852746
commit 7ddaf95cbb
No known key found for this signature in database
GPG Key ID: 90725113CA578EAA

View File

@ -107,7 +107,7 @@ Section "ninfs Application" SecInstall
SectionEnd SectionEnd
Section /o "Add to PATH" SecPATH Section /o "Add to PATH" SecPATH
ExecWait '"$INSTDIR/winpathmodify.exe" add "$INSTDIR"' ExecWait '"$INSTDIR/winpathmodify.exe" -add "$INSTDIR"'
SectionEnd SectionEnd
;-------------------------------- ;--------------------------------
@ -131,7 +131,7 @@ Section "Uninstall" SecUninstall
Delete "$SMPROGRAMS\$StartMenuFolder\uninstall.lnk" Delete "$SMPROGRAMS\$StartMenuFolder\uninstall.lnk"
RMDir "$SMPROGRAMS\$StartMenuFolder" RMDir "$SMPROGRAMS\$StartMenuFolder"
ExecWait '"$INSTDIR/winpathmodify.exe" remove "$INSTDIR"' ExecWait '"$INSTDIR/winpathmodify.exe" -remove "$INSTDIR"'
Delete "$INSTDIR\frozen_application_license.txt" Delete "$INSTDIR\frozen_application_license.txt"
Delete "$INSTDIR\LICENSE.md" Delete "$INSTDIR\LICENSE.md"