This guide is not for the average user, so pay attention to the instructions!
Using an MSIX package format makes the process of installing offline a bit more difficult compared to other methods like the good old MSI installer or a black-box executable, but it comes with a lot of advantages as well:
Make sure your system meets the minimum required version: Windows 10.0.19044.1706, otherwise you won’t be able to install the app.
installer.bat
@echo off
:: ===================================================
:: Change variables (dependency file names)
:: ===================================================
set "APPINSTALLER_RUNTIME=Microsoft.WindowsAppRuntime.1.8.msix"
set "VCLIBS_DESKTOP=Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe.appx"
set "VCLIBS_UWP=Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64__8wekyb3d8bbwe.appx"
set "APPINSTALLER=Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
set "WINTOYS_RUNTIME=Microsoft.WindowsAppRuntime.1.7_7000.617.2103.0_x64__8wekyb3d8bbwe.msix"
set "WINTOYS=11413PtruceanBogdan.Wintoys_2.4.12.0_x64__ankwhmsh70gj6.msix"
:: ===================================================
:: Installation of AppInstaller and its dependencies
:: ===================================================
echo Installing dependencies
echo Installing WindowsAppRuntime needed for AppInstaller
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%APPINSTALLER_RUNTIME%'"
echo Installing Desktop C++ framework
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%VCLIBS_DESKTOP%'"
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%VCLIBS_UWP%'"
echo Installing AppInstaller
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%APPINSTALLER%'"
:: ===================================================
:: Installation of Wintoys and its dependencies
:: ===================================================
echo Installing WindowsAppRuntime needed for Wintoys
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%WINTOYS_RUNTIME%'"
echo Installing Wintoys
powershell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -Path '%WINTOYS%'"
echo Done
pause
.bat file in that folder(Get-AppxPackage Microsoft.DesktopAppInstaller).Version
DesktopAppInstaller_Dependencies.zip file from here
APPINSTALLER_RUNTIME, VCLIBS_DESKTOP and VCLIBS_UWP, with the name of the files, as in the sample script.msixbundle file and place it in the same folderAPPINSTALLER variable from the script with the name of the AppInstaller filehttps://apps.microsoft.com/detail/9P8LTPGCBZXD.msix runtime for your architecture (available only for ARM and x64), download it and place it in the same folder as the rest of the filesWINTOYS_RUNTIME variable from the script with the name of the runtime fileWINTOYS variable from the script with the name of the app packageinstaller.bat file that will automatically install everything