Files
pdfcraft/packaging/windows
Martin Ball 68ae16d39e fix(installer): drop the PowerShell association-notify action Defender blocks
#1080 ran a hidden PowerShell after install and uninstall that P/Invoked
shell32 SHChangeNotify(SHCNE_ASSOCCHANGED). Microsoft Defender flags that
pattern as a malicious command line and shows the user a security alert
(reported on v0.23.0). Remove the custom action; test-msi.ps1 now fails if
any custom action runs PowerShell.

Trade-off: Explorer's cached "Open with" list may miss PdfCraft until
sign-out after a fresh install, as before #1080.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 332544fa07)
2026-11-30 11:51:23 +01:00
..