Changes

Jump to: navigation, search

PDFCreator

5,939 bytes added, 14:46, 6 June 2010
Upgrade to version 1.0.0
== PDFCreator 1.0.0 ==
 
 
[http://sourceforge.net/projects/pdfcreator/ PDFCreator] 1.0.0 is not available as an MSI package. Customization has to be prepared via commandline arguments to the installer, or via the SAVEINF method; both of them allow for example the installation without toolbar and desktop icon.
 
Haven't checked if version 1.0.0 upgrades cleanly from previous versoins (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 call to unins000.exe before install/upgrade. This should solve the "package already installed" problem mentioned above. This also serves to remove any previous versions that may have been manually installed.
 
Install/Upgrade also merges in the registry tree HKEY_LOCAL_MACHINE a registry file named "PDFCreator-1_0_0-ZeroUpdateInterval.reg" in order to disable the "auto update check" mechanism. The registry file simply contains the following:
 
Windows Registry Editor Version 5.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' />
 
 
<source lang="xml">
<package
id="pdfcreator-100"
name="PDFCreator 1.0.0"
revision="1"
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
type="file"
condition="versionequalto"
path="%PROGRAMFILES%\PDFCreator\PDFCreator.exe"
value="1.0.0.0"
/>
<check
type="file"
condition="versionequalto"
path="%PROGRAMFILES(x86)%\PDFCreator\PDFCreator.exe"
value="1.0.0.0"
/>
</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_setup.exe /LOADINF="%SOFTWARE%\PDFCreator\PDFCreator-1_0_0.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_setup.exe /LOADINF="%SOFTWARE%\PDFCreator\PDFCreator-1_0_0.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' />
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\PDFCreator\unins000.exe" %PROGRAMFILES(x86)%\PDFCreator\unins000.exe /VERYSILENT' />
 
</package>
</source>
 
Below you find an excerpt from 1.0.0 history.txt.
 
Version 1.0 (Mai 28th, 2010)
-------------------------------------------------------------------------------
* Improvements: Uses GPL-Ghostscript 8.71 now.
* Added the feature to set the color\grey compression factor manually to get the best realtion between file size and quality of pdf files
* Improved print after saving (color printing, set maximum resolution)
* Improved the signing feature (set signature on page is freely definable)
* PDFCreator can handle signing and encrypting in one step
* Improved the setup: 64bit printer driver installable on a 32bit system
* Added a better dialog for the certificate password
* Added the font dialog to the options dialog again
* Improved the PDFCreator class (check for an existing printer in cPrintPrinterTestpage, check for an existing file in cPrintfile)
* Bug Fixes: Fixed a crashing options dialog
* Fixed the "481 - invalid picture" bug
* Fixed a bug reading the options on Win9xMe systems
* Fixed a bug if the user uses Thai calendar format
* Fixed a bug using different Ghostscript versions
* Fixed some minor bugs.
* Known issues No hyperlinks possible (Hyperlinks for MS Word are possible with the combination of PDF-T-Maker and PDFCreator.)
 
 
== PDFCreator 0.9.8 ==
152
edits

Navigation menu