Muppet Hunter Posted April 30, 2010 Share Posted April 30, 2010 (edited) Updated May 5th 2011Note that at the moment this only works for English 'ENU' updates.This is now using aria2 instead messing around with wget. It uses a simpler batch which calls aria2 to parse a list of direct urls and will download in parallel (wget does it serially). If you don't want a file then just comment the file out with an octothorpe (#) and do likewise with the HF=XYZ on the next line.Get the latest stable version of aria2, currently 1.11.1 (get the file with mingw32msvc in its name)aria2Vanilla : IE6, WMP9, MSI 3.1, Win Messenger 4.7 + Common Upates + Common Bugfixesvanilla.zipRegular : IE8, WMP11, MSI 4.5, Win Messenger 5.1 + Common Upates + Common Bugfixes + IMAPI v2regular.zipExtra : Regular + Extras & Upgrades + Group Policy + WGA + Bugfixes (from Less Essential Updates) + Windows/MS/Office Updatesextra.zipInstructions1/ Extract aria2c.exe into the hfslip root directory2/ Unzip the batch and filelist from whatever file from above (ie Extra, Vanilla or Regular) into the hfslip root directory3/ Click on the batch file in Window$ Explorer (or run from the command line)4/ Follow the instructions and manually download anything that aria2 isn't capable of getting into the appropriate folder (this usually means downloading the regfiles)[until the hotfix list is updated EPA Enable (regfile) is here and latest Adobe Fla$h is here]5/ Just download the new batch each month (rarely mid-month) to keep updated (new releases will be announced here)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~When I took over TommyP's XP Update List he gave me a copy of a spreadsheet he wrote for the purpose of making the list's web page. You put the details of each hotfix in (filename, url, kb number etc) and the webpage is automagically created. I noticed when I went to download updates via my list that on the confirmation page there is a manual link to start the download. I noticed the page url had the same 'familyId=' part as the page I had clicked from. You go from microsoft.com/downloads/details.aspx?familyId= to microsoft.com/downloads/en/confirmation.aspx?familyId=Anyway, I programmed the spreadsheet to get the familyid code and make a link for the confirmation page (containing the full download link). I had used wget in the past to grab certain filetypes from various sites to save me from having to click around and I saw that it could be used to scan each page and configured to follow the link to download the hotfix. The spreadsheet outputs a batch script which does all this for each hotfix in my update list. I added a column which lets you select any update that you want to ignore, ie any file you never need (rather than any file you already have). You just write any character in the cell and the link is gone.The script will remove recent obsolete updates (from the last 3 months) and download each current update to the appropriate folder (HF, HFCABS etc). If you run the script from the hfslip root directory then any existing files should be left alone because of Wget's no_clobber setting. To make the script, just highlight cells in the M column from 'echo deleting obsolete updates' down to 'pause' (M7 to M167). Copy & paste into a text editor and save as hfpicker.bat. For the Wget config settings, in the same way copy A173 to A231 and save as wget.ini. Wget can be got here.I didn't know a massive amount about the situation with non-ENU hotfixes, eg which locale codes are used, availability for each locale etc. Eventually I found another confirmation link (without '/en/' in the middle) of the form microsoft.com/downloads/thankyou.aspx. I can't properly test this as my locale is English and it might not even work, but the thankyou link ought to autodetect your locale and supply the appropriate file. I've put two worksheets together - one for ENU called Original and one called Multilang for non-ENU. The ENU one should be a little faster because of fewer redirects.There are certain hotfixes which need a direct link (mostly to bypass validation) and I've put the ENU link for these in the C column. In the Multilang sheet these lines have been 'marked' out to prevent mixing up the different languages. If anyone posts up direct links to non-ENU versions of these updates I'll see if they can be used for the benefit of others. In the meantime you can put these links in yourself and unmark as necessary. It might be possible in future to add in language selection which could be used to select the direct links based on an entered locale. Cell A5 is intended for this, but at the moment it just changes the language string in the (spoofed) user-agent used by Wget (cell A228). I'm not at all sure how the MS site detects locale, but I have unsuccessfully tried pretending to be pt-BR using various settings (I can only download PTB updates using a browser at the moment).The spreadsheet is attached, please download and test. At least for the moment it's not intended for further redistribution or business use. Copyright TommyP and Muppet Hunter.hfpicker.ziphfpicker_ml.zip Edited May 5, 2011 by Muppet Hunter Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now