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.
This commit is contained in:
Guy Scharf 2020-10-31 09:10:06 -07:00
parent 055aec77d8
commit 7aed374236

View File

@ -95,6 +95,11 @@ Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl" Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.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] [Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1