Integrating Appx OptionalPackage

mistermoody

New Member
In Windows 10 LTSC, trying to integrate for example Microsoft.Windows.Photos.DLC.Main_2021.39122.10110.0_neutral_~_8wekyb3d8bbwe.AppxBundle (Photos AddOn) doesn't work, it shows Incorrect Parameter and skips it, the same error you get with dism if you try to install it with /PackagePath or /DependencyPackagePath instead of using /OptionalPackagePath within the parent app provision command.

Without this, I still have to run dism in a batch script to integrate these add-ons.
 
My guess is NTLite currently doesn't support Appx optional packages, because there wasn't a defined need. You would have to open every AppxManifest.xml file inside the bundles to check for parent dependencies, and rework the DISM package install chain.

Windows Photos Add-on is free, and was pushed to random unhappy W10 users – it probably justifies adding the missing integration support to get this package working.

AppxManifest.xml
Code:
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.15063.0" MaxVersionTested="10.0.17134.0" />
    <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.26706.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <uap3:MainPackageDependency Name="Microsoft.Windows.Photos" />
  </Dependencies>
 
Back
Top