• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Installing Visual C Runtimes All In One May 2024

OB1

New Member
Joined
Jun 18, 2024
Messages
1 (0.01/day)
Need to update Visual C++ for a game software but unable to run the install_all batch file as admin. Any recommendations on what a noob should be doing?
 

Attachments

  • Install.PNG
    Install.PNG
    3.1 MB · Views: 52
Joined
Jan 29, 2012
Messages
6,790 (1.47/day)
Location
Florida
System Name natr0n-PC
Processor Ryzen 5950x-5600x | 9600k
Motherboard B450 AORUS M | Z390 UD
Cooling EK AIO 360 - 6 fan action | AIO
Memory Patriot - Viper Steel DDR4 (B-Die)(4x8GB) | Samsung DDR4 (4x8GB)
Video Card(s) EVGA 3070ti FTW
Storage Various
Display(s) Pixio PX279 Prime
Case Thermaltake Level 20 VT | Black bench
Audio Device(s) LOXJIE D10 + Kinter Amp + 6 Bookshelf Speakers Sony+JVC+Sony
Power Supply Super Flower Leadex III ARGB 80+ Gold 650W | EVGA 700 Gold
Software XP/7/8.1/10
Benchmark Scores http://valid.x86.fr/79kuh6
one at a time from lowest year to recent. will take a minute or 2
 
Joined
Aug 18, 2022
Messages
359 (0.47/day)
You can just Open the installation bat file which will work but you will get a UAC prompt for each package. A bit cumbersome but all the packages will install properly.
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,240 (1.46/day)
Location
Charleston, SC
System Name Tower of Power / Delliverance
Processor i7 14700K / i9-14900K
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / Z690
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / Air
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / DDR5 2x 16gb
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / GeForce RTX 4080
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / NVM3 PC801 SK hynix 1TB
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, 2x LG HDR 32" 60hz 4k / 2x LG HDR 32" 60hz 4k
Case Phantek "400A" / Dell XPS 8960
Audio Device(s) Realtek ALC4080 / Sound Blaster X1
Power Supply Corsair RM Series RM750 / 750w
Mouse Glorious Gaming Model D Wireless / Glorious Gaming Model O 2 Wireless
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 11 Pro x64
Benchmark Scores Yes
Here I updated the batch file with some error correction. Just copy and paste this over what is in the current bat file. Welcome to TPU!

(Heads up - @W1zzard )

Code:
@echo off
setlocal
CD /d %~dp0

echo.
echo Microsoft Visual C++ All-In-One Runtimes by W1zzard @ TechPowerUp
echo https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
echo.
echo Installing runtime packages...

set IS_X64=0
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
    set IS_X64=1
) else (
    if "%PROCESSOR_ARCHITEW6432%"=="AMD64" (
        set IS_X64=1
    )
)

:: Function to install a package and check for errors
echo Installing 2005 x86...
vcredist2005_x86.exe /q
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2005_x86.exe

echo Installing 2008 x86...
vcredist2008_x86.exe /qb
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2008_x86.exe

echo Installing 2010 x86...
vcredist2010_x86.exe /passive /norestart
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2010_x86.exe

echo Installing 2012 x86...
vcredist2012_x86.exe /passive /norestart
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2012_x86.exe

echo Installing 2013 x86...
vcredist2013_x86.exe /passive /norestart
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2013_x86.exe

echo Installing 2015-2022 x86...
vcredist2015_2017_2019_2022_x86.exe /passive /norestart
if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2015_2017_2019_2022_x86.exe

if "%IS_X64%"=="1" (
    echo Installing 2005 x64...
    vcredist2005_x64.exe /q
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2005_x64.exe

    echo Installing 2008 x64...
    vcredist2008_x64.exe /qb
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2008_x64.exe

    echo Installing 2010 x64...
    vcredist2010_x64.exe /passive /norestart
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2010_x64.exe

    echo Installing 2012 x64...
    vcredist2012_x64.exe /passive /norestart
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2012_x64.exe

    echo Installing 2013 x64...
    vcredist2013_x64.exe /passive /norestart
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2013_x64.exe

    echo Installing 2015-2022 x64...
    vcredist2015_2017_2019_2022_x64.exe /passive /norestart
    if %ERRORLEVEL% NEQ 0 echo Error installing vcredist2015_2017_2019_2022_x64.exe
)

echo.
echo Installation completed successfully

pause
exit /b 0
 
Top