Spark

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

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>