Hardcopy

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

Silent installer for Hardcopy, Hardcopy offers the possibility to you, to print or save the current window or screen, whether you work with SAP R/3® or with any other program !

The Hardcopy website is at http://www.hardcopy.de/hardcopy/english/index.php.

Note: Hardcopy is freeware/donationware. As far as I know, silent installation/upgrade/deinstallation is only offered with the professional version if you buy 100+ licenses! (Sorry to admit that this is the reason I won't buy any licenses at all - I only would need 15 licenses). --Konus 19:10, 4 April 2012 (CEST)

WPKG Package

<package id="hardcopy"
   name="Hardcopy"
   revision="2010.11.24"
   reboot="false"
   priority="1">

   <check type="logical" condition="and">
     <check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Hardcopy(C__Programme_Hardcopy)\DisplayVersion" value="2010.11.24"/>
     <check type="uninstall" condition="exists" path="Hardcopy (C:\Programme\Hardcopy)"/>
   </check>

   <install cmd='%SOFTWARE%\Hardcopy\hc.exe /InstallSilent /InstallCommonGroup /InstallDir="%Programfiles%\Hardcopy"' />

   <upgrade cmd='%WINDIR%\SwSetupu.exe "%PROGRAMFILES%\Hardcopy\hardcopy.del" /Silent' />
   <upgrade cmd='%SOFTWARE%\Hardcopy\hc.exe /InstallSilent /InstallCommonGroup /InstallDir="%Programfiles%\Hardcopy"' />

   <remove cmd='%WINDIR%\SwSetupu.exe "%PROGRAMFILES%\Hardcopy\hardcopy.del" /Silent' />

</package>

WPKG Package for 64bit

<package id="hardcopy"
	name="Hardcopy"
	revision="%version%"
	reboot="false"
	priority="1">
	<variable name="version" value="2012.01.04" />
	<check type="logical" condition="and">
		<check type="registry" condition="equals" path="HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Hardcopy(C__Program Files (x86)_Hardcopy)\DisplayVersion" value="%version%"/>
		<check type="uninstall" condition="exists" path="Hardcopy (C:\Program Files (x86)\Hardcopy)"/>
	</check>
	<commands>
		<command type="install" cmd='%SOFTWARE%\Hardcopy\hc.exe /InstallSilent /InstallCommonGroup /InstallDir="%PROGRAMFILES(x86)%\Hardcopy"' />
		
		<command type="upgrade" cmd='%WINDIR%\SwSetupu.exe "C:\Program Files (x86)\Hardcopy\hardcopy.del" /Silent' />
		<command type="upgrade" cmd='%SOFTWARE%\Hardcopy\hc.exe /InstallSilent /InstallCommonGroup /InstallDir="%PROGRAMFILES(x86)%\Hardcopy"' />
		
		<command type="remove" cmd='%WINDIR%\SwSetupu.exe "C:\Program Files (x86)\Hardcopy\hardcopy.del" /Silent' />
	</commands>
</package>