Difference between revisions of "Rational Developer Silent Install doEclipse.bat"
From MidrangeWiki
(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 ==============...") |
|||
Line 26: | Line 26: | ||
) | ) | ||
pause | pause | ||
+ | </pre> | ||
+ | Silent install XML script used by installer | ||
+ | <pre> | ||
+ | install.xml | ||
+ | <?xml version='1.0' encoding='UTF-8'?> | ||
+ | <agent-input clean='true'> | ||
+ | <variables> | ||
+ | <variable name='sharedLocation' value='C:\IBM\SDPShared'/> | ||
+ | <variable name='installLocation' value='C:\IBM\SDP96'/> | ||
+ | <variable name='profile' value='IBM Software Delivery Platform_96'/> | ||
+ | </variables> | ||
+ | <server> | ||
+ | <repository location='C:\Software\RationalDeveloper\RDI_V9.6.0.1'/> | ||
+ | <repository location='\\gofs\Departments\Programming\Downloads\RDi RDp Editors\RDi 9.x\RDI_9.6\com.ibm.rational.developer.ibmi.rpgcobol.v96.pek.jar'/> | ||
+ | <repository location='C:\Software\RationalDeveloper\RDI_V9.6'/> | ||
+ | </server> | ||
+ | <profile id='${profile}' installLocation='${installLocation}'> | ||
+ | <data key='cic.selector.arch' value='x86_64'/> | ||
+ | </profile> | ||
+ | <install> | ||
+ | <!-- IBM® Rational® Developer for i 9.6.0.1 --> | ||
+ | <offering profile='${profile}' id='com.ibm.rational.developer.ibmi.v96' version='9.6.1.20171205_1338' features='com.ibm.rdi.sdpcore,com.ibm.rdi.jre,com.ibm.rdi.rpgtools,com.ibm.rdi.rpgtools.egit'/> | ||
+ | <offering id='com.ibm.rational.developer.ibmi.rpgcobol.v96.pek.offering' version='9.0.1.20171002_1405' features='main.feature'/> | ||
+ | </install> | ||
+ | <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/> | ||
+ | </agent-input> | ||
</pre> | </pre> |
Latest revision as of 15:51, 21 February 2018
@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
Silent install XML script used by installer
install.xml <?xml version='1.0' encoding='UTF-8'?> <agent-input clean='true'> <variables> <variable name='sharedLocation' value='C:\IBM\SDPShared'/> <variable name='installLocation' value='C:\IBM\SDP96'/> <variable name='profile' value='IBM Software Delivery Platform_96'/> </variables> <server> <repository location='C:\Software\RationalDeveloper\RDI_V9.6.0.1'/> <repository location='\\gofs\Departments\Programming\Downloads\RDi RDp Editors\RDi 9.x\RDI_9.6\com.ibm.rational.developer.ibmi.rpgcobol.v96.pek.jar'/> <repository location='C:\Software\RationalDeveloper\RDI_V9.6'/> </server> <profile id='${profile}' installLocation='${installLocation}'> <data key='cic.selector.arch' value='x86_64'/> </profile> <install> <!-- IBM® Rational® Developer for i 9.6.0.1 --> <offering profile='${profile}' id='com.ibm.rational.developer.ibmi.v96' version='9.6.1.20171205_1338' features='com.ibm.rdi.sdpcore,com.ibm.rdi.jre,com.ibm.rdi.rpgtools,com.ibm.rdi.rpgtools.egit'/> <offering id='com.ibm.rational.developer.ibmi.rpgcobol.v96.pek.offering' version='9.0.1.20171002_1405' features='main.feature'/> </install> <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/> </agent-input>