diff options
| -rw-r--r-- | dist-assets/windows/installer.nsh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dist-assets/windows/installer.nsh b/dist-assets/windows/installer.nsh index 00682a569c..275659b008 100644 --- a/dist-assets/windows/installer.nsh +++ b/dist-assets/windows/installer.nsh @@ -726,6 +726,8 @@ ${EndIf} Pop $FullUninstall + log::Log "Running uninstaller for ${PRODUCT_NAME} ${VERSION}" + ${If} $FullUninstall != 1 # Save the target tunnel state if we're upgrading SetOutPath "$TEMP" @@ -747,6 +749,7 @@ # Discard return value Pop $0 + Pop $1 Sleep 5000 @@ -754,11 +757,10 @@ # Discard return value Pop $0 + Pop $1 Sleep 1000 - log::Log "Running uninstaller for ${PRODUCT_NAME} ${VERSION}" - ${RemoveCLIFromEnvironPath} # Remove the TAP adapter |
