install C++ libs first

This commit is contained in:
Mylloon 2023-05-17 11:19:39 +02:00
parent 68e2c310fa
commit b1b5e97b54
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -44,6 +44,18 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S
ECHO Y | winget list >NUL
SET "pmi=winget install -he"
:: C++ Libraries
SET ^"cpp_libs=Microsoft.VCRedist.2005.x86 Microsoft.VCRedist.2005.x64 ^
Microsoft.VCRedist.2008.x86 Microsoft.VCRedist.2008.x64 ^
Microsoft.VCRedist.2010.x86 Microsoft.VCRedist.2010.x64 ^
Microsoft.VCRedist.2012.x86 Microsoft.VCRedist.2012.x64 ^
Microsoft.VCRedist.2013.x86 Microsoft.VCRedist.2013.x64 ^
Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64"
for %%i in (!cpp_libs!) do (
!pmi! %%i
)
:: Applications
SET ^"apps=Mozilla.Firefox 7zip.7zip Discord.Discord Valve.Steam ^
voidtools.Everything.Lite VideoLAN.VLC File-New-Project.EarTrumpet ^
@ -60,18 +72,6 @@ for %%i in (!apps!) do (
!pmi! %%i
)
:: C++ Libraries
SET ^"cpp_libs=Microsoft.VCRedist.2005.x86 Microsoft.VCRedist.2005.x64 ^
Microsoft.VCRedist.2008.x86 Microsoft.VCRedist.2008.x64 ^
Microsoft.VCRedist.2010.x86 Microsoft.VCRedist.2010.x64 ^
Microsoft.VCRedist.2012.x86 Microsoft.VCRedist.2012.x64 ^
Microsoft.VCRedist.2013.x86 Microsoft.VCRedist.2013.x64 ^
Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64"
for %%i in (!cpp_libs!) do (
!pmi! %%i
)
:: Install WSL
wsl --install