Correct MIME type for MSI file downloads

By | May 26, 2015

Running Apache on Centos 7 and getting garbage when downloading files using IE? You need to modify the /etc/mime.types file and append the msi file extension to the line relevant line as follows –

application/octet-stream bin lha lzh exe class so dll img iso msi

Resave the file once modifed and restart apache.

This should force the browser to ‘Save As’ rather than trying to display the file within the browser.