XenMobile: Script to update MDX

Script Xenmobile

Today I propose you a script that will help you to keep you Citrix MDX up-to-date.

In fact I have been asked if that could be done, so I made some research on Rest API

And I finally finished the first version of my script.

Here after what you could expect:

  • Run the script

  • Provide the name (or IP) of the XenMobile Server

  • Provide your credentials (Local ADMIN Account)

  • A temporary folder is created (C:\Temp\Secure Apps) and iOS source MDX are downloaded (from my blog as on Citrix credentials are required)

Note: I will check if it’s possible to directly access Citrix to download latest version even with credentials.

  • Android source MDX are downloaded

  • The zip are uncompressed, the installed Citrix Secure Apps are listed, name and versions are retrieved and update process begin

  • A green message validate the upgrade of the app based on platform and the next one is done (next platform or next apps)

  • At the end of the script you should see the following screen and you can check on your XMS that all your apps have been upgraded to latest MDX


The script can be downloaded here


Note: For now there is a known limitation for ShareFile as it’s not possible to change the name for each platform so it will be ShareFile which is not supported/possible and need manual change.


Thanks to Ole Kristian Lona from Citrix for part of the code.


Please leave comment if you try it to let me know it it works as expected and/or if you would like more apps to be upgraded.


Thanks

Arnaud