Skip to main content
Posted in

After getting the machines installed, i found that there were a variety of Windows XP patches missing from the Unattended scripts.

Download details for Windows patches can be obtained from the Update Lists of the Windows Update Downloader (WUD) program.

TextWrangler grep patterns
Find/replace patterns used in TextWrangler to convert the WUD list to Unattended .bat script format:
Find Pattern:

\t\t<update.*publishdate="(.*)" article.*>
\t\t\t<!--(.*)-->
\t\t\t<title>(.*)</title>
\t\t\t<description>.*</description>
\t\t\t<filename>(.*)</filename>
\t\t\t<url>(.*)</url>
\t\t</update>\r

Replace Pattern:
:: \1
:: \3
:: <\2>
:: URL|ALL|\5?download|updates/winxp_cj/\4
todo\.pl "\.reboot-on 194 %Z%\\updates\\winxp_cj\\\4 /quiet /nobackup /norestart