Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 1.22 KB

device-agent-deployment-layout.md

File metadata and controls

33 lines (25 loc) · 1.22 KB

Device Agent Deployment Layout

Purpose

This page describes a possible layout for the Device Agent executable and its supporting files on disk. The manifest files (described below) allow other configurations as well.

Sample

c:\deploy\
          bin\
              AzureDeviceManagementClient.exe
              AzureDeviceManagementClient.json
              <plug-in-executable-name>.dll
          manifests\
              <plug-in-executable-name-manifest>.json
          logs\
              <debug-mode-log-files>.log

Dependency Traversal

  • AzureDeviceManagementClient.exe starts, and looks for AzureDeviceManagementClient.json in the same folder. This part is not configurable.
  • AzureDeviceManagementClient.json tells AzureDeviceManagementClient.exe:
    • Where the plug-in manifests are (relative or absolute path).
    • Where debug-mode log files should be stored.
  • AzureDeviceManagementClient.exe enumerates and loads all files under manifests.
    • &lt;plug-in-executable-name-manifest&gt;.json tells AzureDeviceManagementClient.exe where the plug-in executables are.
    • AzureDeviceManagementClient.exe loads the plug-in executables.

Reference