PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
docs(installer): describe the per-user default install location and scope
Jeremy315e7fad668d
diff --git a/README.md b/README.mdindex f319ffead..1766e26eb 100644--- a/README.md+++ b/README.md@@ -459,11 +459,13 @@ The portable zip runs from any folder, a USB stick included. Its `portable.txt`logs and crash recovery in a `PdfCraftData` folder next to `pdfcraft.exe`, so nothing is written to`%APPDATA%`; delete that file to use the normal per-user folders.-The MSI installs for all users and requires administrator privileges. It adds "Edit with PdfCraft"+The MSI installs for your account only by default, without administrator privileges. Choose+"Everyone on this computer" on its first page, or pass `ALLUSERS=1` from an elevated terminal, to install+for all users. It adds "Edit with PdfCraft"to the right-click menu of PDF files and "Create PDF with PdfCraft…" to the right-click menu ofimages (.png .jpg .jpeg .tif .tiff .gif .bmp .jp2 .j2k .jpx) in File Explorer (on Windows 11, under"Show more options"), without changing which app opens them by default. For unattended deployment-without a desktop shortcut, run from an elevated terminal:+without a desktop shortcut (add `ALLUSERS=1`, from an elevated terminal, for an all-users install):```powershellmsiexec /i "pdfcraft-<ver>-windows-x64.msi" /qn /norestart INSTALLDESKTOPSHORTCUT=0@@ -471,7 +473,7 @@ msiexec /i "pdfcraft-<ver>-windows-x64.msi" /qn /norestart INSTALLDESKTOPSHORTCU| Property | `=0` leaves out ||---|---|-| `INSTALLDESKTOPSHORTCUT` | the all-users desktop shortcut |+| `INSTALLDESKTOPSHORTCUT` | the desktop shortcut || `INSTALLPDFCONTEXTMENU` | "Edit with PdfCraft" on PDF files || `INSTALLIMAGECONTEXTMENU` | "Create PDF with PdfCraft…" on images |diff --git a/crates/automation/README.md b/crates/automation/README.mdindex cdaaa13e6..c451250ad 100644--- a/crates/automation/README.md+++ b/crates/automation/README.md@@ -112,13 +112,13 @@ The release packages ship `pdfcraft-cli` alongside the desktop app, so no build| Install | CLI ||---|---|-| Windows (MSI) | `C:\Program Files\PdfCraft\pdfcraft-cli.exe` by default (wherever you installed it otherwise), not on `PATH` |+| Windows (MSI) | `%LOCALAPPDATA%\Programs\ArtCraft\PdfCraft\pdfcraft-cli.exe` by default (`C:\Program Files\ArtCraft\PdfCraft\pdfcraft-cli.exe` for an all-users install, or wherever you installed it otherwise), not on `PATH` || Linux (deb, rpm) | `/usr/bin/pdfcraft-cli` || macOS | the separate `pdfcraft-cli-<version>-macos-<arch>.zip` release asset (the `.app` holds only the desktop app) |```sh-# Windows, default install folder-claude mcp add pdfcraft -- "C:\Program Files\PdfCraft\pdfcraft-cli.exe" mcp --root <dir>+# Windows (PowerShell), default install folder+claude mcp add pdfcraft -- "$env:LOCALAPPDATA\Programs\ArtCraft\PdfCraft\pdfcraft-cli.exe" mcp --root <dir># Linux, or macOS with the CLI unzipped onto PATHclaude mcp add pdfcraft -- pdfcraft-cli mcp --root <dir>```diff --git a/docs/releasing.md b/docs/releasing.mdindex 600cc34ca..e8b4a6f6f 100644--- a/docs/releasing.md+++ b/docs/releasing.md@@ -111,7 +111,9 @@ neither the MSI nor the portable zip needs the Visual C++ redistributable.- Before packaging, it reads both executables' PE headers: the machine type must match `-Arch`, and`pdfcraft.exe` must be a GUI-subsystem program (no console window, #57) while `pdfcraft-cli.exe`stays a console program.-- `pdfcraft.wxs` (WiX v5) installs per machine into Program Files with a Start Menu shortcut, a+- `pdfcraft.wxs` (WiX v5) is a dual-scope package (per-user by default into+ `%LOCALAPPDATA%\Programs\ArtCraft\PdfCraft`, per-machine into `Program Files\ArtCraft\PdfCraft`;+ (see `packaging/windows/INSTALLATION.md`)) with a Start Menu shortcut, adesktop shortcut (on by default) and an App Paths entry. Both shortcuts are plain links to`pdfcraft.exe`, not advertised MSI shortcuts (#107, #143). The MSI version is the numeric `X.Y.Z`(MSI has no pre-release field), and same-version upgrades are allowed so release candidates replace