Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7424e41761 | |||
|
e6bcc2efcc |
21
README.md
21
README.md
@ -22,24 +22,3 @@ irm chse.dev/ri | iex
|
|||||||
| Microsoft MSXML 4.0 SP2 Parser and SDK | Yes |
|
| Microsoft MSXML 4.0 SP2 Parser and SDK | Yes |
|
||||||
| DirectX 9.0c Extra Files [sereby.org] (x86, x64) - 1.10.6.0 | No |
|
| DirectX 9.0c Extra Files [sereby.org] (x86, x64) - 1.10.6.0 | No |
|
||||||
| 7-Zip 22.01 *(Used for unpacking everything, not actually installed.)* | Yes |
|
| 7-Zip 22.01 *(Used for unpacking everything, not actually installed.)* | Yes |
|
||||||
|
|
||||||
### Common Errors Resolved by Redist Installer
|
|
||||||
Many games and applications require specific redistributable packages to run properly. Missing these packages can lead to a variety of errors. The Redist Installer ensures that your system has all the necessary redistributables, helping to prevent and fix these common issues:
|
|
||||||
|
|
||||||
### Examples of Errors:
|
|
||||||
- "The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem."
|
|
||||||
This is often resolved by installing the Microsoft Visual C++ Redistributable packages.
|
|
||||||
|
|
||||||
- ".NET Framework Initialization Error: To run this application, you must first install one of the following versions of the .NET Framework..."
|
|
||||||
Installing the required version of the .NET Framework can fix this issue.
|
|
||||||
|
|
||||||
- "Failed to load dx9.dll"
|
|
||||||
This error typically indicates that DirectX 9.0c or its components are missing or outdated.
|
|
||||||
|
|
||||||
- "Application Error: The application was unable to start correctly (0xc000007b)."
|
|
||||||
This error can sometimes be resolved by ensuring all necessary Visual C++ redistributables are installed.
|
|
||||||
|
|
||||||
- "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
|
|
||||||
Often related to missing or corrupt Visual C++ Redistributable files.
|
|
||||||
|
|
||||||
These are just a few examples. If you encounter issues starting games or other software, running the Redist Installer can often be a quick and effective solution.
|
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
:: Permalink: https://chse.dev/redists
|
:: Permalink: https://chse.dev/redists
|
||||||
|
:: Source Code: https://git.chse.dev/chase/redist-installer
|
||||||
|
|
||||||
:: Run as Admin
|
:: Run as Admin
|
||||||
set "params=%*"
|
set "params=%*"
|
||||||
@ -8,31 +8,9 @@ cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) &&
|
|||||||
|
|
||||||
title Redist Installer
|
title Redist Installer
|
||||||
|
|
||||||
md %temp%\Redist-Installer >nul 2>&1
|
:: Install Redists directly from the redists folder
|
||||||
|
cd redists
|
||||||
|
|
||||||
:: If we have all the offline installer files, copy and skip the downloading.
|
|
||||||
if exist "7za.exe" (
|
|
||||||
if exist "redists.zip" (
|
|
||||||
copy /Y 7za.exe %temp%\Redist-Installer >nul
|
|
||||||
copy /Y redists.zip %temp%\Redist-Installer >nul
|
|
||||||
goto offlineInstall
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
:: If we do not have the offline installer files, download them.
|
|
||||||
:onlineInstall
|
|
||||||
cd %temp%\Redist-Installer
|
|
||||||
echo Downloading 1/2...
|
|
||||||
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=zlc4SQ9jnLNuz8c', '7za.exe')"
|
|
||||||
echo Downloading 2/2...
|
|
||||||
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=2y935FyZSVIPUZF', 'redists.zip')"
|
|
||||||
|
|
||||||
:offlineInstall
|
|
||||||
cd %temp%\Redist-Installer
|
|
||||||
:: Extract Redists
|
|
||||||
start /wait /min 7za.exe e redists.zip -y
|
|
||||||
|
|
||||||
:: Install Redists
|
|
||||||
echo Installing 1/16...
|
echo Installing 1/16...
|
||||||
vcredist2015_2017_2019_x86.exe /install /quiet /norestart
|
vcredist2015_2017_2019_x86.exe /install /quiet /norestart
|
||||||
echo Installing 2/16...
|
echo Installing 2/16...
|
||||||
@ -64,10 +42,6 @@ start /wait DirectXA.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
|
|||||||
echo Installing 15/16...
|
echo Installing 15/16...
|
||||||
start /wait dotNET.exe /Q
|
start /wait dotNET.exe /Q
|
||||||
echo Installing 16/16...
|
echo Installing 16/16...
|
||||||
:: Killfeed for Halo Custom Edition
|
|
||||||
start /wait msxmlenu.msi /qn /L* "%temp%\XML Parser 4.0.log" /norestart ALLUSERS=2 >nul 2>&1
|
start /wait msxmlenu.msi /qn /L* "%temp%\XML Parser 4.0.log" /norestart ALLUSERS=2 >nul 2>&1
|
||||||
|
|
||||||
:: Cleanup
|
|
||||||
cd %temp%
|
|
||||||
rmdir %temp%\Redist-Installer /s /q
|
|
||||||
exit
|
exit
|
@ -1,8 +0,0 @@
|
|||||||
# View Source Code: https://git.chse.dev/chase/redist-installer
|
|
||||||
$url = "https://dl.chse.dev/downloadFile?id=irdm2Pjjf4FrkG3" # Redist-Installer.bat
|
|
||||||
$temp = [Environment]::GetEnvironmentVariable("TEMP")
|
|
||||||
$file = "$temp\Redist-Installer.bat"
|
|
||||||
|
|
||||||
(New-Object System.Net.WebClient).DownloadFile($url, $file)
|
|
||||||
Start-Process -Wait $file
|
|
||||||
Remove-Item $file
|
|
Loading…
Reference in New Issue
Block a user