LTSC & UWP Apps

mistermoody

New Member
After much digging and trial and error, I have succeeded in getting UWP apps integrated into Windows 10 LTSC. This became necessary after the Legacy Photo Viewer started choking on certain images, particularly from newer smart phones, and touchscreen users wanting Ink Workspace.

The script I'm using is below, run first on the ISO and then load into NTLite. Tested and working on 21H2, it should also work on 1809 with the exception of some incompatible apps. I know App Installer and Photos work but Ink Workspace does not. Index:1 is probably not correct for the original ISO download from Microsoft: I've stripped the unwanted versions out. The hardest part is figuring out which dependencies are needed.

I can provide links/instructions to get the files if anyone wants. Most came from https://store.rg-adguard.net/

Is there any way to integrate this in NTLite?

Code:
@echo WARNING! Close ALL File Explorer windows!
pause
dism /mount-wim /wimfile:E:\WIN_ENT_LTSC_2021_64BIT\sources\install.wim /mountdir:E:\mount /index:1

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.UI.Xaml.2.7_7.2203.17001.0_x64__8wekyb3d8bbwe.Appx /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe.Appx /LicensePath:E:\MicrosoftStoreApps\b0a0692da1034339b76dce1c298a1e42_License1.xml

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\Microsoft.Windows.Photos_2021.21090.10008.0_neutral_~_8wekyb3d8bbwe.AppxBundle /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe.Appx /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.Appx /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.Appx /SkipLicense

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\Microsoft.WindowsCamera_2021.105.10.0_neutral_~_8wekyb3d8bbwe.AppxBundle /SkipLicense

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\Microsoft.WindowsAlarms_2021.2101.28.0_neutral_~_8wekyb3d8bbwe.appxbundle /SkipLicense

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\Microsoft.MicrosoftStickyNotes_4.5.0.0_neutral_~_8wekyb3d8bbwe.Msixbundle /DependencyPackagePath:E:\MicrosoftStoreApps\Microsoft.Services.Store.Engagement_10.0.19011.0_x64__8wekyb3d8bbwe.appx /SkipLicense

dism /image:E:\mount /Add-ProvisionedAppxPackage /PackagePath:E:\MicrosoftStoreApps\41190Michaeptuch.InkWorkspace_1.7.0.0_x64__xrzatjdgvnbtg.Msix /SkipLicense

dism /unmount-wim /mountdir:E:\mount /commit
 
Download the current NTLite, it will now accept Appx packages as updates. The exception is encrypted EMSIX or EAPPX files (for Xbox or Windows Phone). If a package requires a specific license XML, you'll still have to run DISM.

Don't forgot to include the latest pre-reqs (.NET.Native, VCLibs, UI.Xaml).

The one problem right now is if the new version isn't numbered higher than the old. You'll need to remove the old package from the image, before applying the update. This is a DISM limitation that it checks for version numbering.
 
Back
Top