attempt to specify user only level for temp installer

This commit is contained in:
Stephen Birarda 2016-01-13 13:54:39 -08:00
parent 265879cacf
commit 0a0b152f97

View file

@ -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.