Difference between revisions of "Freemind"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (Use VERYSILENT instead of SILENT in remove)
 
(4 intermediate revisions by 4 users not shown)
Line 4: Line 4:
  
 
<source lang="xml">
 
<source lang="xml">
<package id="freemind" name="FreeMind" reboot="false" revision="0.8.1" priority="1">
+
<package id="freemind" name="FreeMind mind mapping software" reboot="false" revision="%VERSION%" priority="5060">
  
  <check type="uninstall" condition="exists" path="FreeMind" />
+
<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"/>
  
  <install cmd="%SOFTWARE%\f\FreeMind\FreeMind-Windows-Installer-0.8.1-max.exe /SILENT" />
+
<check type="uninstall" condition="versionequalto" path="FreeMind" value="%VERSION%" />
 +
 +
<install cmd="%PKG_SOURCE%\FreeMind-Windows-Installer-%VERSION%-max.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART" />
  
  <remove cmd="%PROGRAMFILES%\FreeMind\unins000.exe /SILENT" />
+
<upgrade include="install" />
  
</package>
+
<remove cmd="%PKG_DESTINATION%\FreeMind\unins000.exe /VERYSILENT" />
 +
</package>
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Latest revision as of 18:04, 13 October 2016

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"/>

		<check type="uninstall" condition="versionequalto" path="FreeMind" value="%VERSION%" />
 
		<install cmd="%PKG_SOURCE%\FreeMind-Windows-Installer-%VERSION%-max.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART" />

		<upgrade include="install" />

		<remove cmd="%PKG_DESTINATION%\FreeMind\unins000.exe /VERYSILENT" />
	</package>