39 lines
976 B
Batchfile
39 lines
976 B
Batchfile
@echo off
|
|
|
|
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 -q -w -dJCLINSTALL -E..\bin -I..\source -U..\source\common;..\source\windows JediInstaller.dpr %1 %2 %3 %4 %5 %6 %7 %8
|
|
if ERRORLEVEL 1 goto FailedCompile
|
|
|
|
|
|
echo Launching JCL installer...
|
|
|
|
start ..\bin\JediInstaller.exe
|
|
if ERRORLEVEL 1 goto FailStart
|
|
goto FINI
|
|
|
|
:FailStart
|
|
..\bin\JediInstaller.exe
|
|
goto FINI
|
|
|
|
:FailedCompile
|
|
echo.
|
|
echo.
|
|
echo An error occured while compiling the installer. Installation aborted.
|
|
echo.
|
|
|
|
:FINI
|
|
cd ..
|