PDFCreator auto update, removes old version but fails installing new
On 1/3 of my clients I am seeing a pattern with the auto update for PDFCreator:
The old version is removed, but the installation of the new version fails with error code 1. The log file will state that a reboot is needed, but that won't help.
It seems that there are some orphaned reg keys are left behind from the uninstall that is preventing the installation of the new version.
Removing the keys:
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v "PDFCreatorRestart" /f
REG DELETE "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce" /v "PDFCreatorRestart" /f
Will help reduce the amount of errors. Reduce, because still some clients really need a restart (Error code -355)
As reboot is out of the question for an auto update package, the only solution is to add an extra Auto deployment package that installs PDFcreator on all machines that is missing the software.
So maybe a good idea to create an extra step in the package to delete the keys?
And if somebody has an suggestion for the other error I am more then happy to try it out.