File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -505,14 +505,14 @@ Section $(PostgreSQLString) sec1
505
505
Pop $0 ; "ok" or "error" + error details
506
506
507
507
AccessControl::GrantOnFile " $INSTDIR\scripts" " $loggedInUser" " FullAccess"
508
- AccessControl::GrantOnFile " $INSTDIR\scripts\pgpro_upgrade" " $loggedInUser" " GenericRead + GenericExecute"
508
+ AccessControl::GrantOnFile " $INSTDIR\scripts\pgpro_upgrade.cmd " " $loggedInUser" " GenericRead + GenericExecute"
509
509
Pop $0 ; "ok" or "error" + error details
510
510
${if} $isDataDirExist == 1
511
511
; there exist data directory. We need to stop service,
512
512
; run pgpro-upgrade script and
513
513
514
514
DetailPrint " Performing catalog upgradeon $DATA_DIR"
515
- nsExec::ExecToStack /TIMEOUT= 120000 ' "$INSTDIR\scripts\pgpro_upgrade" "$DATA_DIR"'
515
+ nsExec::ExecToStack /TIMEOUT= 120000 ' "$INSTDIR\scripts\pgpro_upgrade.cmd " "$DATA_DIR"'
516
516
Pop $0
517
517
DetailPrint " pgpro_upgrade return $0"
518
518
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
You can’t perform that action at this time.
0 commit comments