84 lines
5.2 KiB
Markdown

# Complete Windows installation qualification — 2026-11-05
## Delivered installation
- Distributable: `C:\Users\Nick\Downloads\PlotDirectorCompanionSetup.exe`.
- EXE SHA-256: `9526E3781EB2EF9936132786E1E2242633349933A553E93E7A7D0B038160A7FF`.
- Application source: `6cdb49c08a74852d5089be8a40c07309543954d1`.
- VSTO and tray executable file versions: **1.0.0.10**.
- All 17 installed runtime files match the original complete signed package by
SHA-256. Symbols were excluded from the MSI; application binaries were not changed.
- Installed under `%LOCALAPPDATA%\Programs\PlotDirector Companion`, including Agent.
- Windows Installer product `{98F46939-764D-407F-BD1F-1D88315D010A}`. MSI's three-part
ProductVersion is `1.0.10`; application versions retain `1.0.0.10`.
- Native `MsiEnumProductsEx` reports context **2 (per-user unmanaged)** and Nick's
actual SID, rather than Codex's packaged registry view. Windows Settings has a
standard MSI uninstall entry for PlotDirector Companion.
## Causes and correction
1. Earlier installation scripts ran inside Codex's MSIX environment. Its private
HKCU registration and LocalAppData staging were visible to tool-launched Word,
while normal Word retained version 1.0.0.6, LoadBehavior 2. The bootstrapper now
targets normal Windows before installation; the final proof is normal Word UI.
2. Normal Windows retained an exact PlotDirector 1.0.0.6 VSTA Solutions record but
no matching cached deployment. Its supported VSTO uninstall returned -401. After
export and removal of that single orphan, the unchanged 1.0.0.10 manifests moved
past HRESULT 0x800736B3 to normal trust approval. No global cache was cleared.
3. A `.vsto` manifest was being presented as a complete installer. It did not supply
a conventional tray installation, shortcuts or unified uninstall. The new EXE
embeds a signed CAB/MSI covering both components and invokes existing VSTO tools
for normal signature/trust validation.
Both original manifest signatures passed SDK mage verification. All referenced
manifest file sizes and SHA-256 digests matched. ClickOnce verbose logging was
temporarily enabled for diagnosis and its prior values restored. A deployment-mode
experiment was rejected; the delivered package retains the original signed VSTO
manifests unchanged.
The first MSI trial omitted the limited-privilege summary bit and requested consent.
That packaging flag was corrected (summary value 10). Same-version repair also
required `REINSTALLMODE=vamus` to recache the updated MSI. These trials are not the
distributable linked above. No Visual Studio, Office, runtime, trust-store or
security-policy repair was performed.
## Actual user-session evidence
- Final setup log: 22:32:58 Windows Installer result 0; 22:33:10 VSTO result 0;
both installed, with final file verification and launch successful.
- Normal Word displayed only **Local Companion: connected** and **Open Companion**.
- Blank Word PID 2456 was closed normally; process absence was checked. Normal Word
PID 34232 then opened the existing eight-word synthetic recovery document. The
PlotDirector ribbon remained enabled and connected after this restart.
- Open Companion activated the installed tray control centre. No manuscript was
opened, edited, saved or uploaded during this qualification.
- Tray PID 36036 runs from the installed Programs directory. Duplicate EXE launch
and the actual installed Startup shortcut retained this same single PID.
- User explicitly confirmed the round P notification-area icon visible.
- Tray UI showed Word connected, Development online, authentication verified and AI
configured. The user completed browser approval; no credential was automated.
- The existing synthetic document's remembered authorised book restored after
reopening. Explicit local Detect Chapters found **Chapter One, eight words**.
No analysis/upload or paid AI request was made.
- Current-user Start menu and Startup shortcuts point to the installed executable;
the former passes `--open`, the latter starts the tray without opening its window.
- Restarting the whole laptop was not performed. Startup configuration and actual
shortcut launch were checked instead. Authentication tokens are memory-only in
this version, so a future tray/Windows restart requires sign-in again.
Evidence JSON/logs and prior registration exports are retained under
`C:\Users\Nick\Downloads\PlotDirectorWordCompanion\InstallationRecovery` and
`%LOCALAPPDATA%\PlotDirector\InstallerBackup`. No secrets are copied into this report.
## Build and scope
- Complete solution `dotnet build PlotLine.slnx -c Release`: passed, zero warnings
and errors. An initial no-restore attempt lacked the new Windows target assets;
normal restore/build resolved that build-only issue.
- Focused `--native-companion` and `--native-tray` executable harness checks: passed.
- Setup C# compilation, signed MSI creation and installed integration checks passed.
- New packaging sources and this evidence exist only in the existing isolated
detached worktree based on the required SHA. No new branch, force-push, server
deployment, application refactor, database change or production action occurred.
- The shared checkout's existing solution-file edit remains untouched.