Rational Developer Silent Install doEclipse.bat

From MidrangeWiki
Revision as of 15:41, 21 February 2018 by Mattt (talk | contribs) (Created page with "<pre> @echo off setlocal set hh=%time:~0,2% if "%time:~0,1%"==" " set hh=0%hh:~1,1% set dt=%date:~10,4%%date:~4,2%%date:~7,2%_%hh%_%time:~3,2%_%time:~6,2% echo ==============...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
@echo off
setlocal
set hh=%time:~0,2%
if "%time:~0,1%"==" " set hh=0%hh:~1,1%
set dt=%date:~10,4%%date:~4,2%%date:~7,2%_%hh%_%time:~3,2%_%time:~6,2%

echo =================================================================
echo Starting RDI Silent Intall %dt%
echo =================================================================


set RDI_PATCH_FOLDER=C:\Software\RationalDeveloper\RDI_V9.6.0.1
set RDI_INSTALL_FOLDER=C:\Software\RationalDeveloper\RDI_V9.6
set RDI_REMOTE_FOLDER="\\gofs\Departments\Programming\Downloads\RDi RDp Editors\RDi 9.x\RDI_9.6"
set RDI_INSTALL_SCRIPT=install.xml
set RDI_REMOTE_FILES=%RDI_INSTALL_SCRIPT% RDI_V9.6_CORE_PI_1_EVAL_EMG.zip RDI_V9.6_CORE_PI_2_EVAL_EMG.zip RDI-9.6.0.1-DISK1.zip
set RDI_PRODUCT_INSTALL=C:\IBM\SDP96
set RUN_LOG_FILE=%RDI_INSTALL_FOLDER%\install_log%dt%.xml


Echo Replacing %RDI_PRODUCT_INSTALL%\eclipse.ini with the version from %RDI_REMOTE_FOLDER%\eclipse.ini
robocopy %RDI_REMOTE_FOLDER% %RDI_PRODUCT_INSTALL% eclipse.ini /MT:100
if %errorlevel% gtr 1 (
	echo copy of eclipse.ini failed. rc "%errorlevel%"
)
pause