summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2019-10-16 11:09:48 +0200
committerDavid Lönnhager <david.l@mullvad.net>2019-10-18 13:38:59 +0200
commit5f229ad1f0a16384627ea12e098970de47eda577 (patch)
treef412246cf0acb07018adceb199d9d0f8f01c2b03
parentfd13e2805f7d493d8600fa4f4a9ac87f58e06d3a (diff)
downloadmullvadvpn-5f229ad1f0a16384627ea12e098970de47eda577.tar.xz
mullvadvpn-5f229ad1f0a16384627ea12e098970de47eda577.zip
Fix uninstaller issues on Windows
-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