Jump to content


Win7x86 Issues (likely x64 as well)


1 reply to this topic

#1 Geekster

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 21 April 2010 - 02:15 PM

I've started working with the Win7x86 and noticed that I was getting patches flagged as installed that we're not. After some investigating I've discovered that the detection used for the patches is the problem. Most of the patches are keyed in on the .cat files buried in the Windows directory tree. If a patch has been auto-downloaded via WAU it will create those .cat files but it doesn't mean the patch is installed.

After some digging around I think I have a solution. In the registry there are entries under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages for the patches that seem to match the various .cat files created. These entries are also created by WAU when it downloads the patch. However, some keys appear to be generated only at the time the patch is installed:

InstallUser
InstallTimeHigh
InstallTimeLow

I've tried to key detection off these keys but they do not have a constant value. Is there a way to detect the existence of a key in AutoPatcher? The value is not important I just need to see that the key was created to know if the patch was installed.

Thanks

#2 dkdk_it

    Release Manager God

  • Release Managers
  • PipPipPipPipPip
  • 517 posts
  • Gender:Male
  • Location:Italy

Posted 22 April 2010 - 07:18 AM

Hello Geekster,
tonight I'll test a solution for this issue. In the meantime you can try to add a registry detection to some modules.

The following sample is for an XP modules:

[DetectionRegistry]
RegistryPath=HKLM\SOFTWARE\Microsoft\Updates\Windows XP\SP4\KB951066
KeyName=Type
KeyValue=Update
Bye and thank you.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users