Difference between revisions of "Spark"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Spark 2.6.3 (Install4j installer))
(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)
Line 2: Line 2:
  
 
=WPKG Installers=
 
=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)==
 
==Spark 2.6.3 (Install4j Installer)==

Revision as of 15:12, 29 April 2015

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.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

<?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>

Spark 2.6.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 http://www.igniterealtime.org/downloads/download-landing.jsp?file=spark/spark_2_6_3.exe

<?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.6.3.12555" />
	<variable name="shortversion"         value="2_6_3" />

	<check type="uninstall" condition="exists" path="Spark %PKG_VERSION%" />   
	
	<install cmd='%SOFTWARE%\spark\spark_%shortversion%.exe -q' />
	
	<upgrade include="install" />
	
	<remove cmd="taskkill /f /im Spark.exe">
		<exit code="any" />
	</remove>
	<remove cmd='"%PROGRAMFILES%\Spark\uninstall.exe" -q' />   
</package>
</packages>

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>