File Sync Post Sync Script Options

ST
Shawn T
Supply Chain Services LLC

Hello,

Following an OSUpdate file sync, I am trying to present with the option to reboot and install the update or cancel. This used to be possible in CE .

EX showmessagebox "Abort the operation?" NO_TIMER 4 YES
if %ShowMessageBoxReturn% == IDYES goto Exit

With the IF statement not supported on Android and and showmessagebox unable to gather response, I have not found an easy way to do this in Android. Has anyone found a way to do this with Javascript yet on Mobicontrol 15? 

Thanks for your time.

Shawn

5 years ago
MobiControl - Android Script Engine
ANSWERS
RC
Raymond Chan Diamond Contributor
5 years ago

Conditional program flow in legacy MobiControl script is extremely limited. 

The "IF" condiditional flow on javascript has been tested OK on latest MobiControl AE device agents.  However, there currently seems to have little/no  functions to support basic user interaction in MobiControl javascrpt engine implementation.  So, what you need in .pcg post-install operation seems to be not doable with either script language at the moment.