anchor.diff:  ::SET IE_CMD="C:\Program Files (x86)\Internet Explorer\iexplore.exe www.google.de"
   ::SET IE_DIR="%TEMP%"
   ::FOR /F "tokens=2 delims=;=" %%a IN (
  -::  'WMIC process call create %IE_CMD%^, %IE_DIR% ^| find "ProcessId"'
  +::	'WMIC process call create %IE_CMD%^, %IE_DIR% ^| find "ProcessId"'
   ::) DO (
  -::  SET IE_PID=%%a
  +::	SET IE_PID=%%a
   ::)
   ::ECHO browser launched with PID %IE_PID%
   :: TODO search an kill the IE if not previously open WMIC process %IE_PID% delete
   
  -SET JAVA=%SCRIPT_PATH%\java
  +SET JAVA_CMD=setupJavaSDK.cmd
  +ECHO.
  +ECHO # downloading and configuring Java via %GITHUB_IO_BOOT%/%JAVA_CMD%
  +ECHO.
  +powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path %DL%\%JAVA_CMD% ) { Write-Output 'skipping download, cause file exists - %DL%\%JAVA_CMD%' } else {(New-Object System.Net.WebClient).DownloadFile('%GITHUB_IO_BOOT%/%JAVA_CMD%','%DL%\%JAVA_CMD%')}"
  +IF "%ERRORLEVEL%"=="" (
  +	ECHO failing downloading file %GITHUB_IO_BOOT%/%JAVA_CMD%
  +	GOTO END
  +)
   
  -:: source archives location
  -SET JAVA_WEB=http://www.klib.io/_archives/java
  +:: installing JDKs into %SCRIPT_PATH%/java
  +CALL %DL%\%JAVA_CMD% %SCRIPT_PATH% 8
   
  -:: concrete version names for the Java Archives
  -SET JAVA_ARCHIVE=win32.x86_64-jre1.8.0_74.zip
  -
  -:: Java Name (includes version)
  -SET JAVA_VERSION=%JAVA_ARCHIVE:~16,-9%
  -SET JAVA_NAME=%JAVA_ARCHIVE:~13,-4%
  -SET JAVA_WEB_DL=%JAVA_WEB%/%JAVA_VERSION%/%JAVA_ARCHIVE%
  -SET JAVA_DL=%DL%\%JAVA_ARCHIVE%
  -
  -:: extract locations
  -SET JAVA_EXTRACT=%JAVA%\%JAVA_VERSION%
  +FOR /F %%a IN ('DIR /B %SCRIPT_PATH%\java\1.8') DO SET JAVA8=%SCRIPT_PATH%\java\1.8\%%a
   
   ECHO.
  -ECHO # setup local JDK %JAVA_VERSION% in version %JAVA_NAME%
  -ECHO.
  -powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path '%JAVA_DL%' ) { Write-Output '   - skipping download,   cause file exists   - %JAVA_DL%' } else { Write-Output '   - downloading archive %JAVA_ARCHIVE%';(New-Object System.Net.WebClient).DownloadFile('%JAVA_WEB_DL%','%JAVA_DL%')}"
  -IF "%ERRORLEVEL%"=="" (
  -    ECHO failing downloading file %JAVA_WEB%/%JAVA_ARCHIVE%
  -    GOTO END
  -)
  -
  -powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path '%JAVA_EXTRACT%\%JAVA_NAME%' -PathType Container )  { Write-Output '   - skipping extraction, cause folder exists - %JAVA_EXTRACT%\%JAVA_NAME%' } else { Write-Output '   - extracting %JAVA_DL% archive to %JAVA_EXTRACT%'; Add-Type -A System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::ExtractToDirectory('%JAVA_DL%', '%JAVA_EXTRACT%')}"
  -
  -FOR /F %%a IN ('DIR /B %SCRIPT_PATH%\java\1.8') DO SET JAVA=%SCRIPT_PATH%\java\1.8\%%a
  -
  -ECHO.
  -ECHO # setup local %IDEFIX_NAME%
  +ECHO # download and extract into %SCRIPT_PATH%\%ECL_INST_NAME%
   ECHO.
   
   :: download of a file with powershell - http://superuser.com/a/423789/344922
  
positive.code: SETLOCAL EnableDelayedExpansion
  
  :: ### Version History -- X.Y.Z_YYYYMMDD-hhmm Author Description
  SET version=1.0.0_20150930-0600 &: Peter Kirschner   downloading,extract,configure and launch eclipse-installer with jre
  SET version=%version: =%
  SET title=idefixInstaller script %~nx0 - version %version%
  TITLE %title%
  SET POWERSHELL_TITLE=$Host.UI.RawUI.WindowTitle='%title%'
  
  IF "%1"=="" (
      SET BRANCH=peterkir
  ) ELSE (
      SET BRANCH=%1
  )
  
  :: ###########################################################
  SET SCRIPTNAME=%~n0
  SET SCRIPT_PATH=%~dp0
  SET SCRIPT_PATH=%SCRIPT_PATH:~0,-1%
  
  SET IDEFIX_NAME=idefixInstaller
  SET DL=%SCRIPT_PATH%\.download
  :: folder must exists for powershell download requests
  MKDIR %DL% 2>&1 > NUL
  
  SET CUSTOMER=cec
  SET BRANCH=master
  SET VERSION=1.4.0
  SET GITHUB_IO=http://peterkir.github.io/org.eclipse.oomph/
  SET GITHUB_IO_LATEST=latest
  
  SET GITHUB_IO_BOOT=http://peterkir.github.io/idefix/bootstrap/peterkir/win32
  
  ::ECHO.
  ::ECHO # workaroung for NTLMv2 ProxyAuth - starting IE
  
