Skip to main content

Scan2Deploy Host Profile

Overview​

A Host Profile Scan2Deploy profile supports every Scan2Deploy action, including installing apps and configuring Datalogic Launcher, Enterprise Browser, QuickBoard, and Visual Formatter. The profile is saved as a .tar file, and the barcode data only holds the location of that file. Instead of scanning the barcode, your MDM sends the same data to the Scan2Deploy Agent on the device in an intent, and the agent loads the profile from that location and applies it.

The .tar file can be hosted in one of three places, set in the File Hosting Location section of Scan2Deploy Studio:

  • Scan2Deploy Studio: Studio hosts the .tar file from the PC it runs on. Studio must be running and reachable by the devices on the network, so this is best suited to testing or small, on-site deployments.
  • Device storage: Your MDM pushes the .tar file to the device, then sends the intent. No server is needed. Used with SOTI MobiControl, SureMDM, and Workspace ONE.
  • External hosting: The .tar file is hosted on a web, FTP, or SFTP server that the devices can reach, and the agent downloads it. Used with Microsoft Intune, which can't push files to Android Enterprise devices.

If the profile only uses the actions supported by Barcode Only profiles, use a Barcode Only profile instead, as nothing needs to be hosted.

Before you begin​

Create the profile​

These steps set up a profile that your MDM can send to the devices. What the profile changes on the device is up to you: you choose it in Add your configuration.

Start the profile

  1. Open Scan2Deploy Studio.
  2. On the Welcome page, select Create Profile.
  3. On the Action Selection page, select the device Model, SKU, and OS Version.
  4. Under Configuration Actions, select Host Profile.

Add your configuration

  1. Select the actions for the settings you want to change on the devices. Wi-Fi Setup is selected by default; clear it if your MDM manages Wi-Fi.
  2. Select the > arrow to open the page of each selected action.
  3. If you kept Wi-Fi Setup, clear Remove saved networks on the Wi-Fi Setup page to keep the networks already on the device, such as those set by your MDM. It is selected by default.
  4. On each page, set the settings you want to apply. See the Scan2Deploy Studio documentation for each action.

Prepare the profile for your MDM

  1. On the Save and Scan page, select the File Hosting Location tab.
  2. Clear Use Studio to automatically host profile from this PC.
  3. Set the hosting location for your MDM:
    • SOTI MobiControl, SureMDM, and Workspace ONE: Select Device storage and enter /sdcard/Download/profile.tar as the path.
    • Microsoft Intune: Select the server protocol and enter the location where the .tar file will be hosted, such as https://<storage-account>.blob.core.windows.net/scan2deploy/profile.tar.
  4. Select the Settings tab.
  5. Under Scan2Deploy QR Code Settings, check that Version is set to V3.
  6. Select Silent Deploy, so the profile is applied in the background without the Scan2Deploy Agent opening on the screen of a device that may be in use.
  7. Select Save and save the .tar file.
  8. Rename the saved .tar file to profile.tar, or use the actual filename in the path above and in the steps below.
  9. Select Copy.
  10. Copy the data for your MDM:
    • SOTI MobiControl, SureMDM, and Workspace ONE: Select EMM Intent, then select your MDM (SOTI MobiControl, SureMDM, or Airwatch Intelligent Hub). The intent is copied, formatted for your MDM.
    • Microsoft Intune: Select Profile Data, then select Encrypted data.

See Save and Scan for more details on the copy options.

Deploy the profile​

These steps are based on SOTI's Creating a Package guide. A SOTI package copies the .tar file to the device, then runs the SOTI MobiControl intent copied from Scan2Deploy Studio as a post-install script.

Profiles under 2 GB

A profile that includes APKs or a firmware update can be larger than 2 GB, so a SOTI package is the recommended method. If your .tar file is under 2 GB, you can use a File Sync policy instead.

Create the package

  1. Sign in to the SOTI MobiControl web console.
  2. Open the main menu and select Packages.
  3. Select New Package.
  4. Select Create.
  5. Select Android as the platform.
  6. Enter a name for the package, such as Scan2Deploy Profile, and a version.
  7. Select Next.
  8. On the Files tab, select Add.
  9. Browse to, or drag in, profile.tar.
  10. Set File Destination to /sdcard/Download/.
  11. Select Save.

Add the intent script

  1. On the Scripts tab, select Add.
  2. Select Post-Install Script.
  3. Paste the SOTI MobiControl intent copied from Scan2Deploy Studio.
  4. Select Save.
  5. Select Next.
  6. Select Publish.

Assign the package with a profile

These steps are based on SOTI's Creating a Profile guide.

  1. Navigate to Policies > Profiles.
  2. Select New Profile.
  3. Select Android Enterprise as the platform.
  4. Enter a name for the profile, such as Scan2Deploy Profile.
  5. Open the Packages tab.
  6. Select Add.
  7. Select the Scan2Deploy Profile package.
  8. Select Add to Profile.
  9. Select Save and Assign.
  10. Select the target devices or device groups.
  11. Select Assign.
  12. Verify that the profile is applied, either on the device or in the session status file /sdcard/Download/S2DStatus.log.

Alternative: File Sync policy (profiles under 2 GB)

These steps are based on SOTI's Using File Sync Policies guide. SOTI File Sync doesn't support files larger than 2 GB.

  1. Navigate to Policies > File Sync.
  2. Select New File Sync Policy.
  3. Select Android as the device family.
  4. Enter a name for the policy, such as Scan2Deploy Profile, and select Next.
  5. On the Configure tab, select Download from Server.
  6. In Server File/Folder Name, select File Manager and upload profile.tar.
  7. In Device File/Folder Name, enter /sdcard/Download/profile.tar.
  8. Select Next.
  9. On the Scripts tab, turn on Enable Post-Sync Script.
  10. Set Script Type to Custom and paste the SOTI MobiControl intent copied from Scan2Deploy Studio.
  11. Turn on Execute Script Only if Files Transmitted so the profile is applied only when a new .tar file is transferred.
  12. Select Next.
  13. On the Schedule tab, configure the synchronization schedule.
  14. Select Save and Assign.
  15. On the Devices tab, select the target devices or device groups.
  16. Select Assign.