Changes
no edit summary
<li>Watch out to really use the /NORESTART parameter in the install. If you don't this will happen: the installer will restart the machine, but wpkg doesn't have time to make a note about the successful installation, on reboot wpkg will try and reinstall the package, but skip because it finds "PDFCreator 0.8.0" in the uninstall folder. PDFCreator has been installed, but the user will always be nagged by the wpkg notification after a reboot.</li>
<li>Using the environment variable %ProgramFiles% keeps your uninstall independent of the windows language version. Watch out to also remove the Path="c:\somepath" entry in the inf-file if you want a truly language-independent installation.</li>
<li>There is also a patch for this version of PDFCreator. Because it produces the same uninstall entry as this version, i.e. "PDFCreator 0.8.0" I have not yet found a way to successfully add it as an additional package. - Now I have, see next section.</li>
</ul>
== Installing 0.8.0-patch2 ==
Create the inf file with the new version in the same way as above. Create the package:
<pre>
<package
id="pdfcreator-0.8.0-patch2"
name="PDF Creator 0.8.0"
revision="1"
reboot="true"
execute="once"
priority="999">
<install cmd='\\server\wpkg\ ... (nearly same as above) ...' />
<remove cmd='"%ProgramFiles%\PDFCreator\unins000.exe" /VERYSILENT' />
</package>
</pre>
Main difference: I've set down the priority, so 0.8.0 is always installed before patch2 and I've also removed the install check. But it doesn't stop here. Next, create a profile:
<pre>
<profile id="pdfcreator">
<package package-id="pdfcreator-0.8.0" />
<package package-id="pdfcreator-0.8.0-patch2" />
</profile>
</pre>
Now, whenever you want to include pdfcreator, you can just include the "software profile" in any other profiles. Having both versions in a profile and using the priority settings ensures that 0.8.0 is always installed before patch2.
[[category:Silent Installers|PDFCreator]]