Picture of Sam 4951
Registered 4 years 362 days
Sam 4951 Thursday, 3 March 2022, 04:55 PM
Two binaries with one App installation?
Dear Innovaphone support,

Is it possible to install two binaries with one App installation?

Our App X is using another binary Y.
First we installed Y as /usr/sbin/Y on the App Platform via scp.
This works fine. App X can use Y via the Commands API.
But when a new version of the App Platform is installed, /usr/sbin/Y is removed.
We want to avoid this by including Y in the App installation package.

According to https://sdk.innovaphone.com/13r2/doc/appstoreguide.htm this might work by listing all required files in app_files.
X_files currently contains:
Y,X,X.png

But only X and X.png are installed.
Y is not copied to the App Platform.

Do you have a solution?

Best regards,
Sam
Picture of Carmen Álvarez Méndez (innovaphone)
Moderator Registered 7 years 78 days
Carmen Álvarez Méndez (innovaphone) Friday, 4 March 2022, 01:17 PM
Re: Two binaries with one App installation?
Hi Sam,

you can upload anything that would be included on the x_files file. The only issue here is if your filename (Y) contains the name of the main binary (X). So if your binary X is something like "mytest" and the other binary Y is "mytest2" then it will not be added to the copy array included on apps.json and the AP Manager will not copy it. For that we already made a fix and will be available with the next service release on 13r2.

Regards,
Carmen
Picture of Sam 4951
Registered 4 years 362 days
Sam 4951 Friday, 4 March 2022, 03:11 PM
Re: Two binaries with one App installation?
Hey Carmen,

Ok, thanks. It works now via the copy-array.
My mistake was that I created the apps.json myself, instead of generating it via the App Store App.

Best regards,
Sam
← You can define your color theme preference here