117
edits
Changes
→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.
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">
<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>
<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 ==