If you want to deploy an iOS application provisioned under an enterprise license on an IIS box the steps are simple enough:
– Create a folder where the .ipa file will be stored such as \inetpub\wwwroot\myApp
– Create a manifest (.plist) file, here is an example of what that should look like
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
– Next step would be to create a link in your web page that points to the manifest file you just created, notice it is a special type of scheme:
<a href="itms-services://?action=download-manifest&url=http://www.yourdomain.com/myApp/myApp.plist"> Tap Here to Install myApp</a>
Now if you tried to click on the link at this stage you would start receiving errors. So the next thing to do is add a couple of extensions into your MIME types
.ipa – application/octet-stream
.plist – text/xml
Done, you can now browse to the page on your iPhone/iPad/iPod and install your newly provisioned enterprise application.
WHAT ABOUT AZURE? I did mention Azure in the title of the post, so what’s different if you want to deploy via a Azure Website?
Technically, nothing is different, you still need the manifest file, and you still need to set up the href. The caveat here is that you cannot edit MIME Types in your Azure admin area.
Thankfully it is not a difficult thing to overcome. You can add your MIME Type directly to the web.config file
<mimeMap fileExtension=".ipa" mimeType="application/octet-stream" />
<mimeMap fileExtension=".plist" mimeType="text/xml" />
Now your enterprise application can be distributed using the power of Azure Websites 🙂