MSP Packages with adb tool

// Expert user has replied.
J Jeremy Daleux 3 years 7 months ago
3 2 0

Hi,
We are actually working with ET1/TC55/MC40 and were wondering if there is any way to install MSP Packages manually using a specific command line from the ADB tool ?
 
Thank you

Please Register or Login to post a reply

2 Replies

L Larry Dykes

Hi Jeremy,

Depends on exactly what you want to do, and what level of persistence you want your content to have.
I will assume at this point that you do not want to use MSP at all, you just have an MSP Package (APF) and want to install it by pushing it from a PC via adb.
MSP Packages are generally used in Android to install APK's - so if you "extract" an APK from an MSP Package (which can be done with the MSP Package Builder)...
Then you could use the adb "install" command just as you would with any APK. If the MSP Package includes any other files besides the APK, you MAY be able to use adb "push" command to put them on the Android device -- as long as they belong in a folder to which you have write access through adb.

One thing you would lose by not installing files via MSP or SOTI  would be that that the APKs you install via adb will NOT persist over an Enterprise Reset.  An Enterprise Reset allows applications installed by privileged agents to persist, while anything not installed by such an agent is removed - thus providing a way to bring a unit back to a "known good state" defined by the Enterprise administrators, and preventing the need for devices to be "brought back in" for cleanup, in the event the user is able to install unwanted applications or settings.

J Jeremy Daleux

Hi Larry,

Very nice of you for having taking the time to answer me, the aim of my question is more to try the package manually before to deploy that package using MSP, just because we don't have a constant access to MSP.

So if that would be something possible it will allow us to just validate packages before deploying them with MSP.

I see no problem pushing up the apk file to the device using the adb push command but which command should I use to execute that package to be installed?

Thank you

Le 7 mar 2014 à 18:25, "Larry Dykes" mailto:motorola-dev@motorola-dev.hosted.jivesoftware.com>> a écrit :

Motorola Solutions Launchpadhttps://developer.motorolasolutions.com/>

MSP Packages with adb tool

reply from Larry Dykeshttps://developer.motorolasolutions.com/people/larry.dykes%40motorolasol... in Android - View the full discussionhttps://developer.motorolasolutions.com/message/15352?et=watches.email.t...

CONTACT
Can’t find what you’re looking for?