mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 14:53:01 +02:00
call makensis with RunAsInvoker
This commit is contained in:
parent
9972e2b096
commit
ed56dd7303
1 changed files with 1 additions and 4 deletions
|
@ -38,14 +38,11 @@
|
||||||
!else
|
!else
|
||||||
!echo "Outer invocation"
|
!echo "Outer invocation"
|
||||||
|
|
||||||
; make sure that makensis itself is not run elevated
|
|
||||||
!system "set __COMPAT_LAYER=RunAsInvoker&makensis ..."
|
|
||||||
|
|
||||||
; Call makensis again, defining INNER. This writes an installer for us which, when
|
; Call makensis again, defining INNER. This writes an installer for us which, when
|
||||||
; it is invoked, will just write the uninstaller to some location, and then exit.
|
; it is invoked, will just write the uninstaller to some location, and then exit.
|
||||||
; Be sure to substitute the name of this script here.
|
; Be sure to substitute the name of this script here.
|
||||||
|
|
||||||
!system "$\"${NSISDIR}\makensis$\" /DINNER project.nsi" = 0
|
!system "set __COMPAT_LAYER=RunAsInvoker&$\"${NSISDIR}\makensis$\" /DINNER project.nsi" = 0
|
||||||
|
|
||||||
; Require administrator access
|
; Require administrator access
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
|
|
Loading…
Reference in a new issue