Skip to content

Commit

Permalink
Clear errors if failed to run SnKh so not to break something somewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
lcferrum committed Oct 9, 2017
1 parent 8aa93b4 commit a453cf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SuiteInstaller.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ Function killExistingSnK
StrCpy $R0 "SnKh.exe"
${endif}
ExecWait '"$R0" +alc /lst:ffwd /pth:full="$INSTDIR\HotkeySuite.exe"'
ClearErrors
${endif}
FunctionEnd

Expand All @@ -594,6 +595,7 @@ Function un.killInstalledSnK
StrCpy $R0 "SnKh.exe"
${endif}
ExecWait '"$R0" +alc /lst:ffwd /pth:full="$INSTDIR\HotkeySuite.exe"'
ClearErrors
FunctionEnd

Function patchInstdir
Expand Down

0 comments on commit a453cf7

Please sign in to comment.