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">
<package id="freemind" name="FreeMind" reboot="false" revision="%version%" priority="1">
+
<?xml version="1.0" encoding="UTF-8"?>
        <variable name="version" value="0.9.0" />
+
<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"
        <check type="uninstall" condition="versionequalto" path="FreeMind" value="%version%" />
+
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
  
        <install cmd="%SOFTWARE%\freemind\FreeMind-Windows-Installer-0.9.0-max.exe /sp- /silent /norestart" />
+
<package
        <upgrade cmd="%SOFTWARE%\freemind\FreeMind-Windows-Installer-0.9.0-max.exe /sp- /silent /norestart" />
+
  id="freemind"
        <remove cmd="%PROGRAMFILES%\FreeMind\unins000.exe /SILENT"  />
+
  name="FreeMind mind mapping software"
        </package>
+
  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>
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 11:20, 21 June 2012

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>