From 016dbb1632ec3b28bb494eb3d6c2bde7565ab2ee Mon Sep 17 00:00:00 2001 From: nick Date: Sun, 8 Nov 2026 18:03:06 +0000 Subject: [PATCH] Package Companion 1.0.0.20 legacy cleanup correction --- .../WindowsValidation/Setup/Build-Setup.ps1 | 2 +- .../WindowsValidation/Setup/README.md | 10 +++++----- .../WindowsValidation/Setup/Release.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/PlotDirector.NativeCompanion/WindowsValidation/Setup/Build-Setup.ps1 b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Build-Setup.ps1 index 0dcbac28..766b27d2 100644 --- a/PlotDirector.NativeCompanion/WindowsValidation/Setup/Build-Setup.ps1 +++ b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Build-Setup.ps1 @@ -13,7 +13,7 @@ $repo=(Resolve-Path (Join-Path $PSScriptRoot '..\..\..')).Path if(!$ExpectedSourceCommit){$ExpectedSourceCommit=(& git -C $repo rev-parse HEAD).Trim();if($LASTEXITCODE -ne 0){throw 'Cannot read the exact setup source revision.'}} if($ExpectedSourceCommit -notmatch '^[0-9a-f]{40}$' -or $package.version -ne $release.version -or $package.commit -ne $ExpectedSourceCommit){throw 'Release version or exact package source SHA does not match the requested build.'} Invoke-Checked git @('-C',$repo,'merge-base','--is-ancestor',$release.atlasBaseline,$package.commit) -if($release.productCode -in @($release.baselineProductCode,'{0B1E8E22-FCF5-4D9C-99A1-5D0F4BD3210C}','{A5831E49-6675-4BCA-9A3D-E03C992F4A13}','{AB41F7C2-328C-4CEE-A75F-404160ABE4DD}','{2212AB81-D2DD-4DBC-B859-BC74AE9C3DE5}','{FCEB995F-777C-4293-ABF8-44DAEDB255F7}','{09ED24AE-67F2-4E34-AEF3-55D5AFB6900C}','{DE455D36-437F-435F-B8DB-1D47B0873F37}') -or $release.upgradeCode -ne '{641A087B-9779-458C-B290-BCBBAD49319A}'){throw 'This release requires a new major-upgrade ProductCode and the established UpgradeCode.'} +if($release.productCode -in @($release.baselineProductCode,'{0B1E8E22-FCF5-4D9C-99A1-5D0F4BD3210C}','{A5831E49-6675-4BCA-9A3D-E03C992F4A13}','{AB41F7C2-328C-4CEE-A75F-404160ABE4DD}','{2212AB81-D2DD-4DBC-B859-BC74AE9C3DE5}','{FCEB995F-777C-4293-ABF8-44DAEDB255F7}','{09ED24AE-67F2-4E34-AEF3-55D5AFB6900C}','{DE455D36-437F-435F-B8DB-1D47B0873F37}','{B3E72156-BAA4-4D6D-A69F-09DAAD3D8030}') -or $release.upgradeCode -ne '{641A087B-9779-458C-B290-BCBBAD49319A}'){throw 'This release requires a new major-upgrade ProductCode and the established UpgradeCode.'} foreach($relative in @('PlotDirector.WordAddIn.dll','Agent\PlotDirector.Companion.Agent.exe')){ if([Diagnostics.FileVersionInfo]::GetVersionInfo((Join-Path $PackagePath $relative)).FileVersion -ne $release.version){throw "Wrong application bytes/version: $relative"} } diff --git a/PlotDirector.NativeCompanion/WindowsValidation/Setup/README.md b/PlotDirector.NativeCompanion/WindowsValidation/Setup/README.md index 919ecf33..ebd51ea5 100644 --- a/PlotDirector.NativeCompanion/WindowsValidation/Setup/README.md +++ b/PlotDirector.NativeCompanion/WindowsValidation/Setup/README.md @@ -1,9 +1,9 @@ -# Complete per-user Windows installer — version19 candidate +# Complete per-user Windows installer — version20 candidate Run **PlotDirectorCompanionSetup.exe** from normal File Explorer after closing Word. It contains the MSI and both application components; no adjacent payload folder is -needed. `Release.json` deliberately selects application **1.0.0.19**, MSI **1.0.19**, -and Atlas baseline `710f1775e092e6adb5f8b8485feacef7eb903968`. The exact clean +needed. `Release.json` deliberately selects application **1.0.0.20**, MSI **1.0.20**, +and Atlas baseline `a8b36c8526f5cc143f1f6814c2eb410bba0a0808`. The exact clean build SHA must match `package.json` and `-ExpectedSourceCommit` (defaults to HEAD). This is a packaging candidate, not a claim of installed Windows acceptance. @@ -26,9 +26,9 @@ produce a specific error; they are not installed or repaired automatically. ## Installation contract -- Version19 uses ProductCode `{B3E72156-BAA4-4D6D-A69F-09DAAD3D8030}` with +- Version20 uses ProductCode `{F8A17BB7-F80A-4BB3-85BD-D869D1F81F90}` with the established UpgradeCode. Its transactional older-product range includes both - versions 10 through 18; same-version19 uses the existing maintenance path. + versions 10 through 19; same-version20 uses the existing maintenance path. Version12-specific notes below describe the preserved historical correction. - Before registration/VSTO/MSI changes, setup stops only the exact installed tray executable in this session, holds its existing singleton lock against restart, diff --git a/PlotDirector.NativeCompanion/WindowsValidation/Setup/Release.json b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Release.json index 6d45c989..ffc26fc8 100644 --- a/PlotDirector.NativeCompanion/WindowsValidation/Setup/Release.json +++ b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Release.json @@ -1,9 +1,9 @@ { - "version": "1.0.0.19", - "msiVersion": "1.0.19", - "productCode": "{B3E72156-BAA4-4D6D-A69F-09DAAD3D8030}", + "version": "1.0.0.20", + "msiVersion": "1.0.20", + "productCode": "{F8A17BB7-F80A-4BB3-85BD-D869D1F81F90}", "upgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}", - "atlasBaseline": "710f1775e092e6adb5f8b8485feacef7eb903968", + "atlasBaseline": "a8b36c8526f5cc143f1f6814c2eb410bba0a0808", "baselineProductCode": "{98F46939-764D-407F-BD1F-1D88315D010A}", "baselineSetupSha256": "9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF" }