A-PDF Number

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

It is a free software utility program that adds/creates page numbers in pdf files from A-PDF.com.

<package
	id="apdfnumber"
	name="A-PDF Number"
	revision="%PKG_VERSION%"
	reboot="false"
	priority="0">
		
	<variable name="PKG_VERSION"		value="1.3" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\APDFNumber" />
	<variable name="PKG_NAME"		value="a-pdf-nb%PKG_VERSION%.exe" />
	<variable name="PKG_INSTALL_SWITCH"	value="/SP- /VERYSILENT /NORESTART /NOICONS" />
	<variable name="PKG_REMOVE_SWITCH"	value="/VERYSILENT /NORESTART" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\A-PDF Number" architecture="x86" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES(x86)%\A-PDF Number" architecture="x64" />

	<check type="uninstall" condition="exists" path="A-PDF Number freeware %PKG_VERSION%" />
	
	<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />

	<upgrade include="remove" />		
	<upgrade include="install" />
		
	<remove cmd='"%PKG_DESTINATION%\unins000.exe" %PKG_REMOVE_SWITCH%' />

</package>