in reply to Capturing Win32 registry changes made by a software installation

Basic debugging, print the data after first registry read. Then print the data after you flush.

I think whats happening is that $LmRegBefore and $LmRegAfter get flushed (because they're the same).

  • Comment on Re: Capturing Win32 registry changes made by a software installation