about

Offline installation guide

This guide is not for the average user, so pay attention to the instructions!

MSIX

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:

Offline installation

Make sure your system meets the minimum required version: Windows 10.0.19044.1706, otherwise you won’t be able to install the app.

1. Prepare the script

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

2. Prepare AppInstaller and its dependencies

(Get-AppxPackage Microsoft.DesktopAppInstaller).Version
AppInstaller dependencies
AppInstaller

3. Prepare Wintoys and its dependencies

Wintoys dependencies
Wintoys
Run the script

Observations