- Joined
- Apr 6, 2008
- Messages
- 41
- Reaction score
- 0
Hey everyone! I have maintained my own server and know how hard it is to get it going. This program just makes it easier! This program will install the correct things, execute the queries and has SeanPack 5.9 included! The program is written in batch so you can worry that it's virus free! Just open it up with Notepad and examine the code.
The file is 77 MB because of the installers and such. The program itself is only 20 KB.
Please note that this is in beta and there is much room for improvement.
A sample of the code:
Download:
The file is 77 MB because of the installers and such. The program itself is only 20 KB.
Please note that this is in beta and there is much room for improvement.
A sample of the code:
Code:
@echo off
@title FenixFlame's MapleStory Server Installer
color 1b
echo ######################################################
echo #Welcome to FenixFlame's MapleStory Server Installer!#
echo ######################################################
ping localhost -n 3 >nul
cls
:checkforjre1
if exist "C:\Program Files\Java\JRE6\bin\java.exe" goto jre6
:jre6
echo Even though the version of Java you have is correct, it's different from the version I use.
echo It's not recommended to install the version I have when you are on your current version.
echo I will now redirect you to the JDK installation...
ping localhost -n 5 >nul
goto checkforjdk
:checkforjre
cls
if exist "C:\Program Files\Java\JRE1.6.0\bin\java.exe" goto jrealreadyinstalled
if not exist "C:\Program Files\Java\JRE1.6.0\bin\java.exe" goto jrenotinstalled
if exist "C:\Program Files\Java\JRE6\bin\java.exe" echo Even though the version of Java you have is correct, it's different from the version I use.
goto jrealreadinstalled
:jrealreadyinstalled
cls
echo It looks like you have JRE installed.
echo Let's continue to the next step!
ping localhost -n 3 >nul
goto checkforjdk
:jrenotinstalled
cls
echo It looks like Java Run Time (JRE) is either not installed, damaged or not the correct version.
echo Do you wish to install it?
set INPUT=
set /P INPUT=Type Y or N: %=%
if "%INPUT%"=="y" goto installjre
if "%INPUT%"=="n" goto close
if "%INPUT%"=="" goto invalidinput1
:invalidinput1
cls
echo This is not a valid input! Please select either Y or N!
ping localhost -n 3 >nul
goto jrenotinstalled
:installjre
cls
start jre6.exe
echo Press any key when the installation is done...
pause > nul
cls
goto checkforjdk
:checkforjdk
cls
if exist "C:\Program Files\Java\jdk1.6.0_06\bin\java.exe" goto jdkalreadyinstalled
if not exist "C:\Program Files\Java\jdk1.6.0_06\bin\java.exe" goto jdknotinstalled
:jdkalreadyinstalled
cls
echo It looks like you have JDK installed.
echo Let's continue to the next step!
ping localhost -n 3 >nul
goto copyjce
:jdknotinstalled
cls
echo It looks like Java Development Kit (JDK) is either not installed, damaged or not the correct version.
echo Do you wish to install it?
set INPUT=
set /P INPUT=Type Y or N: %=%
if "%INPUT%"=="y" goto installjdk
if "%INPUT%"=="n" goto close
if "%INPUT%"=="" goto invalidinput2
:invalidinput2
cls
echo This is not a valid input! Please select either Y or N!
ping localhost -n 3 >nul
goto jdknotinstalled
Download:
To view the content, you need to sign in or register
Last edited: