Set permissions on the install folder during the installation.

This was causing a error when the application was run due to the regular user not having write permissions.
This commit is contained in:
efrick 2024-08-07 14:01:42 -04:00
parent a17d288f92
commit 065df71090

View File

@ -34,7 +34,7 @@ SectionGroup "PDF-Merge" pdf_merge_inst
File "bin\Release\PDF-Merge.zip"
nsisunz::UnzipToLog "$INSTDIR\PDF-Merge.zip" "$INSTDIR"
Delete "$INSTDIR\PDF-Merge.zip"
nsExec::ExecToStack 'icacls "$INSTDIR" /grant Everyone:F /T'
CreateShortCut "$DESKTOP\PDF-Merge.lnk" "${APP_EXE}"
SectionEnd
SectionGroupEnd