When you need to install exe, to temporarily turn off Microsoft Defender Antivirus;
Start > Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings (or Virus & threat protection settings in previous versions of Windows 10) > Switch Real-time protection to Off
After installing the exe, open Microsoft Defender Antivirus again