Skip to content

Commit

Permalink
clear errors at beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
gniezen committed Jul 10, 2019
1 parent 82dd5bd commit fed38e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RequestExecutionLevel admin
Var /GLOBAL Installer_x64
Var /GLOBAL Installer_x86

ClearErrors

StrCpy $DriverDir "$INSTDIR\resources\driver"

; Add our certificate to the local store to prevent unnecessary pop-up
Expand Down Expand Up @@ -75,6 +77,7 @@ RequestExecutionLevel admin

IfErrors 0 +2
MessageBox MB_OK "Error occurred during installation." IDOK +2

WriteINIStr "$TEMP\TidepoolUploader.ini" "InstallCount" "Value" "$8"

!macroend

0 comments on commit fed38e3

Please sign in to comment.