Windows 7 Offline Updates

Discussion in 'MDL Projects and Applications' started by ColdZero, Jun 12, 2010.

  1. rulman

    rulman MDL Junior Member

    Jan 25, 2012
    98
    22
    0
    @Master.Pirate;
    Sp1 include after updates.
     
  2. ColdZero

    ColdZero MDL Android 17

    Nov 9, 2009
    698
    3,169
    30
    Code posted! feel free to make it better and post your download links.
     
  3. cyberbot

    cyberbot MDL Senior Member

    Jul 30, 2011
    499
    24
    10
    thank you for the file
     
  4. spaghetti

    spaghetti MDL Novice

    Dec 27, 2010
    44
    2
    0
    Hi the front page hasn't moved in ages, is this no longer worked on?
     
  5. rulman

    rulman MDL Junior Member

    Jan 25, 2012
    98
    22
    0
    Yes, I'm updating as I can
    Friday I'll be updated
     
  6. sevenmf

    sevenmf MDL Novice

    Sep 17, 2012
    1
    0
    0
    Hey ColdZero! Awesome job with the offline updates. Do you have any links where i can download it again? It seems that mediafire link does not work anymore...thanks and keep it up!
     
  7. rulman

    rulman MDL Junior Member

    Jan 25, 2012
    98
    22
    0
    #173 rulman, Sep 18, 2012
    Last edited by a moderator: Apr 20, 2017
  8. spaghetti

    spaghetti MDL Novice

    Dec 27, 2010
    44
    2
    0
    Whats our plan for this, i'm sure lots stay with win7 for long time
     
  9. ColdZero

    ColdZero MDL Android 17

    Nov 9, 2009
    698
    3,169
    30
    Updating!, let me know if you find a broken link.
     
  10. AhrimanSefid

    AhrimanSefid MDL Junior Member

    Apr 12, 2010
    97
    0
    0
    #176 AhrimanSefid, Apr 27, 2014
    Last edited by a moderator: Apr 20, 2017
    this my code ,the problem is that the scripts cant divide and detect X86 from x64,what should i do to divide x64 and x86 in way that cod can install x 86 and x64 programs?

    Code:
    @Echo off
    IF %PROCESSOR_ARCHITECTURE% == AMD64 goto :x86
    
    IF %PROCESSOR_ARCHITEW6432% == AMD64 goto :x64
    
    :x86
    For %%# in (*86.msu) Do (
        Echo: Installing update: %%#
        Wusa "%%#" /quiet /norestart
    )
    :x64
    For %%# in (*64.msu) Do (
        Echo: Installing update: %%#
        Wusa "%%#" /quiet /norestart
    )
    Echo Windows Update finished.
    Exit
     
  11. ColdZero

    ColdZero MDL Android 17

    Nov 9, 2009
    698
    3,169
    30
    #177 ColdZero, May 17, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Should be something like this:
    Code:
    @Echo off
    IF exist "C:\Program Files (x86)" ( goto :x64 ) ELSE ( goto :x86)
    
    :x86
    Echo X86 Detected
    For %%# in (*86.msu) Do (
        Echo: Installing update: %%#
        Wusa "%%#" /quiet /norestart
    )
    Echo Windows Update finished.
    pause
    exit
    
    :x64
    Echo X64 Detected
    For %%# in (*64.msu) Do (
        Echo: Installing update: %%#
        Wusa "%%#" /quiet /norestart
    )
    Echo Windows Update finished.
    pause
    Exit
    
     
  12. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #178 Flipp3r, May 18, 2014
    Last edited by a moderator: Apr 20, 2017
    This will work:
    Code:
    @Echo off
    set msu=*86.msu
    IF %PROCESSOR_ARCHITECTURE% == AMD64 set msu=*64.msu
    For %%# in (%msu%) Do (
        Echo: Installing update: %%#
        Wusa "%%#" /quiet /norestart
    )
    Echo Windows Update finished.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. devrekli

    devrekli MDL Novice

    May 18, 2014
    7
    0
    0
    i can try now, thanks
     
  14. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...