summaryrefslogtreecommitdiffhomepage
path: root/installer
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-05 13:38:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-05 13:38:20 +0100
commit3f5f5a8d67169aef402c10284d4337ef5345efdc (patch)
treeb51ff57ae86b4b4a74440daa2957a2e1189b523b /installer
parent79729fc1c157f0654a450e2dca50b0b2810faa78 (diff)
installer: kill existing install directory on upgrade
Diffstat (limited to 'installer')
-rw-r--r--installer/opentrack-installer.iss3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/opentrack-installer.iss b/installer/opentrack-installer.iss
index 7bb5ced1..960ddf7f 100644
--- a/installer/opentrack-installer.iss
+++ b/installer/opentrack-installer.iss
@@ -41,6 +41,9 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+[InstallDelete]
+Type: filesandordirs; Name: "{app}"
+
[Files]
Source: "..\build\install\*"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs