Why xml files does not execute on the devices

Solved Locked
W
Warraq
Pet Valu

I used stage now to create an XML file that changes the screen timeout on the devices (Zebra TC21), the test code worked when scanned by the device, but when I used the XML file to create a package using Package Studio and added it to a profile in SOTI, that didn't work. I used a post-install script when creating the package. And by the way, the profile installed the XML file on the device's SDcard but still looks like it did not execute itself.

Your help would be very much appreciated.

Thank you,

4 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

No. You need to place the xml file onto the device (location really doesnt matter) and then have a Post-Install script containing the mxconfig script syntax that Simon has provided. Do not mark the the file itself for installation. 

Solution
SB
Simon Breuer
4 years ago

Hi!

What looks your Post-Install-Script like?

The syntax must be as follows:

mxconfig /sdcard/[your folder]/[your xml].xml

W
Warraq
4 years ago (edited 4 years ago)

Hi Simon,

Thanks for replying, I use mobicontrol package Studio and tick the post-install option, is that the right thing to do ?

W
Warraq
4 years ago

Hey Matt,

Yes, right. it worked. Thank you and Simon for the help.

Appreciated.