pdfcraft/packaging
jcl-bit f61a1e5465
M14: "Edit with PdfCraft" on the File Explorer menu of PDF files (#682) (#1180)
* M14: "Edit with PdfCraft" on the File Explorer menu of PDF files (#682)

The Windows MSI adds a classic shell verb under
HKLM\Software\Classes\SystemFileAssociations\.pdf\shell\PdfCraft.Edit that
runs "pdfcraft.exe" "%1" with the app's icon. It appears whichever app is
the default for .pdf and never changes that default. On Windows 11 it is
under "Show more options": a first-level entry needs an IExplorerCommand
handler and package identity, which an MSI doesn't have.

MultiSelectModel is Document: several selected PDFs (up to 15) start one
launch each, and the existing single-instance hand-off opens them as tabs
of one window.

The verb has its own component, conditioned on a new secure public
property INSTALLPDFCONTEXTMENU (default 1, a welcome-dialog checkbox,
INSTALLPDFCONTEXTMENU=0 for unattended installs), following
INSTALLDESKTOPSHORTCUT. Its menu value is the key path, so uninstall
removes every value. The portable zip still registers nothing.

test-msi.ps1 checks the compiled Registry, Component, Property and
CheckBox rows, and that the .pdf default is never written. Docs: README,
docs/releasing.md, parity notes, ROADMAP log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Leave ROADMAP.md to main (its log moved on); the change is described in the PR

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-11 18:35:02 -04:00
..
freebsd Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
linux Linux: StartupWMClass is the window's app id (#1087) 2026-10-11 12:02:18 -04:00
macos feat(macos): declare document icon file for PDFs in Info.plist (#910) (#933) 2026-10-11 12:32:29 -04:00
web M3: keep late startup URLs from changing the active document (#583) 2026-10-09 18:52:13 -04:00
windows M14: "Edit with PdfCraft" on the File Explorer menu of PDF files (#682) (#1180) 2026-10-11 18:35:02 -04:00
.shellcheckrc Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 12:06:19 -04:00
env.sh Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
icons.sh M14: give Windows PDF files a dedicated document icon (#890) 2026-10-10 17:21:30 -04:00