Skip to content

Commit

Permalink
v9
Browse files Browse the repository at this point in the history
  • Loading branch information
Manily04 committed Aug 21, 2023
1 parent 7f91e91 commit db78a52
Show file tree
Hide file tree
Showing 8 changed files with 841 additions and 138 deletions.
56 changes: 48 additions & 8 deletions Download-Script.ps1 → Batch files/Setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
mkdir C:\Users\Public\Downloads\VC >nul 2>&1
echo [%time% ] - Folder created in c:\Users\Public\Downloads\ folder name: "VC" path: c:\Users\Public\Downloads\VC >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
mkdir C:\Users\Public\Documents\VC >nul 2>&1
echo [%time% ] - Folder created in c:\Users\Public\Documents\ folder name: "VC" path: c:\Users\Public\Documents\VC >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
Cls
echo = = >>"%userprofile%\Downloads\Runtime installer Log.log"
echo = DOWNLOAD STARTED = >>"%userprofile%\Downloads\Runtime installer Log.log"
Expand All @@ -23,7 +26,7 @@ echo -
echo - -
echo - -
echo - -
echo - Visual Studio Runtime -
echo - Visual Studio UWP Runtime -
echo - -
echo - Downloading -
echo - -
Expand All @@ -37,15 +40,15 @@ echo -
echo - (c)Manily -
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/3/B/C/3BC60F47-6A7C-4D46-8CFB-C2E746EF336E/vc_uwpdesktop.110.exe','c:\users\public\downloads\VC\VC_110_UWP.exe')
echo [%time% ] - Visual C++ Runtime v11.0 UWP Downloading >>"%userprofile%\Downloads\Runtime installer Log.log"
echo [%time% ] - Visual C++ Runtime v11.0 UWP wird heruntergeladen >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/2/1/F/21F05B77-C444-46C0-B357-7EBC78C95CE2/vc_uwpdesktop.120.exe','c:\users\public\downloads\VC\VC_120_UWP.exe')
echo [%time% ] - Visual C++ Runtime v12.0 UWP Downloading >>"%userprofile%\Downloads\Runtime installer Log.log"
echo [%time% ] - Visual C++ Runtime v12.0 UWP wird heruntergeladen >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx','c:\users\public\downloads\VC\VC_140_UWP.appx')
echo [%time% ] - Visual C++ Runtime v14.0 UWP Downloading >>"%userprofile%\Downloads\Runtime installer Log.log"
echo [%time% ] - Visual C++ Runtime v14.0 UWP wird heruntergeladen >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
Timeout 4 /nobreak >nul 2>&1
Timeout 2 /nobreak >nul 2>&1
title Downloading OpenAL
cls
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Expand All @@ -62,7 +65,7 @@ echo -
echo - -
echo - OpenAL -
echo - -
echo - Downloading -
echo - Downloading -
echo - -
echo - -
echo - -
Expand All @@ -73,9 +76,40 @@ echo -
echo - -
echo - (c)Manily -
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://github.com/Manily04/VC-Runtime-und-DirectX-all-in-one-Installer/raw/main/oalinst.exe','C:\Users\Public\Downloads\VC\oalinst.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://github.com/Manily04/Universal-runtime-installer-EN/raw/main/Runtimes/oalinst.exe','C:\Users\Public\Downloads\VC\oalinst.exe')
echo [%time% ] - Downloading OpenAL >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
Timeout 2 /nobreak >nul 2>&1
title Downloading WinGet
cls
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - WinGet -
echo - -
echo - Downloading -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - (c)Manily -
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://github.com/microsoft/winget-cli/releases/download/v1.5.2201/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle','C:\Users\Public\Downloads\VC\winget.msixbundle')
echo [%time% ] - WinGet wird heruntergeladen >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
title Downloading DirectX
cls
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Expand Down Expand Up @@ -110,7 +144,7 @@ echo = = >>"%userprofile%\Downloads\Runt
echo = DOWNLOAD FINISHED = >>"%userprofile%\Downloads\Runtime installer Log.log"
echo = = >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
copy "install.bat" C:\Users\Public\Downloads\VC >nul 2>&1
copy "install.bat" C:\Users\Public\Documents\VC\install.bat >nul 2>&1
echo [%time% ] - The file "vc install.bat" was copied over to c:\Users\Public\Downloads\VC >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
del install.bat
Expand All @@ -122,3 +156,9 @@ echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
del start.bat
echo [%time% ] - The original "start.bat" has been deleted >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
copy VCDownloader.bat C:\Users\Public\Downloads\VC >nul 2>&1
echo [%time% ] - The file "VCDownloader.bat" was copied over to c:\Users\Public\Downloads\VC >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
del VCDownloader.bat
echo [%time% ] - The original "VCDownloader.bat" has been deleted >>"%userprofile%\Downloads\Runtime installer Log.log"
echo - >>"%userprofile%\Downloads\Runtime installer Log.log"
43 changes: 43 additions & 0 deletions Batch files/VCDownloader.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@echo off
title Manilys VC-Downloader
color 4
echo "Please do not delete files in this folder until the setup is complete". >"%userprofile%\Downloads\URI\!Please do not delete!.txt"
cls
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - Visual Studio Runtime -
echo - -
echo - downloading -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - -
echo - (c)Manily -
echo -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe','c:\users\public\downloads\VC\VC2008x86.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe','c:\users\public\downloads\VC\VC2008x64.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe','c:\users\public\downloads\VC\VC2010x86.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe','c:\users\public\downloads\VC\VC2010x64.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe','c:\users\public\downloads\VC\VC2012x86.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe','c:\users\public\downloads\VC\VC2012x64.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://aka.ms/highdpimfc2013x86enu','c:\users\public\downloads\VC\VC2013x86.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://aka.ms/highdpimfc2013x64enu','c:\users\public\downloads\VC\VC2013x64.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://aka.ms/vs/17/release/vc_redist.x86.exe','c:\users\public\downloads\VC\VC2022x86.exe')
powershell -c $e=new-object net.webclient ; $e.proxy=[net.webrequest]::getsystemwebproxy();$e.proxy.credentials=[net.credentialcache]::defaultcredentials;$e.downloadfile('https://aka.ms/vs/17/release/vc_redist.x64.exe','c:\users\public\downloads\VC\VC2022x64.exe')

echo "Visual C++ Download finished successfully" >c:\users\public\downloads\VC\VCdownload.bin
exit
Loading

0 comments on commit db78a52

Please sign in to comment.