From 7aed374236d12a6e7b5c840e7867b748240b4eed Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Sat, 31 Oct 2020 09:10:06 -0700 Subject: [PATCH] Windows installer now deletes old About box HTML when installing a new version Old HTML files release_notes*.html, credits*.html, and about*.html will be deleted by Windows installers. Previously the installer did not remove old files before installing new files. As a result, obsolete release notes were displayed for non-English languages. --- Building/Windows/BuildInstall.iss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Building/Windows/BuildInstall.iss b/Building/Windows/BuildInstall.iss index f19368f2..f750b401 100644 --- a/Building/Windows/BuildInstall.iss +++ b/Building/Windows/BuildInstall.iss @@ -95,6 +95,11 @@ Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl" Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl" Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl" +[InstallDelete] +Type: files; Name: "{app}\Html\release_notes*.html" +Type: files; Name: "{app}\Html\credits*.html" +Type: files; Name: "{app}\Html\about*.html" + [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1