137
edits
Changes
added WPKG script for PDFCreator 2.3.0
== PDFCreator 2.3.0 ==
PDFCreator allows any Windows program to easily create PDF files by using it like a printer so as to save to a PDF. It is available from http://www.pdfforge.org/pdfcreator at http://download.pdfforge.org/download/pdfcreator/PDFCreator-stable.
A list of setup commandline parameters : http://docs.pdfforge.org/pdfcreator/2.0/en/installing-pdfcreator/setup-command-line-parameters/
To create a custom PDFCreator.inf, run the installer manually using the switch and select expert options :
PDFCreator-2_3_0-setup.exe /SAVEINF="PDFCreator.inf"
Place the INF file in the same folder as the EXE.
==== PDFCreator.inf ====
<source lang="ini">
[Setup]
Lang=English
Dir=C:\Program Files\PDFCreator
Group=PDFCreator
NoIcons=0
SetupType=custom
Components=program
Tasks=winexplorer
Printername=PDFCreator
</source>
==== WPKG.XML ====
<source lang="xml">
<package id="pdfcreator2" name="PDFCreator2" revision="%PKG_VERSION%" reboot="false" priority="10">
<variable name="PKG_VERSION" value="2.3.0" />
<variable name="PKG_EXE_VERSION" value="2.3.0.103" />
<variable name="PKG_EXE_NAME" value="PDFCreator-2_3_0-setup.exe" />
<variable name="INF_FILE" value="PDFCreator.inf" />
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\PDFCreator\PDFCreator.exe" value="%PKG_EXE_VERSION%" />
<install include="remove" />
<install cmd='%SOFTWARE%\pdfcreator\%PKG_EXE_NAME% /LOADINF="%SOFTWARE%\pdfcreator\%INF_FILE%" /VERYSILENT /NORESTART' />
<upgrade include="install" />
<remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\PDFCreator\unins000.exe" "%ProgramFiles%\PDFCreator\unins000.exe" /VERYSILENT' />
<remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\PDFCreator\unins001.exe" "%ProgramFiles%\PDFCreator\unins001.exe" /VERYSILENT' />
</package>
</source>
== PDFCreator 1.7.0 ==
PDFCreator allows any Windows program to easily create PDF files by using it like a printer so as to save to a PDF. It is available from http://www.pdfforge.org/pdfcreator.