Align unified Companion installer with native import release 1.0.0.17

This commit is contained in:
nick 2026-11-07 19:07:07 +00:00
parent af7c41c1d3
commit 472be22ca1
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}') -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}') -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 — version16 candidate
# Complete per-user Windows installer — version17 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.16**, MSI **1.0.16**,
and Atlas baseline `ad24165f5f2e093abbd691f308468e0da1f0a46c`. The exact clean
needed. `Release.json` deliberately selects application **1.0.0.17**, MSI **1.0.17**,
and Atlas baseline `af7c41c1d34a799b92b4ecce858e867c50c1b8fe`. 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
- Version16 uses ProductCode `{FCEB995F-777C-4293-ABF8-44DAEDB255F7}` with
- Version17 uses ProductCode `{09ED24AE-67F2-4E34-AEF3-55D5AFB6900C}` with
the established UpgradeCode. Its transactional older-product range includes both
versions 10 through 15; same-version16 uses the existing maintenance path.
versions 10 through 16; same-version17 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.16",
"msiVersion": "1.0.16",
"productCode": "{FCEB995F-777C-4293-ABF8-44DAEDB255F7}",
"version": "1.0.0.17",
"msiVersion": "1.0.17",
"productCode": "{09ED24AE-67F2-4E34-AEF3-55D5AFB6900C}",
"upgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}",
"atlasBaseline": "ad24165f5f2e093abbd691f308468e0da1f0a46c",
"atlasBaseline": "af7c41c1d34a799b92b4ecce858e867c50c1b8fe",
"baselineProductCode": "{98F46939-764D-407F-BD1F-1D88315D010A}",
"baselineSetupSha256": "9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF"
}