Transferred from http://blog.csdn.net/zz_mm/article/details/7970016
The Update file of the android project is stored on the IIS server and cannot be downloaded at the beginning because:
When iisis used to download this file for Webserver, can iisonly support downloading .apk files?
The iisserver cannot download the .apk file because no. APK file exists in the iis mime, so it cannot be downloaded.
The iisserver cannot download the .apk file. Solution: If .apk cannot be downloaded because it does not have mime, you can add a MIME type.
Steps for iisserver to download the .apk file:
Open IIS Service Manager, find the server, right-click Properties, and open IIS service properties;
Click the "MIME type" button under the MIME type to open the MIME type setting window;
Click "new" to create a new MIME type;
Fill in the extension name "pai.apk", and fill in the apk mime type "application/vnd. Android. Package-Archive" in the MIME type"
Click OK to save the settings.
Restart IIS to make the settings take effect.
Now, you can download the .apk file from the iisserver website.