summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dist-assets/windows/installer.nsh8
1 files changed, 5 insertions, 3 deletions
diff --git a/dist-assets/windows/installer.nsh b/dist-assets/windows/installer.nsh
index a498f51132..7bf6caeb8e 100644
--- a/dist-assets/windows/installer.nsh
+++ b/dist-assets/windows/installer.nsh
@@ -727,8 +727,9 @@
Sleep 1000
- # Original removal functionality provided by Electron-builder
- RMDir /r $INSTDIR
+ log::Initialize
+
+ ${RemoveCLIFromEnvironPath}
# Check command line arguments
${GetParameters} $0
@@ -746,7 +747,8 @@
customRemoveFiles_after_remove_settings:
${EndIf}
- ${RemoveCLIFromEnvironPath}
+ # Original removal functionality provided by Electron-builder
+ RMDir /r $INSTDIR
Pop $1
Pop $0