Delay android package update

Delay android package update

Dear All!

Anyone knows a way I can delay the package upgrade on android devices?

If I switch the package in the profile, it kills the app and updates the software.

Any script/solution that waits for the app to close before updating it?

thanks

5 Answers

Order By:   Standard | Newest | Votes
Chris R. | posted this 14 October 2020

I'm running into the same issue and would love a solution as well.  In general, we try to use the scheduler for the profile options but it's not always feasible for the amount of devices we support in multiple time zones, etc....  I recently had to create 4 different profiles for the same group of devices so we could cover all of the application upgrades when the device wasn't being used between shifts.  It was messy.  It would be great if there was also an option for a package to initiate install after a device reboot. 

  • 0
  • 0
Vilmos Kekesi | posted this 13 October 2020

Thanks! That sounds like what I wanna do.

Is there a way I can get this script into a pcg file with studio as a pre-install script?

  • 0
  • 0
Matt Dermody | posted this 13 October 2020

I have wanted this as a Profile Assignment Option for a long time. It would be great to be able to specify a bundle ID that should not be in use in order for the Profile Packages to be installed. SOTI is already able to detect and gather the App in Foreground since it is a reportable property so it seems like the mechanisms should exist to pull it all together.

 

I believe it is technically possible to achieve what you're looking for with the new Javascript based scripting since you can identify the foreground activity and then use that as criteria to either install something or delay an installation. The challenge would be getting the script to continue running at a given interval until the installation is finally completed. 

 

 

https://www.soti.net/mc/help/javascriptapi/en/mobicontrol.app.html

 

  • 1
  • 0
Vilmos Kekesi | posted this 13 October 2020

Thanks for the info!

Unfortunately there is no "maintenance window" because more than 200 devices is used 24/7 throughout the country.

  • 0
  • 0
Raymond Chan | posted this 13 October 2020

If the app won't be running after office hour,  one possible solution is to limit the package installation time in the option tab of the profile deploying the .pcg package of such sensitive app.

 

 

 

If there is no such time window, a even better and generic solution possibly involves an additional custom app that checks the running status of the sensitive app, and have the status reported back to the MobiControl server via a specific custom data (defined in data-collection rule), which is then used as a filter criterion in the profile assignment. 

 

 

  • 1
  • 0

Give us your feedback
Give us your feedback
Feedback