[SUPPORT/CHAT] s1ave77s S-M-R-T W[/O]U TOOL v.0.78.1406.2

Discussion in 'MDL Projects and Applications' started by s1ave77, Nov 23, 2014.

  1. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. LastWords

    LastWords MDL Member

    Aug 29, 2013
    103
    128
    10
    #2 LastWords, Nov 23, 2014
    Last edited by a moderator: Apr 20, 2017
    Nice work... now its missing just one feature & that is to identify "Bundled update". like KB3000850 include three updates in bundle. I comment out this in script coz output of it was something like this...

    Code:
    List of applicable items on the machine:
    KB2899509
    Bundled update: excel-x-none.cab_15.0.4667.1000
    KB2899513
    Bundled update: groove-x-none.cab_15.0.4667.1000
    KB2899510
    Bundled update: csi-x-none.cab_15.0.4667.1001
    KB3000850
    Bundled update: windows8.1-kb3000850-x64
    Bundled update: windows8.1-kb3003057-x64
    Bundled update: windows8.1-kb3014442-x64
    
    
    Code:
    '# For Each strUpdate in colUpdates.Item^(i^).BundledUpdates>>%wucheck%
    '#        Wscript.Echo "Bundled update: " ^& strUpdate>>%wucheck%
    '#    Next>>%wucheck%
    
     
  3. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    #3 s1ave77, Nov 23, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Yep, also noticed this, but afaik it shows dependencies, which might be interesting info but will cause several doubled Updates. Doesn't offer WU those nevertheless :g:?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. LastWords

    LastWords MDL Member

    Aug 29, 2013
    103
    128
    10
    WU don't show bundled updates using there names like kb3003057 butif not installed WU will show KB3000850 as required update & size will shown of 3057. So its very confusing for some as they try to reinstall 850 but system will say that its already installed & WU show it in required list......
     
  5. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    #5 s1ave77, Nov 23, 2014
    Last edited: Nov 23, 2014
    (OP)
    OK, so it would be good to get them, without doubling the main KB :g:. Will check this...

    At least WindowsUpdate.log offers links for kb3003057 and kb3014442 :good3:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    #6 s1ave77, Nov 23, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    v.0.03 Released:


    v.0.03 Added Double links cleansing step

    v.0.02 Added check for Bundled Updates

    v.0.01 initial release



    For the sakes of shortening the download process and having a links TXT file without doubles ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ColdZero

    ColdZero MDL Addicted

    Nov 9, 2009
    630
    2,877
    30
    Great guys!
    now what if a computer does not have internet?
    Idea:
    If the script does not detect internet it should ask if you want to install the current downloaded updates.
    or give a choice in a main menu to do so.
     
  9. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    v.0.04 Released:


    v.0.04
    Added Menu
    Added Offline Installer
    some cosmetic tweaking
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    v.0.05 Released:


    v.0.05
    Added several more choices (now it's possible to Exit after all Stages)
    Added a Restart Option after Update Install


    Fast release cycle will end now hopefully :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. LastWords

    LastWords MDL Member

    Aug 29, 2013
    103
    128
    10
    First its nice code & installing only required updates on system....:worthy:

    Problem with this script is powershell file .ps1 execution... To execute it execution policy need to be set & is not good idea to set it on every pc before executing this script...

    if there is no other way out then you can set policy as Unrestricted & then again set it to default.....

    And for happy ending would be nice to save text file in root having list of installed & downloaded patches....
     
  12. oldsh_t

    oldsh_t MDL Expert

    Dec 23, 2009
    1,010
    477
    60
    Is this WU Installer for Win7 and up or Win8 and up??
    I ran the 2.7 version on my Win7 yesterday and was getting different results every time I ran it. Could be just me:eek: But then I remembered that this all started in a Win8 forum.
     
  13. LastWords

    LastWords MDL Member

    Aug 29, 2013
    103
    128
    10
    #13 LastWords, Nov 24, 2014
    Last edited by a moderator: Apr 20, 2017
  14. ColdZero

    ColdZero MDL Addicted

    Nov 9, 2009
    630
    2,877
    30
    Will try this on a new laptop soon :)
    I was thinking on this with a GUI using C# version and a database in sqlite,
    but s1ave77's script is by far more transparent.
     
  15. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    #15 s1ave77, Nov 25, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    You're right, was changed for an experiment, will set the policy only for execution:

    Code:
    powershell -executionpolicy bypass -File %clean% 
    should be best option :good3:.

    Also needed to change the WU Log query a bit. So far i didn't get the links you showed, need to check this.


    Needs some little testing then v0.06 will be released. Implemented option for manually querying the update log.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    #16 s1ave77, Nov 25, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. LastWords

    LastWords MDL Member

    Aug 29, 2013
    103
    128
    10
  18. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    OK, changed the way to parse the log completely, now it works on 2 test systems, mine (ProWMC 8.1, german) and VM (Pro 8.1, english) :good3:.

    Even when querying your LOG with new version i only get one MSU link per KB number.

    Rearranged code and layout and added Input for LOG/TXT file and download pathes and an option to query WU LOG manually (single KBs or from TXT file).

    That would need access to iirc Komms Server :g:.


    Some last tests and i will release v.0.06
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,963
    19,873
    340
    @ Moderation/Administration


    Thanks for renaming and moving :good3:. Fast as always :D.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...