Skip to content

Commit

Permalink
Merge pull request #10 from SignalK/RequestExecutionLevel
Browse files Browse the repository at this point in the history
fix: requests admin rights at the start of the installation
  • Loading branch information
cmotelet authored May 8, 2021
2 parents ef3ea4b + 27712ab commit c2e547a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions NSIS/signalk-server.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
!include "MUI2.nsh"
;======================================================
;General
!define INST_VERSION "0.4.2"
!define INST_VERSION "0.4.3"
BrandingText "Signal K from http://signalk.org/"
Name "Signal K installer ${INST_VERSION}"
OutFile "..\output\signalk-server-setup-${INST_VERSION}.exe"
InstallDir "c:\signalk"
RequestExecutionLevel user ; user | admin
RequestExecutionLevel admin ; user | admin
!define MUI_ICON "..\target\tools\signalk.ico"
;======================================================
;Pages
Expand Down Expand Up @@ -72,8 +72,9 @@

;======================================================
Function .onInit
SetDetailsView show
SetOutPath $INSTDIR
LogSet on
SetDetailsView show
LogText "Signal K installer version: ${INST_VERSION}"
LogSet off
FunctionEnd
Expand Down Expand Up @@ -329,6 +330,7 @@
SectionEnd

Section "Extract openssl" SecExtractSSL
LogSet on
; SectionIn RO
Call SetGlobalVars
SetOutPath $OPENSSL_PATH
Expand Down

0 comments on commit c2e547a

Please sign in to comment.