Difference between revisions of "Hardcopy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (WPKG Package: typo)
(WPKG Package: added packaged for 64bit OS)
Line 27: Line 27:
 
</source>
 
</source>
  
 +
==WPKG Package for 64bit ==
 +
<source lang="xml">
 +
<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>
 +
</source>
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]

Revision as of 15:15, 6 January 2012

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.

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>