PDFill PDF software

Now, PDFill in one installer deploying many applications.

PDFill PDF Tools are FREE PDF functions to merge, split, reorder, delete, encrypt, decrypt, rotate, crop and reformat PDF pages, to add information, header, footer and watermark, to convert images to PDF, PDF to images or PostScript to PDF, to delete, flatten and list form fields, to scan to pdf, to create transparent image, and more.

PDFill PDF Writer - virtual printer that can output pdf or images.

PDFill PDF Editor Basic - basic pdf editor.

You also need to download Ghostscript_lite 8.63(for 14.0.0.2). I'm got that from manually installed version.

It is strongly recommended to save all versions of PDFill installer, that you used, because can be troubles with removing without them.

<package
	id="pdfillpdfeditor"
	name="PDFill PDF Editor with Tools and Writer"
	revision="%PKG_VERSION%"
	reboot="false"
	priority="0">
	
	<variable name="PKG_VERSION"		value="14.0.0.2" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\PDFill" />
	<variable name="PKG_NAME"		value="PDFill_FREE_PDF_Editor_Basic.msi" architecture="x86" />
	<variable name="PKG_NAME"		value="PDFill_FREE_PDF_Editor_Basic.x64.msi" architecture="x64" />
	<variable name="PKG_TRANSFORMS_NAME"	value="PDFill_FREE_PDF_Editor_Basic.mst" />
	<variable name="PKG_CHECKBOX"		value="CHECKBOX_EDITOR=1 CHECKBOX_TOOLS=1 CHECKBOX_WRITER=1" />
	<variable name="PKG_INSTALL_SWITCH"	value="/quiet /norestart /qn /passive" />
	<variable name="PKG_REMOVE_SWITCH"	value="/quiet /norestart /qn" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\PlotSoft\PDFill" architecture="x86" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES(x86)%\PlotSoft\PDFill" architecture="x64" />

	<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\WriterSave.exe" value="%PKG_VERSION%" />

	<install cmd='%COMSPEC% /C if not exist "%PKG_DESTINATION%\download" mkdir "%PKG_DESTINATION%\download"'>
		<exit code="any"/>
	</install>
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_SOURCE%\Ghostscript_lite\8.63\gs.zip" "%PKG_DESTINATION%\download\"'>
		<exit code="any"/>
	</install>

	<install cmd='msiexec /i %PKG_SOURCE%\Editor\%PKG_VERSION%\%PKG_NAME% TRANSFORMS=%PKG_TRANSFORMS_NAME% %PKG_CHECKBOX% %PKG_INSTALL_SWITCH%' />

	<upgrade include="remove" />		
	<upgrade include="install" />

	<remove cmd='wmic product where "name like &apos;PDFill FREE PDF Editor Basic&apos;" call uninstall' />
</package>