2021-11-17 21:50:22 +02:00
@ ECHO OFF
setlocal
cd /d %~dp0
: REDISTINSTALLER
TITLE NOVETUS DEPENDENCY INSTALLER
ECHO ---------------------------------------------------------------------------
ECHO NhhhhhhhhhhN hsssoosssd
ECHO NyyyyhhhhyyhdN hoo++++++h
ECHO NyyyyyhhhhyyyhN hoo+++///h
ECHO NssssyyyyyhyyyhdN hoo+++///h
ECHO Nsossssyyyyyyyyyhm hsoo++///h
ECHO NsssssssssyyyyyyyhdN hssoo++//h
ECHO Nsssssssssssyyyyhhhdm hsssoo+++h
ECHO NyssssssssysyyyyhhhhhdN NNNNNmmmmdddddhhysoooo+++ymNN
ECHO Nhyyssssssmdyyyyhhhhhyhyysssssooooooooosssooooo++osssyhdmN
ECHO Nhyyyyssssddhyyyhhyyysssosyyhhhddmmmmmmmyooooo+++yhyssoosydN
ECHO NdhhyyyysssoosyhyyyssooooydN y++++++++hN NNdhsoohN
ECHO NmdhhhyyyysyhddmNmhyssooooooshN s++++++++h doosm
ECHO NNdhysoyyyysssssm NdsoooooooooydN s/////+++h NmyooyN
ECHO Ndysoosyhyysssooosm myooooooososhN s///////+h Ndhsoshm
ECHO mhsoosydmNmysooooooom NdssssssssooydN s////////hdhssosydN
ECHO NhsosydN Nsoooo+++om mhssssssoooohm y++/////+soosyhmN
ECHO NhoosdN Nsooo+++oom NdyssssooooosdN Ny++++oooosydmN
ECHO msood Noooooooosm Nhssooooooooydhysoooo++++hN
ECHO NhooshmN Nsoooooossm Nmhsoooooooooooso++////++h
ECHO Nhysossyhhdddoooooooosdmmmmmdddhhhyysssoooooooooo++ss++//++++h
ECHO Nmhyyssooooooooooooosssooooooossssyyhhdds+++++++++++++++oood
ECHO NNmmmddssooooooohhhhddddmmmNNNN Ny+++++++++++++osssd
ECHO Nyyssssoosm Nds+++++++++oosssyd
ECHO Nhyyysssssm Nho++++++oossssyd
ECHO Nyyyyyssssm ms+++++ooossssd
ECHO Nyyyssssssm Nho+++ooossssd
ECHO Nhyyyyyyyym mysssssyyyyd
ECHO ---------------------------------------------------------------------------
ECHO .
ECHO NOVETUS DEPENDENCY INSTALLER
ECHO .
ECHO Please install the following if you haven't already:
ECHO 1 - Microsoft .NET Framework 4.0 (REQUIRED for the Novetus Launcher)
ECHO 2 - .NET 4.0 Update (KB2468871, REQUIRED for Windows XP and Vista)
ECHO 3 - Microsoft Visual C++ Redistributables 2005 (32-bit, REQUIRED for 2007)
ECHO 4 - Microsoft Visual C++ Redistributables 2008 (32-bit, REQUIRED for 2008 and above)
ECHO 5 - Media Feature Pack for Windows N Editions (REQUIRED for 2011+)
ECHO 6 - Exit
ECHO .
SET /P M = Choose an option by typing the number corresponding to which depenency you want to install:
IF %M% == 1 goto net4
IF %M% == 2 goto net4update
IF %M% == 3 goto vc2005
IF %M% == 4 goto vc2008
IF %M% == 5 goto mfp
IF %M% == 6 EXIT
EXIT
: net4
CLS
echo Installing Microsoft .NET Framework 4.0...
" %CD% /_redist/NET Framework/dotNetFx40_Full_x86_x64.exe "
pause
goto REDISTINSTALLER
: net4update
CLS
echo Installing .NET 4.0 Update (KB2468871)...
reg Query " HKLM\Hardware\Description\System\CentralProcessor\0 " | find /i " x86 " > NUL && set OS = 32BIT || set OS = 64BIT
if %OS% == 32BIT " %CD% /_redist/NET Framework/NDP40-KB2468871-v2-x86 (XP and Vista Only).exe "
if %OS% == 64BIT " %CD% /_redist/NET Framework/NDP40-KB2468871-v2-x64 (XP and Vista Only).exe "
pause
goto REDISTINSTALLER
: vc2005
CLS
echo Installing Microsoft Visual C++ Redistributables 2005 (32-bit)...
" %CD% /_redist/Visual C++ Redistributables/vcredist2005_x86.exe "
pause
goto REDISTINSTALLER
: vc2008
CLS
echo Installing Microsoft Visual C++ Redistributables 2008 (32-bit)...
" %CD% /_redist/Visual C++ Redistributables/vcredist2008_x86.exe "
pause
goto REDISTINSTALLER
: mfp
CLS
2022-09-05 18:06:03 +03:00
echo Please install the Windows Media Player through Windows' " Add a feature " utility.
echo Windows 7+: Go to the Control Panel, Programs and Features, go to " Turn Windows features on and off " , and enable Windows Media Player in Media Features.
echo Windows 10+: Go to the Settings app, Apps, Optional Features, then search " Windows Media Player " , then select it and press Install.
2021-11-17 21:50:22 +02:00
pause
goto REDISTINSTALLER