Compare commits

..

2 Commits
main ... latest

Author SHA1 Message Date
Rim
7424e41761 Remove download since redists are local 2023-12-14 22:19:14 -05:00
Chase
e6bcc2efcc Update 'Redist-Installer.bat' 2023-11-10 05:36:34 +00:00
4 changed files with 4 additions and 59 deletions

BIN
7za.exe

Binary file not shown.

View File

@ -22,24 +22,3 @@ irm chse.dev/ri | iex
| Microsoft MSXML 4.0 SP2 Parser and SDK | Yes |
| 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 |
### 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.

View File

@ -1,6 +1,6 @@
@echo off
:: Permalink: https://chse.dev/redists
:: Source Code: https://git.chse.dev/chase/redist-installer
:: Run as Admin
set "params=%*"
@ -8,31 +8,9 @@ cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) &&
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...
vcredist2015_2017_2019_x86.exe /install /quiet /norestart
echo Installing 2/16...
@ -64,10 +42,6 @@ start /wait DirectXA.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
echo Installing 15/16...
start /wait dotNET.exe /Q
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
:: Cleanup
cd %temp%
rmdir %temp%\Redist-Installer /s /q
exit
exit

View File

@ -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