Changes

PDFCreator

896 bytes removed, 18:49, 14 July 2010
PDFCreator 1.0.0: Update to 1.0.1 and clean up a little
== PDFCreator 1.0.0 1 ==
[http://sourceforge.net/projects/pdfcreator/ PDFCreator] 1.0.0 1 is not available as an MSI package. Customization has to be prepared via commandline arguments to the installer, or via the SAVEINF LOADINF method; both of them allow for example the a customized installation without toolbar and desktop icon.
Haven't checked if version 1.0.0 upgrades cleanly from previous versions (maybe it could complain about the package being already installed) so I use a different package id ("pdfcreator-098" for the old version, "pdfcreator-100" for the new), so that the old version is removed before the new is installed. Note that the uninstall string is "PDFCreator" for both versions, so I added a check on the executable version number just to make sure. Note also The version in the call to unins000executable for 1.exe before install/upgrade0. This should solve the 1 is "package already installed" problem mentioned above1. This also serves to remove any previous versions that may have been manually installed0Install/Upgrade also merges in the registry tree HKEY_LOCAL_MACHINE a registry file named "PDFCreator-1_0_0-ZeroUpdateInterval0.reg1" in order to disable rather than the expected "auto update check" mechanism1. The registry file simply contains the following:  Windows Registry Editor Version 50.00 [HKEY_LOCAL_MACHINE\SOFTWARE\PDFCreator\Program] "UpdateInterval"="0" The following values can be forced for the UpdateInterval key:  UpdateInterval=0 means "Never" UpdateInterval=1 means "Once a day" UpdateInterval=2 means "Once a week" UpdateInterval=3 means "Once a month"  Instead of using the "regedit" line and a separate "PDFCreator-1_0_0-ZeroUpdateInterval.reg" you can use this line: <install cmd='REG ADD "HKLM\SOFTWARE\PDFCreator\Program" /v "UpdateInterval" /t REG_SZ /d "0" /f' />.
Note also the call to unins000.exe before install/upgrade. This should remove any previous versions that may have been manually installed. The exit code will be 0 if a previous installation was removed, otherwise it is undefined.
<source lang="xml">
<package
id="pdfcreator-100" name="PDFCreator 1.0.01" revision="1XXX"
reboot="false"
priority="0">
<!-- User can upgrade their version we have to check the binary version
and take care of 32/64bit differences -->
<check type="logical" condition="or">
<check
condition="versionequalto"
path="%PROGRAMFILES%\PDFCreator\PDFCreator.exe"
value="1.0.0.01"
/>
<check
condition="versionequalto"
path="%PROGRAMFILES(x86)%\PDFCreator\PDFCreator.exe"
value="1.0.0.01"
/>
</check>
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\PDFCreator\unins000.exe" "%PROGRAMFILES%\PDFCreator\unins000.exe" /VERYSILENT"' >
<exit code="any" reboot="false" /> <!-- 0 = previous installation successfully removed. undefined = no previous installation -->
</install>
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\PDFCreator\unins000.exe" "%PROGRAMFILES(x86)%\PDFCreator\unins000.exe" /VERYSILENT"' >
<exit code="any" reboot="false" /> <!-- 0 = previous installation successfully removed. undefined = no previous installation -->
</install>
<install cmd='%SOFTWARE%\PDFCreator\PDFCreator-1_0_0_setup1_0_1_setup.exe /LOADINF="%SOFTWARE%\PDFCreator\PDFCreator-1_0_01_0_1.inf" /VERYSILENT /NORESTART /SP-' />
<install cmd='REG ADD "HKLM\SOFTWARE\PDFCreator\Program" /v "UpdateInterval" /t REG_SZ /d "0" /f' />
 
<upgrade cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\PDFCreator\unins000.exe" "%PROGRAMFILES%\PDFCreator\unins000.exe" /VERYSILENT"' >
<exit code="any" reboot="false" /> <!-- 0 = previous installation successfully removed. undefined = no previous installation -->
</upgrade>
<upgrade cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\PDFCreator\unins000.exe" "%PROGRAMFILES(x86)%\PDFCreator\unins000.exe" /VERYSILENT"' >
<exit code="any" reboot="false" /> <!-- 0 = previous installation successfully removed. undefined = no previous installation -->
</upgrade>
<upgrade cmd='%SOFTWARE%\PDFCreator\PDFCreator-1_0_0_setup1_0_1_setup.exe /LOADINF="%SOFTWARE%\PDFCreator\PDFCreator-1_0_01_0_1.inf" /VERYSILENT /NORESTART /SP-' />
<upgrade cmd='REG ADD "HKLM\SOFTWARE\PDFCreator\Program" /v "UpdateInterval" /t REG_SZ /d "0" /f' />
 
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\PDFCreator\unins000.exe" %PROGRAMFILES%\PDFCreator\unins000.exe /VERYSILENT' />
</source>
Below you find an excerpt from 1.0.0 history.txt, while PDFForge homepage http://www.pdfforge.org/pdfcreator states "Supports Windows Vista and Windows 7". Version 1.0.1 adds a few more languages and fixes a few minor bugs. See the History.txt in the program installation directory for more details.
Version 1.0 (Mai 28th, 2010)
* Known issues No hyperlinks possible (Hyperlinks for MS Word are possible with the combination of PDF-T-Maker and PDFCreator.)
To create PDFCreator-1_0_01_0_1.inf, you can install PDFCreator manually using:
PDFCreator-1_0_0_setup1_0_1_setup.exe /saveINFSAVEINF="PDFCreator-1_0_01_0_1.inf"
To use an existing inf file: PDFCreator-1_0_1_setup.exe /LOADINF="PDFCreator-1_0_1.inf" For your convenience, here is a PDFCreator-1_0_01_0_1.inf without toolbar (Components<>browseraddon) and desktop icons(Tasks<>desktopicon,desktopicon\common,quicklaunchicon). Please change "Dir" and "Lang" entries according to your system/language:
<source lang="ini">
[Setup]
Lang=germanenglishDir=C:\ProgrammeProgram Files\PDFCreator
Group=PDFCreator
NoIcons=1
SetupType=custom
Components=program,ghostscript,!toolbar,helpfiles,helpfiles\germanenglish,languages,languages\english,languages\german
Tasks=winexplorer
Printername=PDFCreator
</source>
An additional option is to install from The commandline options for customizing the command line with in-line arguments like the one below to install without the 404 Hijacking PDFForge Toolbarinstallation are still available:
<source lang="ini">
PDFCreator-1_0_0_setup1_0_1_setup.exe /SILENT /components=\"!toolbar\" /tasks=\"!desktop_icon\" /f /norestart</source>Optionally, you may include the above mentioned INF file as an argument:<source lang="ini">PDFCreator-1_0_0_setup.exe" /SILENT /LOADINF="PDFCreator-1_0_0.inf"
</source>
 
=== Disabling Automatic Update Checking ===
 
The update interval can be controlled or disabled by two methods: importing a registry file or calling the reg command as an additional install/update action.
 
The following values can be forced for the UpdateInterval key:
 
UpdateInterval=0 means "Never"
UpdateInterval=1 means "Once a day"
UpdateInterval=2 means "Once a week"
UpdateInterval=3 means "Once a month"
 
 
The registry file simply contains the following:
 
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\PDFCreator\Program]
"UpdateInterval"="0"
 
 
Instead of importing a separate registry file you can use this line:
 
<install cmd='REG ADD "HKLM\SOFTWARE\PDFCreator\Program" /v "UpdateInterval" /t REG_SZ /d "0" /f' />
== PDFCreator 0.9.8 ==
117
edits