Install on IIS

Add the site to IIS

Drop the exe in the root folder of the site

If you visit the site at this stage, you should receive a 403 : forbidden screen

Add sitewide.exe as a default document

select the site you have just created in IIS

Select the “Default Document” section of the site

Select Add

enter “sitewide.exe”

If you visit the site at this stage, it will download the “sitewide.exe” file ( of if your browser is secured, your download manager will complain.

Set IIS to execute the exe not download.

select the site you have just created in IIS

Select the “Handler Mappings” section of the site

if the cgi-exe name is in the disabled section of the list, double click it.

although *.exe will work, we suggest changing it to Sitewide.exe

we also suggest specifically setting the path to the executable. ( this will make it hard in the future to run 2 exe’s on this site )

NOTE: the file dialogue defaults to DLL, you will need to alter the file selector to .exe.

in the list of mappings, it will show as disabled still. – right click the mapping and select “edit feature permissions” and select execute.

Set 404 to manage all pages on site

select the site you have just created in IIS

Double click “Error pages”

Double click 404

Select “execute a url on this site”

enter “/sitewide.exe

calling your site with “/version” should show the version number instead of a 404 error.