Changes

Jump to: navigation, search

Yajhfc

352 bytes added, 11:36, 17 October 2013
no edit summary
A package for XP and w7 to install the http://www.[http://www.yajhfc.de/ Java-Hylafax-Client]
 
The [http://www.yajhfc.de/downloads/current-version Batch Printer and Mail plugin] and [http://ghostscript.com/ Ghostscript] are installed as well.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
<package
id="jhfcyajhfc"
name="Java Hylafax Client"
revision="%PKG_VERSION%"
<variable name="PKG_EXE_VERSION" value="0.5.4.999" />
<variable name="PKG_EXE_NAME" value="yajhfc-0_5_4-setup.exe" />
<variable name="PLUGIN_PKG_EXE_NAME" value="yajhfc-0_5_4-plugin-mail-setup.exe" /> <variable name="PKG_DESTINATION" value="%ProgramFiles%\YajHFC" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\YajHFC" architecture="x64"/>
<variable name="GS_EXE_NAME" value="gs910w32.exe" architecture="x86"/>
<variable name="GS_EXE_NAME" value="gs910w64.exe" architecture="x64"/>
<!--Only the installation of the main program executable is checked, could be improved -->
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\yajhfc.exe" value="%PKG_EXE_VERSION%" />
<commands>
<command type="install" timeout="300" cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%\unins000.exe" "%PKG_DESTINATION%\unins000.exe" /VERYSILENT' /> <command type="install" timeout="300" cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%\unins001.exe" "%PKG_DESTINATION%\unins001.exe" /VERYSILENT' /> <command type="install" timeout="400" cmd='%SOFTWARE%\fax\jhfc\%GS_EXE_NAME% /S' /> <command type="install" timeout="400" cmd='%SOFTWARE%\fax\jhfc\%PKG_EXE_NAME% /SILENT /NORESTART /SP-' /> <command type="install" timeout="400" cmd='%SOFTWARE%\fax\jhfc\%PLUGIN_PKG_EXE_NAME% /SILENT /NORESTART /SP-' /> <!--desktop-links and autostart-entrys are deleted--> <command type="install" cmd='%comspec% /c if exist "%AllUsersProfile%\Desktop\YajHFC fax client.lnk" del /s /q "%AllUsersProfile%\Desktop\YajHFC fax client.lnk"'/> <command type="install" cmd='%comspec% /c if exist "%AllUsersProfile%\Startmenü\YajHFC fax client.lnk" del /s /q "%AllUsersProfile%\Startmenü\YajHFC fax client.lnk"'/> <command type="install" cmd='%comspec% /c if exist "%Public%\Desktop\YajHFC fax client.lnk" del /s /q "%Public%\Desktop\YajHFC fax client.lnk"'/> <command type="install" cmd='%comspec% /c if exist "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup\YajHFC fax client.lnk" del /s /q "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup\YajHFC fax client.lnk"'/>
<command type="upgrade" include="install" />
<command type="downgrade" include="install" /> <!--remove commands not yet checked-->
<command type="remove" timeout="300" cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\YajHFC\unins000.exe" "%PROGRAMFILES%\YajHFC\unins000.exe" /VERYSILENT' />
<command type="remove" timeout="300" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\YajHFC\unins000.exe" "%PROGRAMFILES(x86)%\YajHFC\unins000.exe" /VERYSILENT' />
20
edits

Navigation menu