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

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>