Componentes.Terceros.jcl/official/1.104/Install.bat
2009-02-27 12:18:04 +00:00

43 lines
1.1 KiB
Batchfile

@echo off
SET DELPHIVERSION=%1
cd install
::jpp prototypes
..\devtools\jpp.exe -c -dVCL -dMSWINDOWS -uVisualCLX -uUnix -uKYLIX -xVclGui\ prototypes\JediGUIMain.pas
if ERRORLEVEL 1 goto FailedCompile
..\devtools\jpp.exe -c -dVCL -dMSWINDOWS -uVisualCLX -uUnix -uKYLIX -xVclGui\ prototypes\JediGUIReadme.pas
if ERRORLEVEL 1 goto FailedCompile
..\devtools\jpp.exe -c -dVCL -dMSWINDOWS -uVisualCLX -uUnix -uKYLIX -xVclGui\ prototypes\JediGUIInstall.pas
if ERRORLEVEL 1 goto FailedCompile
:: compile installer
build\dcc32ex.exe --runtime-package-rtl --runtime-package-vcl --preserve-config -q -w -dJCLINSTALL -E..\bin -I..\source\include -U..\source\common;..\source\windows JediInstaller.dpr
if ERRORLEVEL 1 goto FailedCompile
echo Launching JCL installer...
start ..\bin\JediInstaller.exe %2 %3 %4 %5 %6 %7 %8 %9
if ERRORLEVEL 1 goto FailStart
goto FINI
:FailStart
..\bin\JediInstaller.exe %2 %3 %4 %5 %6 %7 %8 %9
goto FINI
:FailedCompile
echo.
echo.
echo An error occured while compiling the installer. Installation aborted.
echo.
pause
:FINI
cd ..
SET DELPHIVERSION=