Configure IIS 7.0 to download APK

Solution 1:

  1. Open the Internet Information Service (IIS) Manager -> Properties
  2. Click MIME types
  3. New -> type Extension ".apk" and MIME type "application/vnd.android.package-archive"
  4. Click Ok and Apply

Solution 2:

Generally, adding a new MIME type should be all that's required:

application/vnd.android.package-archive

Solution 3:

Add this to the web.config:

<system.webServer>
   <staticContent>
     <mimeMap fileExtension="apk" mimeType="application/vnd.android.package-archive" />
   </staticContent>
<system.webServer>

Tags:

Iis 7