sdmdistributeapp (sending instructions to install applications)
This command distributes applications to smart devices and sends a request to users to install those applications.
- Organization of this page
Functionality
This command distributes applications to smart devices specified in an application distribution information file, and sends instructions to install those applications.
Format
sdmdistributeapp -file application-distribution-information-file
Arguments
- -file application-distribution-information-file
-
Specify an application distribution information file that lists the applications to distribute and the smart devices to which to distribute those applications, as an absolute path of 259 or fewer bytes.
The character encoding of the application distribution information file is UTF-8.
Storage location
JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin
Execution permissions
Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)
Notes
-
To execute this command, the smart device manager and the service of the communication server must be running.
-
In the case of an Android application, if the application distribution information file defines distribution and installation, application distribution will take place first. If the application distribution information file defines distribution and installation for the same application, installation of the application will take place and the distribution request will be ignored.
If an installation request is specified for an application that has already been distributed, the application is installed without being redistributed.
-
If the application distribution information file specifies a non-existent application or smart device, the command terminates abnormally.
-
If an identical line appears more than once in application distribution information file, the corresponding application distribution and issuing of installation instructions takes place only once.
Return values
Return value |
Description |
---|---|
0 |
The command finished normally. |
11 |
The format for specifying the command arguments is invalid. Alternatively, the length of the file name specified for the command argument exceeds the upper limit. |
12 |
You do not have the permissions to execute this command. |
13 |
The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid. |
14 |
The file does not exist, or you do not have permission to access it. |
27 |
The format of the file is invalid. |
28 |
A specified application or smart device was not found. |
150 |
Other error occurred. |
253 |
The service has not started. |
Example
The following shows an example of using the command to distribute the applications specified in the application distribution information file C:\temp\distributeapp.csv# to the smart devices specified in the file, and issue the corresponding installation instructions.
sdmdistributeapp -file C:\temp\distributeapp.csv
- #: The contents of the C:\temp\distributeapp.csv file are as follows:
Operation,OS type,Distributed application,Version,Smart device name install,iOS,ApplicationA,1.0,Device1 install,iOS,ApplicationA,1.0,Device2 install,iOS,ApplicationA,1.0,Device3 install,iOS,ApplicationB,1.0,Device1 install,iOS,ApplicationB,1.0,Device2
Related Topics