Difference between revisions of "PDF Split And Merge"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(new page for pdfsam)
(No difference)

Revision as of 22:17, 6 August 2013

PDF Split And Merge [1] is a free, open source and platform independent software to Split and merge pdf documents.

<package
	id="pdfsam"
	name="PDF Split And Merge Basic"
	revision="%PKG_VERSION%"
	reboot="false"
	priority="1">

	<variable name="PKG_VERSION"        value="2.2.2" />
		
	<variable name="PKG_EXE_x86"        value="pdfsam-x86-v%PKG_VERSION%.msi" />
	<variable name="PKG_EXE_x64"	    value="pdfsam-x64-v%PKG_VERSION%.msi" />
		
	<variable name="PKG_SOURCE"         value="%SOFTWARE%\pdfsam" />
        
	<variable name="PKG_INSTALL_SWITCH" value='/qn /passive' />
	<variable name="PKG_REMOVE_SWITCH"  value='/qn /passive' />
		
	<check type="uninstall" condition="versionequalto" path="PDF Split And Merge Basic" value="%PKG_VERSION%" />
		
	<commands>		
		<command type="install" cmd='MsiExec.exe /i "%PKG_SOURCE%\%PKG_EXE_x86%" %PKG_INSTALL_SWITCH%' architecture="x86" />
		<command type="install" cmd='MsiExec.exe /i "%PKG_SOURCE%\%PKG_EXE_x64%" %PKG_INSTALL_SWITCH%' architecture="x64" />

		<command type="upgrade" include="install" />
			
		<command type="remove" cmd='MsiExec.exe /x "%PKG_SOURCE%\%PKG_EXE_x86%" %PKG_REMOVE_SWITCH%' architecture="x86" />
		<command type="remove" cmd='MsiExec.exe /x "%PKG_SOURCE%\%PKG_EXE_x64%" %PKG_REMOVE_SWITCH%' architecture="x64" />
	</commands>
</package>