Hello,
I am having problems downgrading packages successfully in Android Enterprise. I cannot find any SOTI documentation on how to downgrade properly, only upgrade. If someone can please help me with this or point me in the direction of proper documentation I'd appreciate it.
Specifics of my issue are as follows:
- Android 8.1
- Zebra TC56
- SOTI Version 14.4.1.1195
- Agent version: 14.4.7.1084
- Package installed via Android APK in SOTI Package Manager
We have apps that have new versions roughly once a month. So for example I have an app with an April version I needed to roll back to February version. I can upgrade no problem, simply take the new APK, create package with higher version, upload, update in profile and done.
However downgrading, I would THINK I should be able to simply select a lower version of the app in the profile and assign it. This results in an File IO error with no specifics. I then tried taking the older APK (since I keep archives) and repackaging it with a higher package version number, and this failed as well. The odd thing is if I force package reinstall, it works. But this action can only be done per device and we have 1000+ devices.
I have also tried weirder things like syncing the apk as a file with a rule, then trying to run commands manually to install it. I've tried including a pre-install script in my package to remove any newer or older versions before installing, and this failed.
Any help would be greatly appreciated. Thanks!