124 lines
2.6 KiB
Batchfile
124 lines
2.6 KiB
Batchfile
@echo off
|
|
cls
|
|
cd c:\data\ayanova
|
|
|
|
set m=Unknown error
|
|
|
|
|
|
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo Building setups...
|
|
echo.
|
|
echo.
|
|
|
|
:: **** Build AyaNova setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\AyaNovaINNO\AyaNova.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building AyaNova.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: **** CEImport build setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\CEImportINNO\CEImport.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building CEImport.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: **** Build QuickNotify Plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\QuickNotify\QuickNotify.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building QuickNotify.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: **** Build ExportToXLS Plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\ExportToExcel\ExportToExcel.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building ExportToExcel.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: **** Build Outlookschedule ayanova plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\OutlookSchedule\OutlookSchedule.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building OutlookSchedule.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: *** Build RepairTek plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\RepairTek\RepairTek.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building RepairTek.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: *** Build RepairTek CPC plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\RepairTekCPC\RepairTekCPC.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building RepairTekCPC.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: *** Build AyaNovaOL Outlook plugin setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\AyaNovaOL\AyaNovaOL.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building AyaNovaOL.iss
|
|
goto FAIL
|
|
)
|
|
|
|
:: *** Build AyaScript setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\AyaScript\AyaScript.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building AyaScript.iss
|
|
goto FAIL
|
|
)
|
|
|
|
|
|
:: ** Build web project installers
|
|
|
|
:: *** Build WBI setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\WBI\WBI.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building WBI.ISS
|
|
goto FAIL
|
|
)
|
|
|
|
:: *** Build MBI setup file
|
|
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\MBI\MBI.iss
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
set m=INNO failed building MBI\MBI.iss
|
|
goto FAIL
|
|
)
|
|
|
|
|
|
::Completed processing without error
|
|
goto OK
|
|
|
|
::------------------------
|
|
:FAIL
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo Error:
|
|
echo %m%
|
|
pause
|
|
goto DONE
|
|
|
|
::------------------------
|
|
:OK
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo.
|
|
echo.
|
|
@echo Completed without error
|
|
pause
|
|
|
|
|
|
:DONE
|