negative.code: ECHO found latest build ^<%LATEST%^> from %GITHUB_IO%/%BRANCH%/%GITHUB_IO_LATEST%
  ECHO.
  
  SET BUILD_STORE=%BUILD_SERVER_ROOT%/%OOMPH_VERSION%/%BRANCH%/%LATEST%
  
  SET ECLIPSE_INSTALLER_WEB=%BUILD_STORE%/products
  SET ECLIPSE_INSTALLER_ARCHIVE=org.eclipse.oomph.setup.installer.product-win32.win32.x86_64.zip
  SET ECLIPSE_INSTALLER=%ECLIPSE_INSTALLER_ARCHIVE:~0,-4%
  
  powershell -nologo -noprofile -command "%POWERSHELL_TITLE%;if ( Test-Path %DL%\%ECLIPSE_INSTALLER_ARCHIVE% ) { Write-Output '   - skipping download, cause file exists - %DL%\%ECLIPSE_INSTALLER_ARCHIVE%' } else { Write-Output '   - downloading archive %ECLIPSE_INSTALLER_WEB%/%ECLIPSE_INSTALLER_ARCHIVE%';(New-Object System.Net.WebClient).DownloadFile('%ECLIPSE_INSTALLER_WEB%/%ECLIPSE_INSTALLER_ARCHIVE%','%DL%\%ECLIPSE_INSTALLER_ARCHIVE%')}"
  IF "%ERRORLEVEL%"=="" (
  	ECHO failing downloading file %ECLIPSE_INSTALLER_WEB%/%ECLIPSE_INSTALLER_ARCHIVE%
  	GOTO END
  )
  
  powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path '%SCRIPT_PATH%\%ECL_INST_NAME%' -PathType Container )  { Write-Output '   - skipping extraction, cause folder exists - %SCRIPT_PATH%\%ECL_INST_NAME%' } else { Write-Output '   - extracting ECLIPSE_INSTALLER archive to %SCRIPT_PATH%\%ECL_INST_NAME%'; Add-Type -A System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::ExtractToDirectory('%DL%\%ECLIPSE_INSTALLER_ARCHIVE%', '%SCRIPT_PATH%\%ECL_INST_NAME%')}"
  
  ECHO    - copying latest java %JAVA8%\jre into %SCRIPT_PATH%\%ECL_INST_NAME%\jre
  IF NOT EXIST %SCRIPT_PATH%\%ECL_INST_NAME%\jre\NUL (
  	XCOPY /Y /I /E /H %JAVA8%\jre %SCRIPT_PATH%\%ECL_INST_NAME%\jre 2>&1 > NUL
  )
  
  SET ECL_INST_INI=%SCRIPT_PATH%\%ECL_INST_NAME%\eclipse-inst.ini
  
  FINDSTR peterkir.github.io %ECL_INST_INI% 2>&1 > NUL
  IF "%ERRORLEVEL%"=="" (
      ECHO    - skipping vmArgs addition, cause already inside
  ) ELSE (
      ECHO    - adding vmArgs to ini file
      :: allow installation of unsigned bundles
      ECHO -Declipse.p2.unsignedPolicy=allow >> %ECL_INST_INI%
      
      :: hidden p2 options (configured to default)
      ECHO -Declipse.p2.max.threads=4        >> %ECL_INST_INI%
      ECHO -Declipse.p2.force.threading=true >> %ECL_INST_INI%
      ECHO -Declipse.p2.mirrors=true         >> %ECL_INST_INI%
      
      :: filtering user displayed catalogs/products/versions
      ECHO -Doomph.setup.product.catalog.filter=io\.klib\.products>> %ECL_INST_INI%
      ECHO -Doomph.setup.product.filter=idefix\.base>> %ECL_INST_INI%
      ECHO -Doomph.setup.product.version.filter=mars>> %ECL_INST_INI%
      
      ECHO -Doomph.setup.jre.choice=false                          >> %ECL_INST_INI%
      ECHO -Doomph.installer.update.url=%BUILD_STORE%/p2/installer >> %ECL_INST_INI%
      ECHO -Doomph.update.url=%BUILD_STORE%/p2/oomph               >> %ECL_INST_INI%
      ECHO -Doomph.setup.installer.mode=advanced                   >> %ECL_INST_INI%
      ECHO -Doomph.redirection.klibProductCatalog=index:/redirectable.products.setup-^>https://peterkir.github.io/idefix/oomph/peterkir/productsCatalog.setup >> %ECL_INST_INI%
      ECHO -Doomph.redirection.klibProjectCatalog=index:/redirectable.projects.setup-^>https://peterkir.github.io/idefix/oomph/peterkir/projectsCatalog.setup >> %ECL_INST_INI%
  )
  
  ECHO.
  ECHO # launching %ECL_INST_NAME%
  ECHO.
  START /B %SCRIPT_PATH%\%ECL_INST_NAME%\eclipse-inst.exe
  
  ::ECHO.
  ::ECHO # clean-up
  ::ECHO.
  ::RMDIR /Q /S %DL%
  
  :END