Google Ads

How to allow users to download exe-files from an iis 6 server

By default, IIS 6.0 will not serve unknown extensions and this includes exe and dmg files. When a user requests such file, IIS will reply back with a 404 status code.

The solution to this problem is to allow the exe extension.

To allow exe files to be downloaded to the client, follow these steps:

  • Open IIS Manager
  • Right click the folder where the exe-files are located and click Properties.
  • Click the “HTTP Headers” tab
  • Click on the “MIME Types” button
  • Click New
  • In the extension box, type .exe .dmg
  • In the MIME Type box, type application/octet-stream
  • Apply the new settings

Comments are closed.