installation system finished

This commit is contained in:
Glen De Cauwsemaecker 2014-03-26 03:05:50 +01:00
parent 366a3676d8
commit 892907adf0
3 changed files with 12 additions and 4 deletions
scripts/windows/coco-dev-setup/batch

View file

@ -18,6 +18,9 @@
installing=is installing...
unzipping=is unzipping...
cleaning=is cleaning...
mongodbpath=Please define the full path where mongodb should be installed
[error]
path=That path already exists, are you sure you want to overwrite it?
[end]
succesfull=The setup of the CodeCombat Dev. Environment was succesfull.
thankyou=Thank you already for your contribution and see you soon.

View file

@ -18,6 +18,9 @@
installing=is aan het installeren...
unzipping=is aan het uitpakken...
cleaning=is aan het opkuisen...
mongodbpath=Geef het volledige pad op, waar mongodb mag worden geinstalleerd
[error]
path=Dat pad bestaat al, ben je zeker dat je het wil overschrijven?
[end]
succesfull=De installatie van de CodeCombat-Ontwikkelings omgeving was succesvol.
thankyou=Alvast bedankt voor al je werk en tot binnenkort.

View file

@ -34,10 +34,12 @@ if "%download_extension%"=="zip" (
goto:get_mongodb_path
:get_mongodb_path
set /p "mongodb_path=define path: "
call get_local_text install-process-mongodbpath
set /p "mongodb_path=!install_process_mongodbpath!: "
if exist "%mongodb_path%" (
call ask_question "That path already exists, are you sure you want to overwrite it?"
if "%result%"=="false" (
call get_local_text error-path
call ask_question "!error_path!"
if "!result!"=="false" (
call print_dashed_seperator
goto:get_mongodb_path
) else (
@ -46,7 +48,7 @@ if "%download_extension%"=="zip" (
)
md %mongodb_path%
%systemroot%\System32\xcopy %mongodb_original_directory% %path% /r /h /s /e /y
%systemroot%\System32\xcopy !package_path!!mongodb_original_directory! !mongodb_path! /r /h /s /e /y
goto:clean_up
)