Novell iPrint

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

A silent installer for v5.9 Novell/MicroFocus iPrint client.

This package requires assumes that you have repackaged your iprint installer into nipp.7z, and that you have 7za.exe in your WPKG tools directory.

Note that the whole path for the installer is in the zip file, and that it's being extracted to the root of the C: drive. Please adjust the script as needed.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
	<package 
		id="novell-iprint" 
		name="Novell iPrint Client" 
		revision="%version%"
		priority="20">
	
		<variable name="version" value="5.9.9.0" />
		
		<check type="file" condition="versiongreaterorequal" path="%WinDir%\System32\iprint\setupipp.exe" value="%version%" />

		<install cmd="%software%\wpkg\tools\7za.exe x &quot;%software%\Novell\nipp.7z&quot; -oC:\ -aoa" />
		<install cmd="&quot;C:\Software\Novell iPrint Client\setupipp.exe&quot; /S" workdir="C:\Software\Novell iPrint Client" />
		
		<upgrade include="install" />
		
		<remove cmd="%WinDir%\System32\iprint\setupipp.exe /uninstall /S" />
		<remove cmd='%COMSPEC% /C if exist "C:\Software\Novell iPrint Client" rmdir /S /Q "C:\Software\Novell iPrint Client"'/>
		
	</package>
</packages>