From ae72ab5b18d529cb65ca27b690a54499309bd4af Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Mon, 23 May 2022 22:51:45 +0200 Subject: [PATCH] Use current user in context and launch app after install [skip ci] --- client/installer.nsis | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/installer.nsis b/client/installer.nsis index 0ddb27bbe..3036cbe3d 100644 --- a/client/installer.nsis +++ b/client/installer.nsis @@ -118,6 +118,12 @@ Exec '"$INSTDIR\${MAIN_APP_EXE}" service start' Sleep 1000 SectionEnd +###################################################################### +Function .onInit + + Exec $INSTDIR\netbird_uninstall.exe + +FunctionEnd ###################################################################### Section Uninstall