Finishpkg command with Android+

M
MichaelM
Feneberg Lebensmittel GmbH

Hello,

I'm trying to use the 'finishpkg' command in one of my packages to prevent a continuos reboot of the device.

I cant use the syntax shown at https://www.soti.net/mc/help/v14.1/en/scriptcmds/helpindex.html because Android doesn't support the 'if' command. (Logs of the device show an error)

Tried to put the 'finishpkg' command in front of the file path and completely leave out the 'if exist' and the package is not being installed. So far so good, but the installation status of the package is 'failed'.

Quote from Online Help:

This script command can be used to skip reinstalling the package but still report back as successfully installed to the deployment server.

Does anybody have experience with using this command on Android?

Thank you!

7 years ago
Android
ANSWERS
S
SMod@Soti
7 years ago

Hi Michael,

"Failed to Install (Prescript Abort)" is a pretty generic error and can be caused due to different reasons while installing a package on the device. I will recommend creating a support case here https://www.soti.net/services/support/supportcase/ as we will need to analyze the ADB logs from the device during package installation and the MobiControl DS logs to find the root cause of this installation failure.

Please let me know if you have any further questions.

Thanks

M
MichaelM
7 years ago

I only run into this error if I put the 'finishpkg' command in a pre-install script of the package. If I leave it out, the package gets installed successfully.

I'll go ahead and open up a support case.

Thank you!