[GUIDE] Add Store to Windows 10 EnterpriseS SKU (LTSB/LTSC)

Discussion in 'Windows 10' started by Tito, Aug 9, 2016.

  1. wasabipham87

    wasabipham87 MDL Novice

    Mar 23, 2017
    9
    1
    0
  2. Falcon

    Falcon MDL Novice

    Dec 4, 2009
    3
    0
    0
    Is it possible to add the store to the WIM for LTSC 2019? I am looking to deploy it as an upgrade package to existing LTSB 2016 systems with the store preinstalled.
     
  3. 845612

    845612 MDL Novice

    May 29, 2018
    7
    1
    0
    I have tried the store from the OP but while it installs ok it is outdated and it will not install cinebench properly. It gives a DLL error when trying to start it.

    I tried installing this https://forums.mydigitallife.net/th...ises-sku-ltsb-ltsc.70741/page-42#post-1522775

    But it had an install error for the xbox section, I tried manually updating the .NET components but that caused the store install to fail instead.

    Is there an "official" latest release for the store?
     
  4. Ohmygodzilla

    Ohmygodzilla MDL Novice

    May 26, 2019
    1
    0
    0
    You guys are geniuses! Script work like a charm, Win 10 LTSC
     
  5. boyonthebus

    boyonthebus MDL Senior Member

    Sep 16, 2018
    358
    187
    10
    yes
     
  6. Falcon

    Falcon MDL Novice

    Dec 4, 2009
    3
    0
    0
    How can I accomplish this?
     
  7. Asaness Lights

    Asaness Lights MDL Novice

    Dec 17, 2017
    2
    0
    0
    I'm on LTSC (Version 1809 17763.503 ) . When I open MS Store. the window just pops up for like 0.5 seconds then disappears.
     
  8. ador250

    ador250 MDL Novice

    Jun 5, 2019
    1
    0
    0
    Ok, the latest update of MS Store that we got yesterday just broke Store completely. After launching the store the window just disappear in 0.5 sec. How do we fix it now ?Some dependency may be broken or something.
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,346
    34,758
    300
  10. xunkaze

    xunkaze MDL Novice

    Sep 27, 2009
    7
    0
    0
    #852 xunkaze, Jun 7, 2019
    Last edited: Jun 7, 2019
    DELETE
     
  11. Asaness Lights

    Asaness Lights MDL Novice

    Dec 17, 2017
    2
    0
    0
    I extracted all of them in single folder then ran as administrator: it just says "Error: Required files are missing in the current directory"
     
  12. ZerOx16x

    ZerOx16x MDL Member

    Oct 28, 2013
    157
    226
    10
    Move pushd "%~dp0" from bottom to top

    Ex:
    Code:
    @echo off
    set "SysPath=%Windir%\System32"
    if exist "%Windir%\Sysnative\reg.exe" (set "SysPath=%Windir%\Sysnative")
    set "Path=%SysPath%;%Windir%;%SysPath%\Wbem;%SysPath%\WindowsPowerShell\v1.0\"
    for /f "tokens=6 delims=[]. " %%G in ('ver') do if %%G lss 16299 goto :version
    fsutil dirty query %systemdrive% 1>nul 2>nul || goto :uac
    set "arch=x64"
    if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 set "arch=x86")
    pushd "%~dp0"
    
    if not exist "*WindowsStore*.appxbundle" goto :nofiles
    if not exist "*WindowsStore*.xml" goto :nofiles
    
    
    for /f %%i in ('dir /b *WindowsStore*.appxbundle 2^>nul') do set "Store=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*1.7*.appx 2^>nul ^| find /i "x64"') do set "FK7X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*1.7*.appx 2^>nul ^| find /i "x86"') do set "FK7X86=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*1.7*.appx 2^>nul ^| find /i "x64"') do set "RT7X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*1.7*.appx 2^>nul ^| find /i "x86"') do set "RT7X86=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00_*.appx 2^>nul ^| find /i "x64"') do set "VCPX64=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00_*.appx 2^>nul ^| find /i "x86"') do set "VCPX86=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*2.2*.appx 2^>nul ^| find /i "x64"') do set "FK2X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*2.2*.appx 2^>nul ^| find /i "x86"') do set "FK2X86=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*2.2*.appx 2^>nul ^| find /i "x64"') do set "RT2X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*2.2*.appx 2^>nul ^| find /i "x86"') do set "RT2X86=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00.UWPDesktop*.appx 2^>nul ^| find /i "x64"') do set "VCDX64=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00.UWPDesktop*.appx 2^>nul ^| find /i "x86"') do set "VCDX86=%%i"
    
    if exist "*StorePurchaseApp*.appxbundle" if exist "*StorePurchaseApp*.xml" (
    for /f %%i in ('dir /b *StorePurchaseApp*.appxbundle 2^>nul') do set "PurchaseApp=%%i"
    )
    if exist "*DesktopAppInstaller*.appxbundle" if exist "*DesktopAppInstaller*.xml" (
    for /f %%i in ('dir /b *DesktopAppInstaller*.appxbundle 2^>nul') do set "AppInstaller=%%i"
    )
    if exist "*XboxIdentityProvider*.appxbundle" if exist "*XboxIdentityProvider*.xml" (
    for /f %%i in ('dir /b *XboxIdentityProvider*.appxbundle 2^>nul') do set "XboxIdentity=%%i"
    )
    
    if /i %arch%==x64 (
    set "DepStore=%FK7X64%,%FK7X86%,%RT7X64%,%RT7X86%,%VCPX64%,%VCPX86%"
    set "DepPurchase=%FK7X64%,%FK7X86%,%RT7X64%,%RT7X86%,%VCPX64%,%VCPX86%"
    set "DepXbox=%FK2X64%,%FK2X86%,%RT2X64%,%RT2X86%,%VCPX64%,%VCPX86%"
    set "DepInstaller=%VCDX64%,%VCDX86%,%VCPX64%,%VCPX86%"
    ) else (
    set "DepStore=%FK7X86%,%RT7X86%,%VCPX86%"
    set "DepPurchase=%FK7X86%,%RT7X86%,%VCPX86%"
    set "DepXbox=%FK2X86%,%RT2X86%,%VCPX86%"
    set "DepInstaller=%VCDX86%,%VCPX86%"
    )
    
    for %%i in (%DepStore%) do (
    if not exist "%%i" goto :nofiles
    )
    
    set "PScommand=PowerShell -NoLogo -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass"
    
    echo.
    echo ============================================================
    echo Adding Microsoft Store
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %Store% -DependencyPackagePath %DepStore% -LicensePath Microsoft.WindowsStore_8wekyb3d8bbwe.xml
    for %%i in (%DepStore%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %Store%
    
    if defined PurchaseApp (
    echo.
    echo ============================================================
    echo Adding Store Purchase App
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %PurchaseApp% -DependencyPackagePath %DepPurchase% -LicensePath 
    
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe.xml
    %PScommand% Add-AppxPackage -Path %PurchaseApp%
    )
    
    if defined AppInstaller (
    echo.
    echo ============================================================
    echo Adding App Installer
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %AppInstaller% -DependencyPackagePath %DepInstaller% -LicensePath 
    
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.xml
    for %%i in (%DepInstaller%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %AppInstaller%
    )
    
    if defined XboxIdentity (
    echo.
    echo ============================================================
    echo Adding Xbox Identity Provider
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %XboxIdentity% -DependencyPackagePath %DepXbox% -LicensePath 
    
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe.xml
    for %%i in (%DepXbox%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %XboxIdentity%
    )
    goto :fin
    
    :uac
    echo.
    echo ============================================================
    echo Error: Run the script as administrator
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :version
    echo.
    echo ============================================================
    echo Error: This pack is for Windows 10 version 1709 and later
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :nofiles
    echo.
    echo ============================================================
    echo Error: Required files are missing in the current directory
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :fin
    popd
    echo.
    echo ============================================================
    echo Done
    echo ============================================================
    echo.
    echo Press any Key to Exit.
    pause >nul
    exit
    
    
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,346
    34,758
    300
    Fixed.

    i actually encountered the error when i verified the installation, but forgot to include the fixed script from VM :oops:
     
  14. jmh

    jmh MDL Novice

    Apr 13, 2013
    31
    6
    0
    #857 jmh, Jul 11, 2019 at 15:27
    Last edited: Jul 12, 2019 at 03:55
    I guess this is no longer working i only need store for realtek audio Console + asus sonic studio + asus sonic radar

    They are the only 3 things i need

    Edit installed LTSC and i got store installed works perfect