FreeFileSync

From WPKG | Open Source Software Deployment and Distribution
(Redirected from Freefilesync)
Jump to: navigation, search

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>