Package Companion 1.0.0.21 capture upload recovery

This commit is contained in:
nick 2026-11-08 20:26:56 +00:00
parent 9395e094f8
commit b7fe1e4fb9
3 changed files with 10 additions and 10 deletions

View File

@ -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}','{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.'}
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}','{F8A17BB7-F80A-4BB3-85BD-D869D1F81F90}') -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"}
}

View File

@ -1,9 +1,9 @@
# Complete per-user Windows installer — version20 candidate
# Complete per-user Windows installer — version21 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.20**, MSI **1.0.20**,
and Atlas baseline `a8b36c8526f5cc143f1f6814c2eb410bba0a0808`. The exact clean
needed. `Release.json` deliberately selects application **1.0.0.21**, MSI **1.0.21**,
and Atlas baseline `9395e094f87a8718ee430255746f0b841d3f37ba`. 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
- Version20 uses ProductCode `{F8A17BB7-F80A-4BB3-85BD-D869D1F81F90}` with
- Version21 uses ProductCode `{0BF0FC05-40A0-4B6E-B7BC-1FEA9A7C8530}` with
the established UpgradeCode. Its transactional older-product range includes both
versions 10 through 19; same-version20 uses the existing maintenance path.
versions 10 through 20; same-version21 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,

View File

@ -1,9 +1,9 @@
{
"version": "1.0.0.20",
"msiVersion": "1.0.20",
"productCode": "{F8A17BB7-F80A-4BB3-85BD-D869D1F81F90}",
"version": "1.0.0.21",
"msiVersion": "1.0.21",
"productCode": "{0BF0FC05-40A0-4B6E-B7BC-1FEA9A7C8530}",
"upgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}",
"atlasBaseline": "a8b36c8526f5cc143f1f6814c2eb410bba0a0808",
"atlasBaseline": "9395e094f87a8718ee430255746f0b841d3f37ba",
"baselineProductCode": "{98F46939-764D-407F-BD1F-1D88315D010A}",
"baselineSetupSha256": "9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF"
}