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 ;General
; Require administrator access
RequestExecutionLevel admin
!ifdef INNER !ifdef INNER
!echo "Inner invocation" ; just to see what's going on !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 OutFile "$%TEMP%\tempinstaller.exe" ; not really important where this is
SetCompress off ; for speed SetCompress off ; for speed
!else !else
!echo "Outer invocation" !echo "Outer invocation"
; Require administrator access
RequestExecutionLevel admin
; 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.