Parallels Client on Android - SOTI deployment - Parameters injection

YM
Yann M
GROUPE BALLANDE

Hello,
We are using a MDM solution (SOTI) in order to deploy the Parallels client on all the devices.
We have no problems with the installation of the APK itself but we would like to inject automatically the parameters itself (including the password if possible).
We have defined a X2C file but the application is not authorized to access the file (and we didn't find any parameters to authorize such access for the application).
Here is our postinstall code:

;; program executed with XML flow and variables
sendintent -a "intent:#Intent;action=android.intent.action.MAIN;component=fr.solutys.filesettings/.MainActivity;S.LoginProginov=%CustomAttr:LoginProginov%;S.NomTerminal=%CustomAttr:NomTerminal%;S.file-modify=/sdcard/solutys/servers.2xc;end;"
sendintent -a "intent:file:///sdcard/solutys/servers.2xc#Intent;type=application/2xc;action=android.intent.action.VIEW;launchFlags=0x10000000;end"​

We also tried to copy the X2C file in the "data" folder without success:

copy %sdcard%/Download/servers.2xc %sdcard%/Android/data/com.parallels.client/files/Parallels Client/servers.2xc​

Can anyone help?


Thanks in advance.

10 months ago
Android Scripting
ANSWERS
LC
Leon Callsen
10 months ago

Hi Yann, 

I am not sure which Android version you are using on your device. 
You have to be aware of the "scoped storage" since the start of android 11. 
Your application is only possible to access it's own folder (also for MobiControl) 
You have to use "shared storage or common storage" like /sdcard/Download/ or /sdcard/Documents. 
Your application should be able to access that folder. 

I have a customer which implemented the option that you can choose the path where the configurations file is deployed. 

YM
Yann M
10 months ago

Hello,

Thanks for the tip.

Unfortunately, I am getting this message:

However, in the application parameters, there is no option to authorize the access to the files.

Regards

K
KAMOD@soti.net
10 months ago

Hi Yann M,

Thanks for posting on SOTI Pulse.  Thanks, Leon for responding to the post, your expertise and willingness to help are greatly appreciated!

Has your query been resolved? If this post did not assist you in resolving the issue completely and you have additional questions, please do not hesitate to reach out or you can contact SOTI Support (support@soti.net) to open a new case and one of our support engineer will be there to assist you.

Kind Regards
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

YM
Yann M
10 months ago

Hello,

I contacted the support and it seems there is no solution for Android version 11.

Indeed, it is not authorized to copy in the Android/Data folder and the target application (Parallels) is missing some options for an automated deployment.

Just to explain the context, Paralles is a kind of Citrix client and we want to deploy the application through Soti and inject the configuration automatically.

has anyone faced the same issue?

Thanks in advance.

Regards

K
KAMOD@soti.net
5 months ago

Hi Yann,

Can you please share the ticket number so that we can track the process or do let us know if this is resloved.

YM
Yann M
5 months ago

Hello,

The case number is : C01574225

Regards,

Yann

N
NSMOD@soti.net
3 months ago

Hi Yann,

As I have checked, the case you mentioned have been closed as application does not have a managed app config enabled by their developer due to this reason the current requirement is not feasible.

Kindly let me know if have any issues, if not can we close this ticket.

Kind Regards
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |