55 lines
3.4 KiB
Markdown
55 lines
3.4 KiB
Markdown
# Complete per-user Windows installer (1.0.0.10 recovery)
|
|
|
|
Run **PlotDirectorCompanionSetup.exe** from normal File Explorer after closing Word.
|
|
It contains the MSI and both application components; no adjacent payload folder is
|
|
needed. The application payload remains exactly source commit
|
|
`6cdb49c08a74852d5089be8a40c07309543954d1`, version `1.0.0.10`.
|
|
|
|
Build with existing Windows tooling, without launching Visual Studio:
|
|
|
|
```powershell
|
|
.\Build-Setup.ps1 -PackagePath '<validated complete signed developer package>' `
|
|
-OutputDirectory '<new output directory>' -CertificateThumbprint '<existing certificate>'
|
|
```
|
|
|
|
The builder verifies the payload inventory and both VSTO signatures, creates an
|
|
embedded CAB/MSI with Windows Installer's existing COM API and makecab, and compiles
|
|
the bootstrapper with the installed .NET Framework compiler. It installs no tools.
|
|
The existing developer certificate signs the MSI and EXE. A local developer
|
|
certificate is not a public distribution certificate: normal VSTO trust approval is
|
|
still required. Setup never writes certificate trust, inclusion lists or security
|
|
policy. Missing Framework 4.8, VSTO or .NET 10 x64 Windows Desktop prerequisites
|
|
produce a specific error; they are not installed or repaired automatically.
|
|
|
|
## Installation contract
|
|
|
|
- Per-user MSI, no ALLUSERS property; limited-privilege summary flag, compressed CAB.
|
|
- `%LOCALAPPDATA%\Programs\PlotDirector Companion` contains VSTO and `Agent`.
|
|
- Start menu opens the control centre; the current user's Startup shortcut starts
|
|
the same tray executable without opening its window at Windows sign-in.
|
|
- Word's manifest points to the installed signed manifest with `|vstolocal` and
|
|
LoadBehavior 3, preserving the existing registered-DLL hash resolver.
|
|
- The bootstrapper detects a packaged execution context and launches itself through
|
|
Win32_Process as the same user in normal Windows before touching installation
|
|
state. It never treats a private HKCU view as installation proof.
|
|
- Close Word first. Setup stops only this session's existing Companion agent from
|
|
LocalAppData; it never terminates Word or Visual Studio.
|
|
- Existing registration and exact-product VSTA metadata are exported under
|
|
`%LOCALAPPDATA%\PlotDirector\InstallerBackup\<timestamp>`.
|
|
- Previous exact PlotDirector VSTO deployments use the supported VSTO uninstaller.
|
|
Only its `-401` (not installed) result permits removing that exported orphaned
|
|
PlotDirector VSTA record. Other products and ClickOnce caches are untouched.
|
|
- Re-running setup uses Windows Installer recaching/repair for this product.
|
|
- Windows Settings > Apps > **PlotDirector Companion** uses the MSI uninstall path
|
|
for the installed files, registration and shortcuts. Existing application state,
|
|
document metadata, manuscripts and retained backups are not MSI components.
|
|
- Authentication tokens in version 1.0.0.10 are memory-only. Restarting the agent
|
|
requires normal Development browser approval again. Document associations remain
|
|
inside their documents; the installer neither opens nor saves documents.
|
|
|
|
An MSI result of zero is only a packaging result. Acceptance additionally requires
|
|
normal Word's minimal ribbon, Open Companion activation, connected IPC, exact
|
|
installed payload hashes/version, tray visibility and a real Word close/reopen.
|
|
Do not reboot the author's laptop as a test; inspect and launch the installed
|
|
Startup shortcut and report that actual reboot has not been exercised.
|