Creating Packages

About this task

To add contents to a package project on the SOTI MobiControl web console:

Procedure

  1. From the main menu, navigate to the Packages view.
  2. Select New Package in the upper right corner, then select Create.
  3. In the Create Package window, choose the appropriate platform from the available options.
  4. On the File menu select Create New Package Project to open the New Package wizard (see New Package Wizard).
  5. In the Create Package Wizard screen, fill in or select an option for each field. Then, select Next.
    Package Name Enter a name for the package that you want to create.
    Description [Optional] Give an appropriate description of the package.
    Processor Specify the processor of the device. In most cases, you do not need to modify the default ALL setting.
    Version Enter a version number for the package. For example: 1.0. Update the version number whenever you modify the package.
    OS Version Enter the range of versions of the device on which the package can be deployed. In most cases, you do not need to modify the default settings.
    Important: Android devices running Android agent versions greater than 14.4.1.1036 ignore the OS version and install the package regardless of the OS version range specifiedt.
    Vendor [Optional] Enter name of the vendor.
  6. In the Files tab, select Add to fill in or select an option for each field. Then, select Next.
    Add Type [Optional] Select the type of file to be added. Choose from the following:
    • File
    • Folder
    • APK (Only supported for Android devices)
    File Upload Browse for a file or drag and drop it in this field for upload.
    File Destination Specify the path on the device where the file or folder should be copied to.
    Copy Options Specify the conditions the package should follow when copying the file to the device.
    • Always copy the file to the device.
    • Replace file if file is older or non-existent.
    • Copy file to device if it does not exist.
    Do Not Uninstall the File. [Optional] Select this option to keep the application even if the package is revoked.
  7. Repeat for any other files, folders, or .apk files you want to add to this package. Then, select Next.
  8. In the Scripts tab, select Add to add a script to the package and choose when you want it to execute during the deployment process. Choose from the following execution options. Then, select Next.
    Name Activation Period
    Pre-Install Script executes before the installation of the other package contents.
    Post-Install Script executes after the installation of the other package contents.
    Pre-Uninstall Script executes before the uninstallation of the other package contents.
    Post-Uninstall Script executes after the uninstallation of the other package contents.
    Tip: Alternativley, select Import to import a saved script file. For more details, see Using Scripts In Packages.
  9. Repeat for any other scripts you want to add to this package. Then, select Next.
  10. Review the Size Settings details of the package.
    File Space Required Displays the combined file size of all the contents in the package, including installation instructions.
    Additional Space Required Specify any additional space that the contents of the package need for a successful installation.
    Total Space Required (KB) Displays the combined size of Total File Space Required and Additional Space Required for the final size of the package.
    Prompt user before Package Installation Select this option to display a message on the device prompting the device user to install the package.
    If the device user selects Yes then the package begins installing. If the device user selects No then the package is not installed. Package installation is attempted a set number (five by default) more times according to the device's update schedule.
    Tip: You can also force package installation from the device's Configuration view.
    Message Enter a message that appears in the message box prompt when the package is delivered to the device.
    Timeout Enter the number of seconds during which the prompt message remains on the device screen before it is automatically dismissed.
  11. Select Save to save the project file or select Publish to build the project.

Results

The created package file lists on the Packages view.

What to do next

Use a profile to deploy packages to your devices.