Freemind

From WPKG | Open Source Software Deployment and Distribution
Revision as of 11:20, 21 June 2012 by Jupsoleil (Talk | contribs) (64-bit support added)

Jump to: navigation, search

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.

<?xml version="1.0" encoding="UTF-8"?>
<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"
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >

<package 
  id="freemind" 
  name="FreeMind mind mapping software" 
  reboot="false" 
  revision="%VERSION%" 
  priority="10">
  <depends package-id="jre" />
  
  <variable name="VERSION" value="0.9.0" />
  <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 /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>