blob: 7d154bb88ba8c91f276e2f00805e4391d5650e61 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project default="build_installer" basedir=".">
<import file="build_init.xml" />
<!-- Build the installer -->
<target name="build_installer_from_zip" depends="init, prepare_installer, prepare_zip_image, assemble_jar">
<!-- Assemble the Windows installer -->
<java classname="com.instantiations.installer.tools.packager.NativePackager" failonerror="true" output="${log.dir}/build-installer-${install.name}-win32.log">
<arg value="${build.out}/${install.name}.exe" />
<arg value="${install.tools}/template/win32/x86/install.exe" />
<arg value="-x${build.out}/install.jar" />
<classpath>
<pathelement location="${install.tools}/installerTools.jar" />
</classpath>
</java>
<!-- Rename the installer JAR to its final name -->
<delete file="${build.out}/install.jar" />
</target>
</project>