From 9f57f3d1b3afc3b4024a30dfac70fbde20699108 Mon Sep 17 00:00:00 2001 From: Rod Christiansen Date: Thu, 28 May 2026 12:34:38 -0700 Subject: [PATCH 1/2] fix: add Start Menu shortcut for GUI; KB display for sub-MB downloads - Product.wxs: add ProgramMenuFolder\BootstrapMate\BootstrapMate.lnk targeting [INSTALLDIR]BootstrapMate.exe (harvested GUI binary) - Program.cs: switch download size readout to KB when <1MB so small config MSIs no longer report 'Downloaded: 0.0 MB' --- Program.cs | 7 +++++-- installer/Product.wxs | 20 +++++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index cdb3160..f126c4d 100644 --- a/Program.cs +++ b/Program.cs @@ -992,8 +992,11 @@ static async Task DownloadAndInstallPackage(string displayName, string url, stri await Task.Delay(100); var fileInfo = new FileInfo(localPath); - Logger.Debug($"Downloaded {displayName} to: {localPath} (Size: {fileInfo.Length / 1024 / 1024:F2} MB)"); - Logger.WriteSubProgress("Downloaded", $"{fileInfo.Length / 1024 / 1024:F1} MB"); + var sizeText = fileInfo.Length < 1024 * 1024 + ? $"{fileInfo.Length / 1024.0:F1} KB" + : $"{fileInfo.Length / 1024.0 / 1024:F1} MB"; + Logger.Debug($"Downloaded {displayName} to: {localPath} (Size: {sizeText})"); + Logger.WriteSubProgress("Downloaded", sizeText); // Install based on type Logger.Debug($"Installing {displayName} using {type} installer..."); diff --git a/installer/Product.wxs b/installer/Product.wxs index 1e9fb8c..ace3559 100644 --- a/installer/Product.wxs +++ b/installer/Product.wxs @@ -36,6 +36,9 @@ + + + @@ -73,13 +76,28 @@ - + + + + + + + + + From ef7a827e14f74394c01b681b095145db14aabe70 Mon Sep 17 00:00:00 2001 From: Rod Christiansen Date: Thu, 28 May 2026 12:39:29 -0700 Subject: [PATCH 2/2] fix(wix): switch StartMenuShortcut KeyPath to HKCU (ICE38/43/57) --- installer/Product.wxs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/Product.wxs b/installer/Product.wxs index ace3559..9b72bd8 100644 --- a/installer/Product.wxs +++ b/installer/Product.wxs @@ -88,7 +88,8 @@ Target="[INSTALLDIR]BootstrapMate.exe" WorkingDirectory="INSTALLDIR" /> - + +