mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 14:53:01 +02:00
request admin prior to system call
This commit is contained in:
parent
d8a0b28655
commit
fceb916787
1 changed files with 3 additions and 5 deletions
|
@ -49,6 +49,9 @@
|
||||||
|
|
||||||
!system "$%TEMP%\tempinstaller.exe" = 2
|
!system "$%TEMP%\tempinstaller.exe" = 2
|
||||||
|
|
||||||
|
;Require administrator access
|
||||||
|
RequestExecutionLevel admin
|
||||||
|
|
||||||
; The Inner invocation has written an uninstaller binary for us.
|
; The Inner invocation has written an uninstaller binary for us.
|
||||||
; We need to sign it if it's a production or PR build.
|
; We need to sign it if it's a production or PR build.
|
||||||
!if @PRODUCTION_BUILD@ == 1
|
!if @PRODUCTION_BUILD@ == 1
|
||||||
|
@ -63,9 +66,6 @@
|
||||||
|
|
||||||
;Set compression
|
;Set compression
|
||||||
SetCompressor @CPACK_NSIS_COMPRESSOR@
|
SetCompressor @CPACK_NSIS_COMPRESSOR@
|
||||||
|
|
||||||
;Require administrator access
|
|
||||||
RequestExecutionLevel admin
|
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@CPACK_NSIS_DEFINES@
|
@CPACK_NSIS_DEFINES@
|
||||||
|
@ -677,8 +677,6 @@ Section "-Core installation"
|
||||||
|
|
||||||
;Package the signed uninstaller produced by the inner loop
|
;Package the signed uninstaller produced by the inner loop
|
||||||
!ifndef INNER
|
!ifndef INNER
|
||||||
SetOutPath $INSTDIR
|
|
||||||
|
|
||||||
; this packages the signed uninstaller
|
; this packages the signed uninstaller
|
||||||
File $%TEMP%\uninstaller.exe
|
File $%TEMP%\uninstaller.exe
|
||||||
!endif
|
!endif
|
||||||
|
|
Loading…
Reference in a new issue