Why xml files does not execute on the devices

Why xml files does not execute on the devices

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 Answers

Order By:   Standard | Newest | Votes
Simon Breuer | posted this 26 April 2021

Hi!

What looks your Post-Install-Script like?

The syntax must be as follows:

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

  • 1
  • 0
Warraq | posted this 27 April 2021

Hi Simon,

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

  • 0
  • 0
Matt Dermody | posted this 27 April 2021

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. 

  • 0
  • 0
Warraq | posted this 27 April 2021

Hey Matt,

 

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

 

Appreciated.

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback