@ECHO OFF

REM ################################################################
REM Installs: ClearCase
REM Download link:
REM Contact information:
REM Documentation
REM Created:
REM Modifyed:
REM Info:
REM Program reboots during install: No
REM Windows needs to be rebooted by SCCM after install: No
REM User interaction at install: No
REM Application dependencies: No
REM Firewall needs to open: No
REM ################################################################

SETLOCAL

REM Skapar katalog
md %PROGRAMDATA%\Logs

REM Kontrollerar befintlig installation av Installation Manager
if not exist "C:\IBM\InstallationManager\eclipse\IBMIM.exe" goto IIMINSTALL

goto CCINSTALL

:IIMINSTALL

REM Kör setup för Installation Manager
REM CD InstallationManager
%~dp0installc.exe --launcher.ini %~dp0IM_silent-install.ini -log %PROGRAMDATA%\Logs\install_installation_manager.log

:CCINSTALL

REM Install ClearCase
REM CD ClearCase
"C:\IBM\InstallationManager\eclipse\IBMIM.exe" --launcher.ini ClearCase\CC_silent-install.ini -log %PROGRAMDATA%\Logs\install_clearcase.log

REM Kopierar konfigfil till Startmenyn för ClearCase.
xcopy /h /e "%~dp0Create Ladok dynamic view.cmd" "%ProgramData%\Microsoft\Windows\Start Menu\Programs\IBM Rational ClearCase" /Y

Endlocal

REM Return exit code to SCCM
exit /B %EXIT_CODE%

  • No labels