How to force / reinstall an APP under SOTI V15

Solved
FB
François B
sotipanoptesfr

Hello,

One little question with SOTI V15.

How can I force / resintall an APP ?

Thank you,

2 years ago
Android
ANSWERS
ZC
Zafer Cigdem
2 years ago

Hello François,

Do you assign your apps under the profile from MobiControl WebConsole? If yes, what is the status of the Profile? On the other hand, do you see any error message related to installation of your application..

Re-installation can be triggering different ways, regarding your usage, we can do our best to help. Thank you.

Zafer

RS
Rafael Schäfer
2 years ago

You can execute 2 legacy scripts:
uninstall bundleID

and later when uninstallation is done:
install bundleID

But test it first before doing it on many devices. I used the install part only once (app provided via managed playstore on a fully managed device) yet and not sure if there are any dependencies.

FB
François B
2 years ago

@Zafer, @Rafael,

The question is general because I have to create a procedure which will explain how to force / reinstall an App
So what's your point of view ?

Thank you,

ZC
Zafer Cigdem
2 years ago

Hi @François B

So in addition to what Rafael said, you can use MobiControl APIs to trigger reinstallation. You can access the available APIs from https://Your_MobiControl_Address_Here/MobiControl/api/

and you may use the API call of "/profiles/{referenceId}/actions/retry" to reinstall the application. To use this API call you would need ReferenceId of the profile that you want to reinstall, you can get this information by using another API call which is "/api/devices/$deviceID/profiles". 

I hope it helps. Thank you

Zafer

FB
François B
2 years ago

Thank you Zafer.

But it has to be simple to use, API it's too tricky.

It's under user not admin SOTI.

IN this condition the profil will be created.

Again Thank you,

ZC
Zafer Cigdem
2 years ago

Hi @François B

Then user can visit the profile from the device and click on the Force installation under the profile (if any appears)

Or you can create a Virtual Group and put some filters to list all the devices based on your conditions, and you can assign the uninstall/install commands on these devices by using Task Scheduler Profile or such.

Last thing that I can share for now is if there is any lockdown/kiosk screen, you may put these 2 legacy commands onto the lockdown to let the user uninstall/install apps (but this may require addition permission and may not work if these are not given/enabled on lockdown). Either way, please test with a single devices first if you can. I hope it helps. Thank you

Zafer 

Solution
RS
Rafael Schäfer
2 years ago

You can save those scripts as default legacy scripts so the users can just run then by selecting them from drop down when executing "send script" device action.

MD
Matt Dermody Diamond Contributor
2 years ago

We need to understand how the app is being installed on the device to be able to give you a more thorough answer.

Is the app in question installed via a Policy as an Enterprise App, a Policy as a Managed Play app, an APK Package based Profile, a File sync rule with a post install script, sideloaded manually, a system app in the OS, or something else entirely?

Force reinstallation of an application is going to be dependent on how the app was installed in the first place. 

FB
François B
2 years ago

Hi Matt,

thank you for your help and accurate questions.
Zafer provided me information that I want.

Thank you all.

M
MPMOD@SOTI
2 years ago

Hi François,

Thank you for posting on SOTI Pulse! 

I am glad to see that your issue was resolved. 

Please feel free to reach out to us if you have any further questions in the future.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter 

Similar Discussions