7
edits
Changes
Spark
,Adding Spark 2.7.0 - plus adding needed uninstall and re-install to properly upgrade to 2.7.0 and taskkill to upgrade if Spark is running
=WPKG Installers=
==Spark 2.7.0 (Install4j Installer)==
This installer works with the install4j-based "Offline installer" package available at http://www.igniterealtime.org/downloads/download-landing.jsp?file=spark/spark_2_7_0.exe
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="spark"
name="Spark IM Client"
revision="%PKG_VERSION%.1"
reboot="false"
priority="0">
<variable name="PKG_VERSION" value="2.7.0.671" />
<variable name="shortversion" value="2_7_0" />
<variable name="PKG_EXE_VERSION" value="2.7.0.671" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\Spark" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Spark" architecture="x64"/>
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\Spark.exe" value="%PKG_EXE_VERSION%" />
<install cmd='%SOFTWARE%\spark\spark_%shortversion%.exe -q' />
<upgrade cmd="taskkill /f /im Spark.exe">
<exit code="any" />
</upgrade>
<upgrade cmd='"%PKG_DESTINATION%\uninstall.exe" -q' />
<upgrade include="install" />
<remove cmd="taskkill /f /im Spark.exe">
<exit code="any" />
</remove>
<remove cmd='"%PKG_DESTINATION%\uninstall.exe" -q' />
</package>
</packages>
</source>
==Spark 2.6.3 (Install4j Installer)==