From 16cb4123369bc8e03402a8eac36761b9ec578420 Mon Sep 17 00:00:00 2001 From: Kevin Dethlefs Date: Sat, 10 Oct 2026 18:22:58 -0500 Subject: [PATCH] Installer: remove files older builds shipped that the app no longer needs An in-place upgrade only overwrites files the new build still ships, so existing installs would keep the x86/arm64 VLC builds, libvlc.dylib and the native .pdb files (~320 MB) even after this change. Clear them with [InstallDelete] before the new files are copied. Co-Authored-By: Claude Sonnet 5.5 --- installer/windows/ednexus.iss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/installer/windows/ednexus.iss b/installer/windows/ednexus.iss index 4f035f3..7423e78 100644 --- a/installer/windows/ednexus.iss +++ b/installer/windows/ednexus.iss @@ -45,6 +45,16 @@ ArchitecturesInstallIn64BitMode=x64compatible [Tasks] Name: "desktopicon"; Description: "Create a &desktop shortcut"; GroupDescription: "Additional shortcuts:"; Flags: unchecked +; An in-place upgrade only overwrites files the new build still ships; it never removes ones it no +; longer does. These were shipped by builds up to v0.0.22 and are dead weight (~320 MB) now, so they +; are cleared before the new files are copied. Add an entry here whenever a build stops shipping a file. +[InstallDelete] +Type: filesandordirs; Name: "{app}\libvlc\win-x86" +Type: filesandordirs; Name: "{app}\libvlc\win-arm64" +Type: files; Name: "{app}\libvlc.dylib" +Type: files; Name: "{app}\libSkiaSharp.pdb" +Type: files; Name: "{app}\libHarfBuzzSharp.pdb" + [Files] Source: "{#PublishDir}\*"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs ignoreversion