Squirrel / OldSquirrelForWindows

It's like ClickOnce but Works™
664 stars 55 forks source link

RELEASES file hosted in IIS #205

Open matteomigliore opened 11 years ago

matteomigliore commented 11 years ago

I suggest to add an extension to the RELEASES file, I'm trying to add it in a IIS website, but I don't know how to insert the MIME type.

[Update] To publish the files using IIS, place a web.config with this configuration:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <directoryBrowse enabled="false" />
        <staticContent>
            <mimeMap fileExtension=".nupkg" mimeType="application/zip" />
            <mimeMap fileExtension="." mimeType="plain/text" />
        </staticContent>
    </system.webServer>
</configuration>
patrickjohncollins commented 10 years ago

This web.config should ideally be included automatically in Releases folder.