Difference between revisions of "FreeFileSync"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(new page for FreeFileSync)
 
m (uninstall)
Line 16: Line 16:
 
<variable name="PKG_EXE"            value="FreeFileSync_%PKG_VERSION%_Windows_Setup.exe" />
 
<variable name="PKG_EXE"            value="FreeFileSync_%PKG_VERSION%_Windows_Setup.exe" />
 
<variable name="PKG_SOURCE"        value="%SOFTWARE%\FreeFileSync" />
 
<variable name="PKG_SOURCE"        value="%SOFTWARE%\FreeFileSync" />
 +
<variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x86" />
 +
        <variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x64" />
 
          
 
          
 
<variable name="PKG_INSTALL_SWITCH" value="/S" />
 
<variable name="PKG_INSTALL_SWITCH" value="/S" />
Line 27: Line 29:
 
<command type="upgrade" include="install" />
 
<command type="upgrade" include="install" />
 
 
<command type="remove" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_REMOVE_SWITCH%' />
+
<command type="remove" cmd='"%PKG_DESTINATION%\FreeFileSync\uninstall.exe" %PKG_REMOVE_SWITCH%' />
 
</commands>
 
</commands>
 
</package>
 
</package>
 
</packages:packages>
 
</packages:packages>
 
</source>
 
</source>

Revision as of 22:16, 18 July 2013

FreeFileSync [1] is a free Open Source software that helps you synchronize files and synchronize folders. It is designed to optimize user productivity and runtime performance to help get your files in sync quickly and reliably.

<?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="freefilesync"
		name="FreeFileSync"
		revision="%PKG_VERSION%"
		reboot="false"
		priority="1">

		<variable name="PKG_VERSION"        value="5.18" />
		
		<variable name="PKG_EXE"            value="FreeFileSync_%PKG_VERSION%_Windows_Setup.exe" />
		<variable name="PKG_SOURCE"         value="%SOFTWARE%\FreeFileSync" />
		<variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x86" />
        <variable name="PKG_DESTINATION"    value="%ProgramFiles%\"      architecture="x64" />
        
		<variable name="PKG_INSTALL_SWITCH" value="/S" />
		<variable name="PKG_REMOVE_SWITCH"  value="/S" />
		
		<check type="uninstall" condition="versionequalto" path="FreeFileSync %PKG_VERSION%" value="%PKG_VERSION%" />
		
		<commands>		
			<command type="install" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_INSTALL_SWITCH%' />

			<command type="upgrade" include="install" />
			
			<command type="remove" cmd='"%PKG_DESTINATION%\FreeFileSync\uninstall.exe" %PKG_REMOVE_SWITCH%' />		
		</commands>
	</package>
</packages:packages>