Difference between revisions of "Freemind"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (64-bit support added)
Line 4: Line 4:
  
 
<source lang="xml">
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
+
<package id="freemind" name="FreeMind mind mapping software" reboot="false" revision="%VERSION%" priority="5060">
<packages:packages
+
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
<variable name="VERSION" value="1.0.1" />
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
+
<variable name="PKG_SOURCE"        value="%SOFTWARE%\freemind\"/>
 
+
<variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x86"/>
<package  
+
<variable name="PKG_DESTINATION"    value="%ProgramFiles(x86)%\" architecture="x64"/>
  id="freemind"  
+
<variable name="PKG_INSTALL_SWITCH" value='/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART'/>
  name="FreeMind mind mapping software"  
+
  reboot="false"  
+
<check type="uninstall" condition="versionequalto" path="FreeMind" value="%VERSION%" />
  revision="%VERSION%"  
+
  priority="10">
+
<install cmd="%PKG_SOURCE%\FreeMind-Windows-Installer-%VERSION%-max.exe %PKG_INSTALL_SWITCH%" />
  <depends package-id="jre" />
+
 
+
<upgrade include="install" />
  <variable name="VERSION" value="0.9.0" />
+
  <variable name="PKG_SOURCE"        value="%SOFTWARE%\freemind\"/>
+
<remove cmd="%PKG_DESTINATION%\FreeMind\unins000.exe /SILENT"  />
  <variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x86"/>
+
</package>
  <variable name="PKG_DESTINATION"    value="%ProgramFiles(x86)%\" architecture="x64"/>
+
  <variable name="PKG_INSTALL_SWITCH" value='/SP- /VERYSILENT /SUPPRESSMSGBOXES /LOG="%TMP%\freemind.log" /NORESTART'/>
+
 
+
  <check type="uninstall" condition="versionequalto" path="FreeMind" value="%VERSION%" />
+
 
+
  <install cmd="%PKG_SOURCE%\FreeMind-Windows-Installer-%VERSION%-max.exe %PKG_INSTALL_SWITCH%" />
+
  <upgrade include="install" />
+
  <remove cmd="%PKG_DESTINATION%\FreeMind\unins000.exe /SILENT"  />
+
</package
+
</packages:packages>
+
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 09:34, 2 July 2014

Silent installer for Freemind.

FreeMind is a premier free mind-mapping (http://en.wikipedia.org/wiki/Mind_map) software written in Java. You can get more information at http://freemind.sourceforge.net/wiki/index.php/Main_Page.

	<package id="freemind" name="FreeMind mind mapping software" reboot="false" revision="%VERSION%" priority="5060">
 
		<variable name="VERSION" value="1.0.1" />
		<variable name="PKG_SOURCE"         value="%SOFTWARE%\freemind\"/>
		<variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x86"/>
		<variable name="PKG_DESTINATION"    value="%ProgramFiles(x86)%\" architecture="x64"/>
		<variable name="PKG_INSTALL_SWITCH" value='/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART'/>
 
		<check type="uninstall" condition="versionequalto" path="FreeMind" value="%VERSION%" />
 
		<install cmd="%PKG_SOURCE%\FreeMind-Windows-Installer-%VERSION%-max.exe %PKG_INSTALL_SWITCH%" />
				
		<upgrade include="install" />
				
		<remove cmd="%PKG_DESTINATION%\FreeMind\unins000.exe /SILENT"  />
	</package>