In order to get the empower Sync to function as intended on any system, a RemoteServiceConfig.xml file needs to be provided. In companies where device management software is in use (share/ deploy software on more than one device), the administrator needs to share this RemoteServiceConfig.xml to each and every device, prior to the empower installation.
This file should always be shared to the following location:
We at empower decided to develop an additional way, in order to provide this file to the clients - using configuration profiles. Based on these configuration profiles and with setting the right variables, the administrator can share those profile onto every device. By doing this, the step where one should first copy the RemoteServiceConfig.xml to the required location is obsolete. By installing a configuration profile and the then following startup of empower, a new RemoteServiceConfig.xml would be created.
II. What are configuration profiles?
Apple's configuration profiles streamline the Mac computer, iPad and iPhone configuration process. You can use Apple's configuration profiles to securely and remotely deploy settings directly from the dashboard to ADM (Apple Device Management) enrolled devices.
Configuration profiles have a .mobileconfig extension and are XML files containing payloads. Payloads manage specific settings on Apple devices. A configuration profile can contain more than one payload and an Apple device can have more than one configuration profile.
Apple Configuration Profiles are not supported on devices using macOS 10.12 or earlier. Apple Configuration Profiles cannot push to those devices.
Here follows an example of how such a file should look like - Your dedicated RemoteServiceConfig.xml should be available :
<?xml version="1.0" encoding="utf-8"?>
<ServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
IV. Configuration profile variables
While creating a new configuration profile, the following variables should be taken into notice:
- ServerBaseUrl [REQUIRED] → Adequate to ServerBaseUrl in RemoteServiceConfig.xml
- ServerRoute [NOT REQUIRED] → Adequate to ServerRoute in RemoteServiceConfig.xml
- Default value: empower
- EnableAutoDiscovery [NOT REQUIRED] → Adequate to DisableAutoDiscovery in RemoteServiceConfig.xml
- Default value: true
V. How to install a configuration profile on my mac
Here is a link to the official documentation from apple, and how such a configuration profile should be installed locally on a machine
VII. How RemoteServiceConfig.xml & configuration profiles work together?
On every startup of empower, the following logic would be executed: