Yeah, i scewed that one a bit . Cause it was very dark guide doggy couldn't find any trees in the forrest he was walking through ... so he needed a break. Error corrected version is on the way . EDIT: Testing is a slight PITA . Like DISM log and others WindowsUpdatelog, due to being constantly updated when querying WU, will 'refresh' at a certain point and 'loose' the links. In that moment i have to revert to last Snapshot. If you query WU the first time after a while it can last annoyingly long till it responds (or errors sometimes)...........
v.0.10 Released: Changelog v.0.10 Fixed the mess created in last version Added option to save current WU Log Added option to directly install all Updates from folder without checks Implemented checks for available Updates in Folder, script gives message and goes back to menu ......
under online mode it tried to install updates which were not in required update lists.. Code: INSTALLING 3 FOUND UPDATES ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Installing: Windows8.1-X-KB2966804-x64 : 1 of 3 Installing: windows8.1-kb2966870-x64_9a1e349f1003a04dbf3ac95b59c23f4e2de3b20b : 2 of 3 Installing: windows8.1-kb3011780-x64_ae7432399d33daab7fda055af111d8bc1ae14e3b : 3 of 3 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Which obeviously failed in background coz they are already installed... So its installing all found updates in folder & not installing only required updates, which is purpose of this script when online.... Please recheck it....
OK, got it mostly. All starts with that stupid Office Updates, for the record: OFFICE is a major PITA!!! With Windows only, i do not have any of those outputs . Need to test on a VM with Office to check that. @ LastWords Would be nice if you could check on a system without Office ...
OK ... could re-produce the mess. All started when search for Office (and other) updates is activated in WU Settings. Error doesn't appear if option is disabled or no Office is installed. After dis-liking Office for the mess it can create on a system, now i officialy hate this damned crappy bugger . After a short shopping tour i will take a look into that madness ... there must be a way to get this done, it's too cool .
v.0.11 Released: Changelog v.0.11 Changed the way to parse WU offer output for Bundled Updates to avoid those nasty additional offers and Office Delta components NOTE: the tool although it offers Office Updates can't neither detect nor install them so far, as it's looking for MSU Tool now checks WU, checks Folder (if any), offers Missing (if any), offers Install List (if any) then proceeds with Install in case no updates found in folder, it offers option to download Added double cleansing to Offline Install Several Layout additions/improvements LOG: As the changelog states, it had been the additional Office Bundled Updates causing the mess. Script now skips them. In my tests it gathered all lists correctly. So far i left the downloadlist beside, as it's a minor problem atm. Tool didn't offer any update to install when either WU shows no offer or no updates for install available, even when confronted with my complete update collection for the checks. INFO REQUEST: As i didn't bother with Office Updates for quite a while, i was surprised to see that Alphas Downloader only offers exe files, so far i only was dealingwith MSPs . How to handle those EXE files silently?
s1ave77 Very clean & fast script this time & working perfect... Just one miner bug or could be deciding factor during install... there were three msu files in folder & it showed correct name of two but one as X... Code: Updates found in Folder: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ X kb2966870 kb3011780 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Press any key to continue . . . And file name of that is Windows8.1-X-KB2966804-x64.msu .... so it picked that x, could be a problem with little change in name. Second, option L still taking loner & terminate is only option..
That's how MS distribute Office updates in Download Center and hotfixes aren't available through WU/Catalog both MSP and EXE updates can be installed with the same parameter: Code: File /quiet /norestart and you can extract MSP(s) out of the EXE: Code: File.exe /extract:"OutDir" /quiet OutDir doesn't have to exist, it will be created
Damn.. And I wrote something similar (but different) just 3 months ago for a company .... but nevermind. But you should do more in structure and work more with call commands. Also there are some things that could be done less redundant. I'm not sure if you aware that you can do use call with arguments.
Good to hear it works now (mostly) ... means it's on the right way . Looks like file was re-named . Never got any Update with such name so far. All Updates i have follow the same naming sheme. OK, thanks, so nothing changed here ... will check implementation. Yeah, i know, but last time i tried to use calls, i broke this script (due to other errors mostly), so i did it the old-school way to get it running. Script is still work in progress... As always ... several ways to skin the cat .
I will take a deeper look on the script in the next days. - Maybe I can do some improvment in mine. If I'm in the mood I may will change some things on yours (trim down, but more nerdy (difficult to read)).