Index: hadoop4win-setup/hadoop4win-setup.bat
===================================================================
--- hadoop4win-setup/hadoop4win-setup.bat	(revision 143)
+++ hadoop4win-setup/hadoop4win-setup.bat	(revision 144)
@@ -105,5 +105,5 @@
 REM real do cygwin installation
 
-IF NOT EXIST "%CYGWIN_ROOT%" (
+IF NOT EXIST "%CYGWIN_ROOT%\bin\bash.exe" (
   "%CYGWIN_SETUP%" -q -d -L -l "%LOCAL_REPOSITORY%\cygwin_mirror" -R "%CYGWIN_ROOT%" -P cygrunsrv,file,openssh,perl,procps,ncurses,rsync,sharutils,shutdown,subversion,tcp_wrappers,termcap,unzip,wget,zip,zlib
 )
@@ -124,6 +124,4 @@
   wget "%HBASE_MIRROR%/%HBASE_FILE%" -O "%MY_PACKAGE%\hbase\%HBASE_FILE%"
 )
-
-pause
 
 IF NOT EXIST "%JDK_DES%" (
