v1.09 — Fix ODT download, selective removal, Display Level Full
- Direct CDN download (officecdn.microsoft.com/pr/wsus/setup.exe) instead of broken fwlink redirect - HttpClient with proper redirect handling, content-type check, file size validation - Selective C2R removal: each product listed separately, only checked items removed - OfficeDetector splits ProductReleaseIds into individual entries - Display Level="Full" for removal (shows Microsoft progress UI) - Confirmation dialog before removal on all pages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -31,12 +31,20 @@ namespace InstaSoftOfficeTool.Services
|
||||
var productIds = key.GetValue("ProductReleaseIds") as string;
|
||||
var versionToReport = key.GetValue("VersionToReport") as string;
|
||||
|
||||
if (!string.IsNullOrEmpty(productIds))
|
||||
if (string.IsNullOrEmpty(productIds)) return;
|
||||
|
||||
// Split into individual products (e.g. "O365BusinessRetail,VisioProRetail")
|
||||
var ids = productIds.Split(',');
|
||||
foreach (var id in ids)
|
||||
{
|
||||
var trimmedId = id.Trim();
|
||||
if (string.IsNullOrEmpty(trimmedId)) continue;
|
||||
|
||||
results.Add(new InstalledOffice
|
||||
{
|
||||
DisplayName = "Microsoft Office Click-to-Run (" + productIds + ")",
|
||||
DisplayName = "Microsoft Office Click-to-Run (" + trimmedId + ")",
|
||||
Version = versionToReport ?? "",
|
||||
ProductCode = trimmedId,
|
||||
IsClickToRun = true,
|
||||
IsSelected = true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user