diff --git a/PlotDirector.NativeCompanion/WindowsValidation/Setup/Upgrade-Maintenance-Followup-2026-11-06.md b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Upgrade-Maintenance-Followup-2026-11-06.md new file mode 100644 index 00000000..4647b0bb --- /dev/null +++ b/PlotDirector.NativeCompanion/WindowsValidation/Setup/Upgrade-Maintenance-Followup-2026-11-06.md @@ -0,0 +1,66 @@ +# Advertised maintenance and separate file-write failure — follow-up + +## Second version mismatch: demonstrated maintenance behaviour + +The user's 20:00:24 attempt ran the first upgrade fix. Its MSI trace shows: + +```text +ADDLOCAL=Complete REINSTALLMODE=vamus REINSTALL=ALL +Feature: Complete; Installed: Advertise; Request: Reinstall; Action: Reinstall +All payload components: Request: Null; Action: Null +``` + +REINSTALL repaired the existing advertised state instead of promoting it to Local. +The first regression tested command properties, not this resulting maintenance +transition. Its passing result was insufficient proof of an installed repair. + +Installer source `830db6f5506dbfb94105b2e65dd209ea2fe9a618` now uses the supported +MsiConfigureFeature(product, Complete, INSTALLSTATE_LOCAL) after recaching when +native inventory still reports Advertised/Absent/Source. It verifies Local state +before inspecting actual file versions. Other/unknown states, native configuration +failure, a result0 that leaves the feature advertised, and old/mixed versions all +fail acceptance. Local-feature MSI activity receives its own diagnostic log. + +The compiled pure control flow is tested through injected query/configure callbacks; +the native installer operation itself is not run during automated testing. +**23 upgrade assertions and 96 package assertions passed.** This covers the omitted +maintenance transition and refuses false success, but is not a performed repair. + +Candidate (not a fully qualified fix for all reported failures): + +`C:\Users\Nick\Downloads\PlotDirectorCompanion-1.0.0.12-local-feature-fix\PlotDirectorCompanionSetup.exe` + +- EXE SHA256: `A985F7EE2E6522263BC54208EF29DB2EF592A53FA91D280CA6EE4EF5B7229D5A` +- MSI SHA256: `2C09BDECA9B9B9572385318B9BAD99365D0B64075F3787A46CBC81721CC90CD8` +- Same unchanged version12 application payload from `e0e2cda5`. + +## New blocking copy error: not diagnosed as an ACL defect + +The user also ran a new install from the earlier `upgrade-fix` folder at 20:02:50. +The staged MSI hash `8C87FEF9...F42E0` and logged working directory identify that +package. Its Complete feature was requested **Local** (not Reinstall); actual file +copying began but failed on Microsoft.Office.Tools.Common.dll with error **1310, +system error0**, followed by MSI result1603 after cancellation. + +Read-only inspection found: + +- DLL is not read-only; owner SYSTEM, explicit Full Control for the actual author. +- Parent directory also grants that author Full Control. +- DLL SHA256 equals the source package's identical runtime DLL. +- Word and the Companion agent were not running at the inspection point. +- Read-only Restart Manager query reports zero current file users; no shutdown API + was invoked. This does not exclude a transient lock during the earlier copy. +- Log records security reapplication and rollback under C:\Config.Msi, with a + rollback access-denied result5. That directory's ACL cannot be read by the current + non-elevated probe. These are clues, not proof that its ACL caused the copy error. + +The exact file-write cause remains unresolved. No permission/ownership changes, +global cache cleanup, rollback disabling, elevated repair or additional installer +execution was attempted by the agent. The user was advised to Cancel, not Ignore. +Do not call the candidate successfully installable or request repeated trials until +the separate copy failure has a demonstrated safe correction or authorised focused +diagnostic window. Logs are retained in InstallerBackup/20261106-200250. + +No desktop automation, Word/IDE launch, application termination, system/Office repair +or Production work was performed. User-initiated installer attempts are distinct +from the agent's read-only inspection and source/package work.