Installation of software can now be skipped

This commit is contained in:
Glen De Cauwsemaecker 2014-03-26 03:43:34 +01:00
parent a9f88a275a
commit 10d13775ee
3 changed files with 32 additions and 1 deletions
scripts/windows/coco-dev-setup/batch

View file

@ -8,6 +8,9 @@
sufix=was detected.
xp=We don't support Windows XP, installation cancelled.
[process]
sks=Have you already installed all the software needed for CodeCombat?
skq=We recommand that you reply negative in case you're not sure.
skc=Skipping the installation of the software...
1=CodeCombat couldn't be developed without third-party software.
2=That's why you'll need to install this software,
3=in order to start contributing to our community.
@ -19,6 +22,12 @@
unzipping=is unzipping...
cleaning=is cleaning...
mongodbpath=Please define the full path where mongodb should be installed
[github]
[skip]
question=Do you want to do the github setup manually yourself?
consequence=Make sure you have correctly setup your repository before processing.
donotclose=Do not close this window please.
wait=When you're ready, press any key to continue...
[error]
path=That path already exists, are you sure you want to overwrite it?
[end]

View file

@ -8,6 +8,9 @@
sufix=is gedetecteerd.
xp=Wij ondersteunen Windows XP niet, installatie geanulleerd.
[process]
sks=Heb je alle benodige software al geinstalleerd?
skq=We raden aan dat je negatief antwoord indien je niet zeker bent.
skc=De installatie van software wordt geanulleerd...
1=CodeCombat kon niet worden ontwikkeld zonder third-party software.
2=Dat is waarom je deze software moet installeren,
3=zodat je je kan beginnen met het bijdragen tot onze gemeenschap.

View file

@ -1,6 +1,21 @@
call print_install_header
call print_dashed_seperator
call get_local_text install-process-sks
echo !install_process_sks!
call get_local_text install-process-skq
call ask_question "!install_process_skq!"
call print_dashed_seperator
if "%result%"=="true" (
call get_local_text install-process-skc
echo !install_process_skc!
call print_dashed_seperator
goto:exit_setup
)
call get_system_information
call print_dashed_seperator
@ -26,4 +41,8 @@ call print_dashed_seperator
for /l %%i in (1, 1, !downloads_count!) do (
call download_and_install_app !download_names[%%i]! !downloads[%%i]!
)
)
goto:exit_setup
:exit_setup