Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation
From the archive (2010). Written for the tools of the time, so some details may be out of date.
Another great post by Michael Murgolo over on TechNet for automating the ConfigMgr client PATCH property instead of hard coding the path and packageID.
Read more here.