Skip to content

Commit f687f0f

Browse files
committed
Possible fix for installer crash #3
1 parent 0663cbf commit f687f0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Shared/installer/nightly.nsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ Function .onInit
349349

350350
InitPluginsDir
351351
;File /oname=$PLUGINSDIR\serialdialog.ini "serialdialog.ini"
352+
353+
# Set Windows SID to use for permissions fixing
354+
Call SetPermissionsGroup
352355
${LogText} "-Function end - .onInit"
353356
FunctionEnd
354357

@@ -508,9 +511,6 @@ SectionGroup /e "$(INST_SEC_CLIENT)" SECGCLIENT
508511
SetOutPath "$INSTDIR\MTA"
509512
SetOverwrite on
510513

511-
# Set Windows SID to use for permissions fixing
512-
Call SetPermissionsGroup
513-
514514
#############################################################
515515
# Make the directory "$INSTDIR" read write accessible by all users
516516
# Make the directory "$APPDATA\MTA San Andreas All" read write accessible by all users

0 commit comments

Comments
 (0)