2017-02-10 11:41:52 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
@rem Creates an EXE installer for DemoBench.
|
|
|
|
@rem Assumes that Inno Setup 5+ has already been installed (http://www.jrsoftware.org/isinfo.php)
|
|
|
|
|
|
|
|
if not defined JAVA_HOME goto NoJavaHome
|
|
|
|
|
|
|
|
set DIRNAME=%~dp0
|
|
|
|
if "%DIRNAME%" == "" set DIRNAME=.
|
|
|
|
|
2017-03-13 13:31:38 +00:00
|
|
|
call %DIRNAME%\..\..\gradlew -PpackageType=exe javapackage
|
|
|
|
@echo
|
|
|
|
@echo "Wrote installer to %DIRNAME%\build\javapackage\bundles\"
|
|
|
|
@echo
|
2017-02-10 11:41:52 +00:00
|
|
|
goto end
|
|
|
|
|
|
|
|
:NoJavaHome
|
2017-03-13 13:31:38 +00:00
|
|
|
@echo "Please set JAVA_HOME correctly"
|
2017-02-10 11:41:52 +00:00
|
|
|
|
|
|
|
:end
|