Difference between revisions of "FreePDF"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 2: Line 2:
  
 
FeePDF_XP is a printer device emulation and creates PDF-files (single or so called multi-doc files) from any application, that can print. It depends on ghostscript (Aladdin or GNU, latest releases). The software is available [http://www.shbox.de here]. On this site you will also find discussions on FreePDF_XP (troubleshooting etc.).
 
FeePDF_XP is a printer device emulation and creates PDF-files (single or so called multi-doc files) from any application, that can print. It depends on ghostscript (Aladdin or GNU, latest releases). The software is available [http://www.shbox.de here]. On this site you will also find discussions on FreePDF_XP (troubleshooting etc.).
 +
 +
==Installation directly from downloaded archive==
 +
<source lang="xml">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<packages>
 +
<package id="FreePDF" name="FreePDF" revision="1" reboot="false" priority="50">
 +
<check type="file" condition="versionequalto" path="%PROGRAMFILES(X86)%\FreePDF_XP\freepdf.exe" value="3.20.0.12" />
 +
<depends package-id='GhostScript'/>
 +
<install cmd='cmd /C""%SOFTWARE%\Packages\FreePDF\FreePDFXP3.26.EXE" /q /c:"fpsetup.exe /q""'/>
 +
<remove cmd='"%PROGRAMFILES(X86)%\FreePDF_XP\uninst.exe" /Q /R'/>
 +
</package>
 +
</packages>
 +
</source>
 +
==Installation by batch-file==
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 22:38, 31 May 2009

Silent installer for FreePDF.

FeePDF_XP is a printer device emulation and creates PDF-files (single or so called multi-doc files) from any application, that can print. It depends on ghostscript (Aladdin or GNU, latest releases). The software is available here. On this site you will also find discussions on FreePDF_XP (troubleshooting etc.).

Installation directly from downloaded archive

<?xml version="1.0" encoding="UTF-8"?>
<packages>
	<package id="FreePDF" name="FreePDF" revision="1" reboot="false" priority="50">
		<check type="file" condition="versionequalto" path="%PROGRAMFILES(X86)%\FreePDF_XP\freepdf.exe" value="3.20.0.12" />
		<depends package-id='GhostScript'/>
		<install cmd='cmd /C""%SOFTWARE%\Packages\FreePDF\FreePDFXP3.26.EXE" /q /c:"fpsetup.exe /q""'/>
		<remove cmd='"%PROGRAMFILES(X86)%\FreePDF_XP\uninst.exe" /Q /R'/>
	</package>
</packages>

Installation by batch-file

<packages>

    <package id="freepdfxp" name="FreePDF XP 3.26" revision="326" reboot="false" priority="1" >

        <depends package-id="gplghostscript" />

        <check type="file" condition="sizeequals" path="%PROGRAMFILES%\FreePDF_XP\FreePDF.exe" value="761344" />

        <install cmd='cmd /C "%SOFTWARE%\wpkg\packages\fpsetup.bat"' />

        <upgrade cmd='"%SOFTWARE%\wpkg\packages\fpsetup.bat"' />

        <remove cmd='"%PROGRAMFILES%\FreePDF_XP\fpsetup.exe" /q /r' />

        <!-- after uninstall file and directory remain -->
        <remove cmd='cmd /C del /y "%PROGRAMFILES%\FreePDF_XP\fpsetup.exe"' />
        <remove cmd='cmd /C rd  /y "%PROGRAMFILES%\FreePDF_XP"' />

    </package>

The file fpsetup.bat consists of only two lines:

set fpsetup=1
%SOFTWARE%\pdf\FreePDFXP3.26.exe