”Windows protected your PC”
What it is: Microsoft Defender SmartScreen. It appears for files downloaded from the internet that aren’t signed, or whose publisher has little reputation yet. What users can do: click More info, then Run anyway, if they trust where the file came from. What you can do:- Sign your setup file. It then shows your name instead of “Unknown publisher”.
- Keep using the same certificate, so its reputation builds up. A new certificate can still see warnings for a while.
- Publish from a stable, trustworthy address.
signtool verify /pa <file>.
The administrator prompt says “Unknown publisher”
Your setup file needs administrator rights (scope = "machine" or an elevated step) and isn’t signed. Sign it.
An app is blocked by Smart App Control
On Windows 11, Smart App Control checks every program that starts, including the ones your installer unpacked. Signing only the setup file doesn’t cover them: sign your.exe and .dll files in your build, before Bach packs them.
Antivirus quarantines the file
See Antivirus warnings. In short: sign, report the false positive to the vendor, and on your build computer exclude only your build output folder if needed.The uninstaller isn’t signed
That’s expected.uninstall.exe is written on the user’s computer without a signature, because a signature only matches the exact file it was made for.