Difference between revisions of "Spark"
From WPKG | Open Source Software Deployment and Distribution
(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: Clean old version, add new with some more variables.) |
||
Line 3: | Line 3: | ||
=WPKG Installers= | =WPKG Installers= | ||
− | ==Spark 2. | + | ==Spark 2.8.3 (Install4j Installer)== |
− | This installer works with the install4j-based "Offline installer" package available at | + | As the previous entry (below) notes, the msi-based installation packages have been deprecated. This installer works with the install4j-based "Offline installer" package available at [https://www.igniterealtime.org/downloads/download-landing.jsp?file=spark/spark_2_8_3.exe igniterealtime.org] |
<source lang="xml"> | <source lang="xml"> | ||
− | + | <package | |
− | + | id='spark' | |
− | <package | + | name='Spark IM' |
− | id= | + | revision="%PKG_VERSION%" |
− | name= | + | |
− | revision="%PKG_VERSION% | + | |
reboot="false" | reboot="false" | ||
priority="0"> | priority="0"> | ||
− | <variable name="PKG_VERSION" | + | <variable name="PKG_VERSION" value="2.8.3.960" /> |
− | <variable name=" | + | <variable name="PKG_SHORT_VERSION" value="2_8_3" /> |
− | <variable name=" | + | <variable name="PKG_SOURCE" value="%SOFTWARE%\SparkIM" /> |
− | <variable name="PKG_DESTINATION" value="%ProgramFiles%\Spark" | + | <variable name="PKG_NAME" value="spark_%PKG_SHORT_VERSION%.exe" /> |
− | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Spark" | + | <variable name="PKG_INSTALL_SWITCH" value="-q -overwrite -varfile %PKG_SOURCE%\response.varfile" /> |
+ | <variable name="PKG_REMOVE_SWITCH" value="-q" /> | ||
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles%\Spark" architecture="x86"/> | ||
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Spark" architecture="x64"/> | ||
− | + | <check type="uninstall" condition="versiongreaterorequal" path="Spark .+" value="%PKG_VERSION%" /> | |
− | <check type=" | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <install cmd='% | + | <install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' /> |
+ | <upgrade include="remove" /> | ||
<upgrade include="install" /> | <upgrade include="install" /> | ||
Line 67: | Line 33: | ||
<exit code="any" /> | <exit code="any" /> | ||
</remove> | </remove> | ||
− | <remove cmd='"% | + | <remove cmd='"%PKG_DESTINATION%\uninstall.exe" %PKG_REMOVE_SWITCH%' /> |
</package> | </package> | ||
− | |||
</source> | </source> | ||
Latest revision as of 14:45, 16 May 2020
Spark is a "Cross-platform real-time collaboration client optimized for business and organizations". Spark is Open Source, available from http://www.igniterealtime.org/projects/spark/.
WPKG Installers
Spark 2.8.3 (Install4j Installer)
As the previous entry (below) notes, the msi-based installation packages have been deprecated. This installer works with the install4j-based "Offline installer" package available at igniterealtime.org
<package
id='spark'
name='Spark IM'
revision="%PKG_VERSION%"
reboot="false"
priority="0">
<variable name="PKG_VERSION" value="2.8.3.960" />
<variable name="PKG_SHORT_VERSION" value="2_8_3" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\SparkIM" />
<variable name="PKG_NAME" value="spark_%PKG_SHORT_VERSION%.exe" />
<variable name="PKG_INSTALL_SWITCH" value="-q -overwrite -varfile %PKG_SOURCE%\response.varfile" />
<variable name="PKG_REMOVE_SWITCH" value="-q" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\Spark" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Spark" architecture="x64"/>
<check type="uninstall" condition="versiongreaterorequal" path="Spark .+" value="%PKG_VERSION%" />
<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
<upgrade include="remove" />
<upgrade include="install" />
<remove cmd="taskkill /f /im Spark.exe">
<exit code="any" />
</remove>
<remove cmd='"%PKG_DESTINATION%\uninstall.exe" %PKG_REMOVE_SWITCH%' />
</package>
Spark 2.5.8 (MSI Installer)
This installer:
- Uninstalls an already installed version of Spark.
- Assumes you are using the "Offline installation, includes Java JRE" rather than the "Online installation, does not include Java JRE".
- Requires an MSI installer rather than a .exe installer [though these are possibly no longer available, see http://www.igniterealtime.org/community/thread/40710].
The installed version was 2.5.0 (installed by the install4j installer). Options for Install4j (silent uninstall) can be found at: http://resources.ej-technologies.com/install4j/help/doc/
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="spark250-uninstall"
name="Uninstall: Spark 2.5.0 XMMP-Client"
revision="1"
reboot="false"
priority="5">
<check type="logical" condition="not">
<check type="file" condition="exists" path="%PROGRAMFILES%\Spark\uninstall.exe" />
</check>
<install cmd='%PROGRAMFILES%\Spark\uninstall.exe -q' />
</package>
<package
id="spark"
name="Spark"
revision="3"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Spark" />
<install cmd='msiexec /qn /i %SOFTWARE%\spark\spark_2_5_8.msi' />
<upgrade cmd='msiexec /qn /i %SOFTWARE%\spark\spark_2_5_8.msi' />
<remove cmd='msiexec /qn /x %SOFTWARE%\spark\spark_2_5_8.msi' />
</package>
</packages>