Configure IIS 7.0 To Download APK


Answer :

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>


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable