mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
attempt to specify user only level for temp installer
This commit is contained in:
parent
265879cacf
commit
0a0b152f97
1 changed files with 7 additions and 4 deletions
|
@ -31,17 +31,20 @@
|
|||
;--------------------------------
|
||||
;General
|
||||
|
||||
; Require administrator access
|
||||
RequestExecutionLevel admin
|
||||
|
||||
!ifdef INNER
|
||||
!echo "Inner invocation" ; just to see what's going on
|
||||
|
||||
; Require user only for temp installer
|
||||
RequestExecutionLevel user
|
||||
|
||||
OutFile "$%TEMP%\tempinstaller.exe" ; not really important where this is
|
||||
SetCompress off ; for speed
|
||||
|
||||
!else
|
||||
!echo "Outer invocation"
|
||||
|
||||
; Require administrator access
|
||||
RequestExecutionLevel admin
|
||||
|
||||
; 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.
|
||||
|
|
Loading…
Reference in a new issue