Discord usually installs quickly and easily without any problems on any device, however, there are rare instances where it may show a “Installation has failed. There was an error while installing the application. Check the setup log for more information and contact the author.” Thankfully, there are a few quick easy fixes for this problem that you can get started on right now.

Takeaways:

  1. Learn how to “Installation has failed. There was an error while installing the application. Check the setup log for more information and contact the author.”
  2. How do you solve DiscordSetup.exe error “Installation has failed. There was an error while installing the application. Check the setup log for more information and contact the author.”

How to Fix DiscordSetup.exe installation has failed error on Windows 11

Running the installer with admin privileges can help bypass restrictions preventing installation.

  • Locate the DiscordSetup.exe file.
  • Right-click the file and select Run as administrator.
  • Confirm any prompts and allow the installer to proceed.

Disable Antivirus and Firewall Temporarily

Security software can sometimes interfere with Discord’s installation.

  • Open your antivirus program and temporarily disable real-time protection.
  • Go to firewall settings and turn off the firewall temporarily.
  • Run the DiscordSetup.exe installer.
  • Once installed, re-enable your security software.

Clear Discords Temporary Files

Old or corrupted temporary files may disrupt the installation.

  • Type Disk Cleanup in the Windows search bar and press Enter.
  • Select your main drive (usually C:) and click OK.
  • Ensure Temporary files is checked, then click OK.
  • For a more thorough cleanup, click Clean system files, select your main drive, and remove additional unnecessary files.

Uninstall Previous Versions of Discord

Leftover files from a prior Discord installation can cause conflicts so remove any older versions completely and clean install Discord again.

  • Open Control Panel and navigate to Programs > Uninstall a program.
  • Find Discord, right-click it, and select Uninstall.
  • Press Windows + R, type %appdata%, and press Enter.
  • Locate and delete the Discord folder.
  • Repeat the process for %localappdata%.
  • Restart your computer before reinstalling Discord.

Run System File Checker (SFC) and DISM Scans

I doubt this is going to help solve the problem but it's an easy enough fix that you can do.

  • Type cmd in the Windows search bar.
  • Right-click Command Prompt and select Run as administrator.
  • Run the following command:

sfc /scannow

How to Fix DiscordSetup.exe installation has failed error on Windows

  • Once completed, check Windows image files by running:

Dism /Online /Cleanup-Image /CheckHealth

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

Fix DiscordSetup.exe installation has failed error on Windows

  • Restart your computer.