mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +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
|
||||
!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
|
||||
; it is invoked, will just write the uninstaller to some location, and then exit.
|
||||
; 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
|
||||
RequestExecutionLevel admin
|
||||
|
|
Loading…
Reference in a new issue