abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. armond

    armond MDL Addicted

    Jun 16, 2008
    683
    223
    30
    Yes, I think I did it one time.
    It works.
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,881
    12,548
    180
    #1062 MSMG, Mar 15, 2020
    Last edited: Mar 15, 2020
    I think you are referring about the MSI Installer Icon not being displayed for NET FX 4.8 in the List of the Installed Items in Program and Features Window.

    May be this will help you out, do these changes in NetFX48_x64.reg and NetFX48_x86.reg files

    Replace all instances of

    \\DisplayIcon.ico

    With

    \\\\DisplayIcon.ico

    Save the reg files and re-integrate the pack.

     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    WHD-W81UI v6.5

    - auto detect and install latest servicing stack update
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    #1064 abbodi1406, Mar 18, 2020
    Last edited: Jan 9, 2021
    (OP)
    # W7ESUI

    Windows 7 ESUs Standalone Installer

    Automated batch script to install/integrate Windows 7 Extended Security Updates without the need for ESU eligibility suppressor or bypass.

    Although, it's better to have the bypass anyway

    # Pros and Cons

    * Features:

    - Based on W10UI logic, and support the same targets as other Updates Installer scripts
    - Process Updates from the same one folder
    - Detect and install servicing stack update first
    - Check required stack installer version for each update
    - Skip installing non-winpe updates for boot.wim/winre.wim (IE11 and .NET 3.5.1)
    - Works with Monthly Quality Rollup, or Security Only update / IE11 cumulative update
    - Include the Telemetry disable tweaks, and the IE11 fix for W7 Embedded x64

    * Limitations:

    - The script is specifically designed to process ESU updates only.

    while it still can install regular updates, but it has no specific checks or conditions for their prerequisites

    regular updates should be installed normally, either manually or using other tools (e.g. WHD-W7UI script)

    - SHA2 support updates KB4490628 and KB4474419 are prerequisites for ESU updates,
    either install them yourself first,
    or put their msu files with ESU updates files together and the script will install them

    * See ReadMe.txt for more details

    # Credits

    - IMI Kurwica
    the 3-steps concept for processing ESU updates (stage/registry/install)

    - @komm
    assistance and tips for detecting/changing Winners registry key version

    # Download

    https://github.com/abbodi1406/WHD/raw/master/scripts/W7ESUI_0.3.zip
    https://host-a.net/f/269939-w7esui03zip

     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    WHD-W7UI will be updated soon to implement W7ESUI concept
     
  6. Awesome Brother . Thanks a lot lot :)
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    WHD-W7UI v6.5

    - Added support for extended security updates (option [X] ESUpdates, enabled by default)

    - Fixed winre.wim rebuilding
     
  8. Gladwin

    Gladwin MDL Member

    Dec 20, 2012
    215
    99
    10
    may i ask if use this script is still need the integrated Bypass ESU v5 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    No
    but you must use it always for all future ESU updates
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    W7ESUI v0.2

    - Added support to install SHA2 support updates KB4490628 and KB4474419, if they are not already installed (i.e. put their msu files next to ESU updates files)
     
  13. armond

    armond MDL Addicted

    Jun 16, 2008
    683
    223
    30
    Hello @abbodi1406,
    Hope this finds you well.
    Today I was trying to remove some MSI installer (they are like the original 2017/2019 runtime installers) user's PC.
    Installers were originally in %programdata%\Package Cache. The user removed the Package Cache folder therefore he was receiving some error messages when trying to use Program and Features in Control Panel,
    So I came across to this troubleshooter tool.
    Code:
    https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed/[code]
    And magically, it was able to remove all those MSI packages.
    But it requires lots of clicks if you have a lot of those MSI packages you want to uninstall.
    So I just thought maybe you could make this easier? Is it possible? Maybe you could use the included *.ps1 files to make such a removal script?
    Thanks.
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    #1075 abbodi1406, Apr 3, 2020
    Last edited: Apr 14, 2020
    (OP)
    # ECOI

    Offline installer script for Microsoft Edge Chromium with working Edge Update

    basically, an alternative to Enterprise MSI installers, with the ability to install any version for any channel

    ## Requirements
    * Latest untagged meta installer for Microsoft Edge Update:
    https://msedgesetup.azureedge.net/latest/MicrosoftEdgeSetup.exe

    * Latest offline installer for Microsoft Edge:
    https://32767.ga/edge/

    make sure to keep the original name for both files

    ## How To
    * Place both downloaded files above next to the script in the same folder

    [​IMG]

    * If you run EdgeChromiumInstaller.cmd without administrator privileges:
    you get the option to install Edge for current user only
    capabilities to set Edge as default browser will be missing

    * If you run EdgeChromiumInstaller.cmd as administrator:
    you get the option to install Edge for current user, or all users / system wide (except Canary channel)
    capabilities to set Edge as default browser will be available

    * for more info on languages codes see:
    https://docs.microsoft.com/en-us/deployedge/microsoft-edge-supported-languages

    * See ReadMe.txt for more details

    ## Unattended Command Line Switches
    * All switches are case-insensitive, works in any order, but must be separated with spaces

    * You can use the long form or the short form for channel and level

    * Architecture is determined based on the detected offline installer
    for Windows x64/arm64, 64-bit installer takes precedence if detected with 32-bit installer (x86)

    - language:
    Code:
    /L lang
    mandatory switch, it must be specified

    - channel:
    Code:
    /Canary
    /Dev
    /Beta
    /Stable
    /CC
    /CD
    /CB
    /CS
    if not specified, default is Stable
    if multiple switches are specified, the last one takes precedence

    - installation level:
    Code:
    /System
    /User
    /S
    /U
    if not specified, default is System (with admin privileges), or User (without admin privileges)
    if multiple switches are specified, the last one takes precedence
    Canary channel always default to User level

    * Examples:

    install Edge Canary, french language
    Code:
    EdgeChromiumInstaller.cmd /canary /l fr
    install Edge Stable, english language, system level
    Code:
    EdgeChromiumInstaller.cmd /l en
    EdgeChromiumInstaller.cmd /L en /Stable
    EdgeChromiumInstaller.cmd /L en /Stable /System
    install Edge Beta, chinese language, system level
    Code:
    EdgeChromiumInstaller.cmd /Beta /System /L zh-cn
    EdgeChromiumInstaller.cmd /l zh-cn /cb /s

    ## Download

    https://github.com/abbodi1406/WHD/raw/master/scripts/ECOI-4.zip
    https://anonymousfiles.io/7HSYUt25/

    - Tip:
    you can use this registry redirection trick to get updates for higher version/channel on lower channel
    https://forums.mydigitallife.net/posts/1582139/
     
  16. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,137
    802
    60
    Thanks for this tool ECOI, I waiting for this since long time :)
    Can you add ARM64 in the future please
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    I cannot really support something i don't have or know it's internals

    but you could help
    - does ARM64 have Enterprise MSI?
    - after you install Edge using official online installer for all users (or MSI), what path it's installed in?
    - can you check what's the registry path for EdgeUpdate?
    i.e.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate
    or
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\EdgeUpdate
    or different path?
     
  18. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,137
    802
    60
    #1078 Chibi ANUBIS, Apr 4, 2020
    Last edited: Apr 4, 2020
    No prob just ask me, I am a master of ARM64 :p

    So the Enterprise MSI for ARM64 exist : http://dl.delivery.mp.microsoft.com...a09742ef85df/MicrosoftEdgeEnterpriseARM64.msi

    Here my MicrosoftEdgeSetup.exe installation :
    [​IMG]
    [​IMG]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    13,119
    64,195
    340
    @Chibi ANUBIS

    thanks, it looks very similar to x64

    but i noticed you have old x86 Edge version
    it would be helpful if you try and install MicrosoftEdgeEnterpriseARM64.msi (after removing cuurent version), to be sure where Edge installation location and EdgeUpdate registry path
     
  20. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,137
    802
    60
    #1080 Chibi ANUBIS, Apr 4, 2020
    Last edited: Apr 4, 2020
    Ok I'm on it :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...