Difference between revisions of "FreePDF"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(updated to version 4.06.)
Line 3: Line 3:
 
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==
+
 
 +
== Version 4.06 ==
 +
 
 +
<source lang="xml">
 +
<package id="freepdf" name="FreePDF" revision="9" reboot="false" priority="50">
 +
<check type="host" condition="architecture" value="x86" />
 +
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\FreePDF_XP\freepdf.exe" value="4" />
 +
<depends package-id='ghostscript'/>
 +
<install cmd='cmd /C""%SOFTWARE%\freepdf406.bat""'/>
 +
<remove cmd='"%PROGRAMFILES%\FreePDF_XP\fpsetup.exe" /r /q'/>
 +
</package>
 +
</source>
 +
 
 +
The batch-File contains:
 +
<source lang="dos">
 +
rmdir %APPDATA%\FreePDF /s /q
 +
cmd /C""%SOFTWARE%\freepdf406.EXE" /q /c:"fpsetup.exe /q""
 +
</source>
 +
 
 +
If you don't remove the mentioned directory, re-installation isn't possible: [http://freepdfxp.de/Forum/article.php?id=12686&group=life.d.software.freepdf Error creating psDir and setting]
 +
 
 +
 
 +
== Version 3.20 ==
 +
 
 +
===Installation directly from downloaded archive===
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
Line 15: Line 39:
 
</packages>
 
</packages>
 
</source>
 
</source>
==Installation by batch-file==
+
===Installation by batch-file===
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 23:40, 23 October 2012

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.).


Version 4.06

<package id="freepdf" name="FreePDF" revision="9" reboot="false" priority="50">
	<check type="host" condition="architecture" value="x86" />
	<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\FreePDF_XP\freepdf.exe" value="4" />
	<depends package-id='ghostscript'/>
	<install cmd='cmd /C""%SOFTWARE%\freepdf406.bat""'/>
	<remove cmd='"%PROGRAMFILES%\FreePDF_XP\fpsetup.exe" /r /q'/>
</package>

The batch-File contains:

rmdir %APPDATA%\FreePDF /s /q
cmd /C""%SOFTWARE%\freepdf406.EXE" /q /c:"fpsetup.exe /q""

If you don't remove the mentioned directory, re-installation isn't possible: Error creating psDir and setting


Version 3.20

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