Skip to main content

Does anyone have an article or instructions to setup Windows IIS 7 to cater HTTP Distribution Point?



Information I need to know information like MIME type setup, etc. as IIS doesn't list .pkg .dmg. mpkg MIME types.



I have got IIS 7 working but having issues with non-flat packages and BOM files installed via Self Service.



All the flat packages and DMG installers are working fine but non-flat ones give errors like this;



/usr/sbin/jamf is version 8.51
Executing Policy Sophos Anti-Virus...
[STEP 1 of 2]
Downloading BOM for Sophos.pkg...
This Apple Package did not have a valid index.bom file. Assuming it is a flat file package.
Downloading http://myjss.server.com:80/CasperShare/Packages//Sophos.pkg...
Installing Sophos Anti-Virus.pkg...
Installation failed. The installer reported: installer: Error the package path specified was invalid: '/Library/Application Support/JAMF/Downloads/Sophos.pkg'.
[STEP 2 of 2]
Running Recon...
Gathering Application Usage Information...
Finding Extension Attributes...

The trick is having logic in script so it doesn't run while a copy is in progress.


@Kumarasinghe,
Thank you for posting your instructions on setting up IIS as a distribution file server. I had most of it setup properly but it was not working until I added the mime types. Thank you for taking the time to post your instructions.



AJ


woohooo this works!