<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx</link><description>29 Aug 2010 Update &amp;ndash; I must apologize to all of you who attempted to use this as originally posted. I wrote this script around two years ago and was posting it now because another MCS consultant needed. Unfortunately, while I was trying to remember</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3569560</link><pubDate>Mon, 29 Apr 2013 02:07:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3569560</guid><dc:creator>Ian Broadbent</dc:creator><description>&lt;p&gt;Thanks for the script, it&amp;#39;s much better than having to manually specify each hotfix . I found though, that the script is configured to look on the server for all available patches (I had applied a dozen or so patches to the server, some superceded others). This caused me an issue because of the same files being updated by different hotfixes as described by Mark above. I only wanted a few client hotfixes that I had in my client file-set to apply. So I just commented out the four lines below in the script &amp;nbsp;to stop it looking on the server (for the dozen or so hotfixes I had applied):&lt;/p&gt;
&lt;p&gt;&amp;#39; &amp;nbsp; &amp;nbsp;ElseIf UCase(oEnvironment.Item(&amp;quot;_SMSTSMediaType&amp;quot;)) &amp;lt;&amp;gt; UCase(&amp;quot;FullMedia&amp;quot;) then&lt;/p&gt;
&lt;p&gt;&amp;#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sHotFixFolder = oEnvironment.Item(&amp;quot;DeployRoot&amp;quot;) &amp;amp; &amp;quot;\hotfix&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bCopyFolder = True&lt;/p&gt;
&lt;p&gt;&amp;#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oLogging.CreateEntry &amp;quot;Running in ConfigMgr OSD Online, SCCM... hotfixes copied to : &amp;quot; &amp;amp; sHotFixFolder, LogTypeInfo&lt;/p&gt;
&lt;p&gt;The script then successfully applied the four hotfixes I had in the client file-set which were, for the record:&lt;/p&gt;
&lt;p&gt;KB2750782 &amp;nbsp;(Client-side update is KB2698619) - supersedes KB977384&lt;/p&gt;
&lt;p&gt;KB2659258 &amp;nbsp;Asset Intelligence roll-up&lt;/p&gt;
&lt;p&gt;KB2815223 &amp;nbsp;Fix for boot image error&lt;/p&gt;
&lt;p&gt;KB2509007 &amp;nbsp;Fix for many updates stops Task Sequence&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569560" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3516506</link><pubDate>Mon, 27 Aug 2012 17:30:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3516506</guid><dc:creator>Todd Miller</dc:creator><description>&lt;p&gt;Might as well link to the updated community WSF that puts the patches in the correct order...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://myitforum.com/cs2/blogs/matbe/archive/2011/09/16/automatically-populate-the-sccm-client-patch-property-during-osd.aspx"&gt;myitforum.com/.../automatically-populate-the-sccm-client-patch-property-during-osd.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3516506" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3421838</link><pubDate>Fri, 15 Apr 2011 10:19:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3421838</guid><dc:creator>Mark Allcock</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been using this script for a while now and I have to tell you it&amp;#39;s saved me so much aggrevation when trying to populate the PATCH property by hand. It’s very dynamic too just in case you install more hotfixes in Configuration Manager.&lt;/p&gt;
&lt;p&gt;I have, however, stumbled across a problem with the order in which the hotfixes are detected…&lt;/p&gt;
&lt;p&gt;We deploy the following hotfixes to our client systems:&lt;/p&gt;
&lt;p&gt;• KB977203&lt;/p&gt;
&lt;p&gt;• KB977384&lt;/p&gt;
&lt;p&gt;• KB978754&lt;/p&gt;
&lt;p&gt;• KB979199&lt;/p&gt;
&lt;p&gt;• KB2444668&lt;/p&gt;
&lt;p&gt;Your script populates the PATCH property in the following order because of the way Windows sorts the hotfix folder structure:&lt;/p&gt;
&lt;p&gt;KB2444668, KB977203, KB977384, KB978754, KB979199&lt;/p&gt;
&lt;p&gt;CCMSETUP fails to install with an error 1635 and ‘Client.msi.Log’ reports “ERROR: Attempting to install downlevel patch for feature SmsInventory. Rejecting patch and aborting install.”.&lt;/p&gt;
&lt;p&gt;Clearly, two hotfixes replace the same SCCM component and the older one (KB979199, I assume) cannot overwrite the newer (KB2444668, I assume). &lt;/p&gt;
&lt;p&gt;If I specify the PATCH property in the following order, it works!&lt;/p&gt;
&lt;p&gt;KB977203, KB977384, KB978754, KB979199, KB2444668&lt;/p&gt;
&lt;p&gt;I know you are limited in your available time, so a colleague and I are going to edit the script to present a logical order to the PATCH property so that recent KB2xxxxxx (7 digit) hotfixes appear nearer the end in their order of release. I will get back to you with results if successful.&lt;/p&gt;
&lt;p&gt;Mark Allcock&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3421838" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3389274</link><pubDate>Tue, 22 Feb 2011 21:48:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3389274</guid><dc:creator>Michael Murgolo</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;You would need to add logic to the script to either detect the conditions when this happens (i.e. partition configuration, etc.) or set a task sequence variable on refresh and then change the drive letter in the PATCH property or move the files so that it&amp;#39;s correct when the OS is up and running.&lt;/p&gt;
&lt;p&gt;Unfortunately, I don&amp;#39;t have the time to solve this problem now. &amp;nbsp;If you find a solution that works for you, post a comment back here.&lt;/p&gt;
&lt;p&gt;Michael Murgolo&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3389274" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3389125</link><pubDate>Tue, 22 Feb 2011 13:53:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3389125</guid><dc:creator>Markus Lindgren</dc:creator><description>&lt;p&gt;This works fine for me when running in New Computer scenario (F12 to PXE boot and run task sequence). When doing a Refresh scenario and starting the task sequence from an OS, the patches are downloaded to the d: drive and the PATCH property points to d: path. The SCCM client installation task sequence step reboots the computer automatically and installs the SCCM client from c: drive. The d: path where the PATCH property points to is not found. Any suggestions on how to fix this?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3389125" width="1" height="1"&gt;</description></item><item><title>System Center Configuration Manager (ConfigMgr) – Automatically Populating The PATCH Property</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3439463</link><pubDate>Sun, 29 Aug 2010 03:40:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3439463</guid><dc:creator>Chris Nackers Blog</dc:creator><description>&lt;p&gt;I had previously blogged about a script created by Michael Murgolo over on TechNet . I wanted to now&lt;/p&gt;
&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3439463" width="1" height="1"&gt;</description></item><item><title>Configuration Manager (ConfigMgr) – Automatically Populating The PATCH Property</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3439464</link><pubDate>Fri, 27 Aug 2010 19:41:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3439464</guid><dc:creator>Chris Nackers Blog</dc:creator><description>&lt;p&gt;I had previously blogged about a script created by Michael Murgolo over on TechNet . I wanted to now&lt;/p&gt;
&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3439464" width="1" height="1"&gt;</description></item><item><title>Automatically Populate the PATCH Property for the ConfigMgr 2007 Client Installation</title><link>http://blogs.technet.com/b/deploymentguys/archive/2010/08/13/automatically-populate-the-patch-property-for-the-configmgr-2007-client-installation.aspx#3439466</link><pubDate>Tue, 24 Aug 2010 23:23:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3439466</guid><dc:creator>Chris Nackers Blog</dc:creator><description>&lt;p&gt;Another great post by Michael Murgolo over on TechNet for automating the ConfigMgr client PATCH property&lt;/p&gt;
&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3439466" width="1" height="1"&gt;</description></item></channel></rss>