Skip to content

Commit 2ff6d64

Browse files
committed
Fix path to pgpro_upgrade.cmd
1 parent 155bbe4 commit 2ff6d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsis/postgresql.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,14 +505,14 @@ Section $(PostgreSQLString) sec1
505505
Pop $0 ;"ok" or "error" + error details
506506

507507
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"
509509
Pop $0 ;"ok" or "error" + error details
510510
${if} $isDataDirExist == 1
511511
; there exist data directory. We need to stop service,
512512
; run pgpro-upgrade script and
513513

514514
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"'
516516
Pop $0
517517
DetailPrint "pgpro_upgrade return $0"
518518
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy