abbodi1406's Batch Scripts Repo

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

  1. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
  2. lenyu

    lenyu MDL Novice

    May 8, 2020
    18
    2
    0
    Thanks,

    I think I've fixed after I've copied and manually replaced these:

    c:\Windows\system32
    c:\Windows\Syswow64
    ucrtbase_clr0400.dll
    vcruntime140_clr0400.dll

    + installed
    VisualCppRedist AIO

    + manually copied WinSxs files from abbodi's net 4.8 7zip file for w8.0
    + some extra files (not sure if needed) into c:\Program Files | c:\Program Files x86 from the full w8.0 with 4.8 installation

    now I'm doing some tests with .NET based apps...
     
  3. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    sounds great, sometimes mistakes are good, you can learn from them :)
     
  4. lenyu

    lenyu MDL Novice

    May 8, 2020
    18
    2
    0
    it seems like 4,8 based apps are working now!

    BUT an older app that needs older net version isn't working anymore... not sure if only happens with just this app or something is wrong and I need to reinstall / reimport keys for older .net versions..

    @abbodi1406 do you have an installer for previous < 4.8 .net versions for w8.0 which also has a .reg file so I can manually reinstall it?

    thanks
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,665
    340
  6. lenyu

    lenyu MDL Novice

    May 8, 2020
    18
    2
    0
    #3506 lenyu, Dec 1, 2024
    Last edited: Dec 1, 2024
    thanks @abbodi1406 ,

    I currently have a problem with the apps that only need net 3.5 or 2.0, they doesn't work and doesn't show errors when I try to open the app .exe

    do you have or there is some similar .reg to fix these? or some AIO .net that I can manually install?

    is any I can try with dependency walker to see the missing files? or maybe it's just something wrong in the regisry.

    If I'm not wrong, this OS only has...

    Net Framework 2.0, 3.0, 3.5 & 4.0

    ...before I installed 4.8

    at leat TopWinPrio doesn't work anymore
     
  7. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    #3507 KleineZiege, Dec 2, 2024
    Last edited: Dec 2, 2024
    Code:
    https://dotnet.microsoft.com/en-us/download/dotnet/5.0
    https://learn.microsoft.com/de-de/d...how-to-determine-which-versions-are-installed

    Code:
    https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
    Code:
    https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework
    If you want to check the versions on your own computer, the easiest way to do this is via Control Panel>Programs>Programs and Featuresor in Settings under Apps>Installed


    https://www.vbarchiv.net/tipps/details.php?id=1515&print=1
     
  8. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,692
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    #3509 KleineZiege, Dec 2, 2024
    Last edited: Dec 2, 2024
    dll register.reg [Kontexmenue]
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Register\Command]
    @="regsvr32.exe \"%1\""
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Unregister\Command]
    @="regsvr32.exe /u \"%1\""
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\Register\Command]
    @="regsvr32.exe \"%1\""
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\Command]
    @="regsvr32.exe /u \"%1\""
    dll unregister.reg [Kontexmenue]
    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\dllfile\shell\Register]
    
    [-HKEY_CLASSES_ROOT\dllfile\shell\Unregister]
    
    [-HKEY_CLASSES_ROOT\ocxfile\shell\Register]
    
    [-HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]
    :: save two files to reg and unreg
     
  10. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    Carlos Kontrollier mal bitte *g und vielen Dank :)

    Carlos Please check *g and thank you very much :)
     
  11. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,692
    210
    The one in code boxes have en-us now, but the link still has de-de (it's redundant anyway).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
  13. tavrez

    tavrez MDL Addicted

    Sep 28, 2015
    512
    345
    30
    Hi
    Is this still working with .wim files and delta updates? I need to extract a single file from latest update
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,665
    340
    It never supported Win11 updates

    PSFX updates only include deltas, not full files
     
  15. tavrez

    tavrez MDL Addicted

    Sep 28, 2015
    512
    345
    30
    So we still don't know how to manually patch a file while we have its delta update file? Sad...
    I thought that would be like binary patching...
     
  16. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
  17. liliactr

    liliactr MDL Addicted

    Sep 3, 2009
    530
    188
    30
    #3517 liliactr, Dec 4, 2024
    Last edited: Dec 4, 2024
    When adding tr-TR (Turkish) language pack W10MUI adds internationalfeatures-Taiwan package. It should not do that. If exist it should add internationalfeatures_Turkish package or not. Can you check it. Turkey and Taiwan are different countries.

    That package is standalone
    Microsoft-Windows-InternationalFeatures-Taiwan-Package~31bf3856ad364e35~amd64~~.cab

    Should be a check like this probably.
    If the language is Taiwaneese or whatever language used in there install .cab
    else (for all other languages) do not install .cab.

    It do that because i copied all 26100.1.240331-1435.ge_release_amd64fre_CLIENT_LOF_PACKAGES_OEM.iso folder under ondemands.
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,665
    340
    #3518 abbodi1406, Dec 4, 2024
    Last edited: Dec 4, 2024
    (OP)
    Any FODs detected will be added, regardless Language
    don't include unneeded FODs

    it's just a script, not perfectly engineered program
     
  19. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,762
    7,692
    210
    uup-converter-wimlib-109f, convert-UUP.cmd, line 4186:

    Code:
    Press 0 or q to exit.
    I think you forgot an "echo" here?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Tammy_Robot

    Tammy_Robot MDL Novice

    Nov 22, 2018
    11
    4
    0
    #3520 Tammy_Robot, Dec 7, 2024
    Last edited: Dec 8, 2024
    First, hey and thanks @abbodi1406 for the great scripts.

    Does anyone know how to properly integrate a Win11 (Pro 26100) with updates (LCU, NDP, DU, etc.) so that Windows Update does not re-offer and reinstall the same LCU that I've already integrated with W10UI?

    I read your post on the NTLite forums, @abbodi1406 -- I understand the problem -- I just don't know how to fix it.

    EDIT: It seems starting from the wrong base iso (26100.1742) is an effort in futility. Starting from 26100.1 seems to have fixed the WU re-offer issue.