Dependencies (App installer schema)

Defines the dependency packages that are required for successful deployment of the related set. This element is optional.

Element hierarchy

<AppInstaller>
**Dependencies**

Syntax

<Dependencies>
  <!-- Child elements -->
  ( Bundle{0,10000}
  | Package{0,10000}
  )
</OptionalPackages>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

None

Child Elements

Child Elements Description
Bundle Element that includes information about the app bundle. The child elements of this element requires an exact match of the name, publisher and version from the identity element in the app package bundle manifest.
Package Element that includes information about the package. This elements requires an exact match of the name, publisher and version from the identity element in the app package manifest. ProcessorArchitecture is an optional element.

Parent Elements

Parent Elements Description
AppInstaller The root element of the appinstaller document.

Remarks

These packages will only be installed if they are not already available on the target device.

Examples

The following example is taken from a sample appinstaller file. The Uri location doesn't exist.

  <Dependencies>
    <Package Name="Microsoft.VCLibs.140.00" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.24605.0" ProcessorArchitecture="x86" Uri="http://foobarbaz.com/fwkx86.appx" />
    <Package Name="Microsoft.VCLibs.140.00" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.24605.0" ProcessorArchitecture="x64" Uri="http://foobarbaz.com/fwkx64.appx" />
  </Dependencies>

Requirements

Requirement Description
xmlns=http://schemas.microsoft.com/appx/appinstaller/2017 This namespace is required for features introduced in Windows 10, version 1709.
Minimum OS version Windows 10, version 1709