[wpkg-users] Registry Check failing

Charles Gargent charlesgargent at gmail.com
Mon Aug 2 14:15:15 CEST 2010


Hi,

I have a registry check as follows:

<check type="registry" condition="exists"
path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244"
/>

The error message I get in the logs:

Neither the registry path
'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244'
nor its expanded value of
'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244'
exist: the check failed

I exported the registry to make sure I had the exact string below:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\AA5D9C68C00F12943B2F6CA09FE28244]
"3e43b73803c7c394f8a6b2f0402e19c2"=""
"b25099274a207264182f8181add555d0"=""

So the string is definitely there. I cant figure out what is going
wrong, any help much appreciated.

Thanks

The background to the the reason for this check is that certain
packages have different package names such as the one above which is
the Microsoft C++ Redistributables, so Instead I am searching for the
upgrade string which is the same in each package.



More information about the wpkg-users mailing list