Custom Script - Error: Module "ini" not found
Are all (those that works fine and those that are problematic) the device agent of the SAME version AND build numbers?
Same version (ie: Version 10) but an example of a working build number, 10-12-13.00-QG-U17-STD-HEL-04 and one example not working 10-16-10.00-QG-U00-STD-HEL-04.
Didn't think of build number before this post.
I've not checked the Android 8.10 yet.
I have a custom data from the console, this works.
My script checks the last modified date of a log file and updates the same ini file that the console is reading. This is why I am a bit surprised some devices can read an ini file in a script and some can't.
In my last post, I was not talking about device firmware version/build numbers, but MobiControl device agent version/build numbers rather.
However, you can tabulate both for all the devices you have and see if there is any CONSISTENT error pattern related to particular combination for firmware/device-agent for each device model you have.
I've not gone around all devices to get their build versions due to being out in the field.
But, by Agent Version:
Agent Version Ini Info
184.108.40.2066 Not active
So seems anything < v14.5 has the issue.
How can I upgrade the Agent, I don't seem to have the Enable Agent Upgrade option. (I've only really seen that after a major upgrade of SOTI, though I do have the option to disable agent upgrade).
I've looked at https://docs.soti.net/mobicontrolagentdownloads/ but that doesn't seem to list the agent version number.
Using the above link, the left hand download, is the latest version in Google Play, and creating a MCStudio package fixed my issue, the ini script run on the handhelds.
If you meant ALL your devices with device agents v220.127.116.111, v18.104.22.1684 and v22.214.171.1247 work while those of lower versions all failed, then the consistent pattern is highly likely to suggest your statement that v14.5+ is required for the feature you use.
Regarding device agent upgrade, the best approach may depend on whether you are using generic Android-Enterprise device agent or OEM specific Android+ device agent, and the device OEM brand/model (which in your case is Zebra TC20/TC21). Please provide related information.
I can't make my on reply as a solution.
But, as per my edit in the previous, using the download from the URL and creating a MC Studio package (current version 126.96.36.1993) worked.
Surprised there is no easy Upgrade Agent from inside MC (but this does appear after a major upgrade)