It's probably not Windows Defender being overly aggressive on its own - more likely you've got a combination of things going on. Windows Defender does update its threat definitions frequently, and sometimes older installers or files with certain signatures can trigger false positives, especially if they haven't been updated in a while by the publisher. That said, there are a few settings worth checking before you assume it's just being annoying.
First, make sure you're not running multiple antivirus programs at once - that's a common culprit for constant quarantining and conflicts. Check your installed programs to see if anything else is scanning in the background. You can also try adding those specific files or folders to Windows Defender's exclusion list. Go to Settings > Privacy & Security > Virus & threat protection > Manage settings, and look for "Add or remove exclusions." Just be careful here - only exclude things you're 100% confident about, since exclusions bypass all scanning. If an installer you trust keeps getting flagged, adding its folder to the exclusion list is reasonable.
Another thing that helps: make sure Windows and your software are both up to date. Sometimes publishers release patched versions of installers that no longer trigger false positives, so checking for newer versions of whatever software is getting quarantined might solve it permanently. If it's happening with multiple random files and none of these steps help, you could also try temporarily disabling real-time protection while you install something, then turning it back on - but again, only do this if you genuinely trust the source.