We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693351d commit 85c5df5Copy full SHA for 85c5df5
installers/common/WindowsInstaller.hs
@@ -209,6 +209,10 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
209
iff_ (not_ (lockfileDeleted)) $ do
210
unsafeInject $ T.unpack $ "Abort \"" <> installDirectory <> " $(AlreadyRunning)\""
211
212
+ iff_ (fileExists "$INSTDIR") $ do
213
+ detailPrint "Removing previously installed version"
214
+ rmdir [Recursive] "$INSTDIR"
215
+
216
iff_ (fileExists "$APPDATA\\$InstallDir\\Wallet-1.0\\open\\*.*") $
217
rmdir [] "$APPDATA\\$InstallDir\\Wallet-1.0\\open"
218
case oBackend of
0 commit comments