[wpkg-users] Registry Check failing

Rainer Meier r.meier at wpkg.org
Mon Aug 2 20:56:20 CEST 2010


Hi,

On 02.08.2010 18:47, Charles Gargent wrote:
> I am using version 1.1.3-RC3
> 
> the exact path may not exist
> "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244\3e43b73803c7c394f8a6b2f0402e19c2"
> however this one should exist if installed correctly
> 
> "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244"

Unfortunately I don't have really time yet to do some trials and I am not using
registry key checking often (when, then I am checking for values). There are
some limitations in the API provided by Microsoft which might have the effect
that keys which do not have a "default value" might be detected as
"non-existent". You might try to set the default value for
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244"
to some value or check for a value within this key instead as already suggested
by Falko.

Alternatively you might use an "exec" type check and use "reg query" to check if
keys are existing.

br,
Rainer



More information about the wpkg-users mailing list