Finishpkg command with Android+

Finishpkg command with Android+

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!

2 Answers

Order By:   Standard | Newest | Votes
SMod@Soti | posted this 25 May 2018

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

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | soti.net |

 

  • 0
  • 0
MichaelM | posted this 28 May 2018

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!

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback