1. kandido

    kandido MDL Junior Member

    Jun 14, 2015
    61
    37
    0
    #18461 kandido, Feb 19, 2021
    Last edited: Feb 19, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    #18462 Bira, Feb 19, 2021
    Last edited: Feb 19, 2021
    [QUOTE = "ultimate_live, post: 1645599, member: 209509"] Ainda não descobri, o que está acontecendo. Todos os índices montados (14) boot.wim, winre.wim e install.wim. Dart integrado para boot.wim e winre.wim. KB4586876 integrado em todos os índices. Limpe a pasta de origem, aplicada e salva. Depois de terminar, o tamanho de install.wim ainda aumentou de 4,14 GB para 10,80 GB.
    Use a versão do Toolkit 11.2. Versão do Windows 19042.844.

    Abri install.wim usando 7-Zip, mas não encontrei nenhuma pasta (DELETE) dentro. Onde esta pasta está localizada?
    Qual opção eu uso para refazer a imagem?

    Como posso consertar, pois o tamanho não é normal.

    Obrigado novamente por qualquer ajuda. [/ QUOTE]
     
  3. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    Thank you my partner, but my script is not integrated into the toolkit, my script is "0 or 1" but you made me a good help, where I will look your commands integrating to mine stay calm, but I see that you made me a nice work lol thank you, and towards the programming knowledge lol ....
     
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #18464 inTerActionVRI, Feb 19, 2021
    Last edited: Feb 19, 2021
    You will need to replace all %DISM% with DISM.
    Change the file path "install.wim" for your file path.
    from
    set "InstallWim=%DVD%\sources\install.wim"
    to
    set "InstallWim=%~dp0DVD\sources\install.wim"

    And, change the folder path: "Mount" to the path of your folder.
    from
    set "InstallMount=%Mount%\Install"
    to
    set "InstallMount=%~dp0Mount\Install"

    note: consider %~dp0 as the location where the script is being executed. Place only the subfolders from there.

    The rest of the variables that I left set at the beginning of the Script are only used to be able to use the Toolkit structure. As you will not use this structure, basically the file will look like the one I will attach below. Then you modify what I said you need to point to your file and to your path.

    Edit: Excuse me. I forgot to replace %DISM% with DISM.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    #18465 Bira, Feb 19, 2021
    Last edited: Feb 19, 2021
    [QUOTE = "RaiyvaN, postagem: 1645814, membro: 94585"] Você deve substituir todo o% DISM% pelo DISM.
    Altere o caminho do arquivo "install.wim" para o caminho do arquivo.
    a partir de
    definir "InstallWim =% DVD% \ sources \ install.wim"
    pára
    definir "InstallWim =% ~ dp0DVD \ sources \ install.wim"

    E, mude o caminho da pasta: "Monte" para o caminho da sua pasta.
    a partir de
    definir "InstallMount =% Mount% \ Install"
    pára
    definir "InstallMount =% ~ dp0Mount \ Install"

    nota: considere% ~ dp0 como o local onde o script está sendo considerado. Coloque apenas como subpastas a partir daí.

    O resto das variáveis que deixei definidas no início do Script são usadas apenas para poder usar uma estrutura do Toolkit. Como você não usará essa estrutura, basicamente o arquivo semelhante ao que será anexado a seguir. Então você modifica o que eu disse que você precisa para apontar para o seu arquivo e para o seu caminho.

    Edit: Com licença. Esqueci de substituir% DISM% por DISM. [/ CITAR]

    Ok beauty, when I do the image in direct I put already just above Cd /d "%~dp0" to the directory or pushd %~dp0 this already understand, but there qndo pops up the information "Time Zone Key Name | " Pacific Standard Time" and "Time Zone DLT |" Pacific Daylight Time" what is the Time Zone of this information? "Pacific Standard Time" or "Pacific Daylight Time" and in Locale input would be "Locale |" 00000409" or this "Input Locale "0x110409"" to apply in the image?ahh this appeared all the information of an image without language in "en-US", if I integrate one or two languages in this image removing the "en-US" recognized when I put the variable of InputLocale and Timezone or not of the languages I integrated ?
     

    Attached Files:

  6. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    I did the test in one and more of a language installed in an image, but how i wanted to activate the timezone and input locale in all if it will only be activated in the main that you will use is not it? error my but thanks for the commands RayvaN was this same command I wanted, so I will modify in the script a command so in timezone and inputlocale "if %Language%%j equ 1 ( grateful ...
     
  7. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    #18467 Bira, Feb 20, 2021
    Last edited: Feb 20, 2021
    Well this is the result of changing en-US to pt-BR, was added the language pt-BR and removed the en-US, he checked and gave a pause to see if that was what was to do, but he was with the time zone and input locale "en-US" and wanted to change to pt-BR, sera da pra do it ? I add other languages, removing the one in the image? applying the language settings by installing automatically? how can I do this ? to be applied with the variables "%_Dism% /Image:"%~1" /Set-InputLocale:%InpLocale%" and "%_Dism% /Image:"%~1" /Set-TimeZone:%DefaultTimeZone%"
     

    Attached Files:

  8. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    843
    1,541
    30
    #18468 haz367, Feb 20, 2021
    Last edited: Feb 22, 2021
    removed...my bad.
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Do copy the below contents to the text file with extension .reg (MRT.reg) and copy the file <D:\Work\ToolKit\Custom\Registry\w10\x64> folder and then use the Import Custom Registry setting from file in customize menu.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT]
    "GUID"="0AAB5944-A7BC-4D17-9A3A-2FAB07286EE9"
    
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    It's bit difficult doing with Batch script since it involves reading dependency info from appx xml and also you can't get the license xml for many 3rd apps.

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Will be updating.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Try skipping dart integration to winre.wim and see what's the final install.wim size.

    If you don't find [DELETE] folder when you open the install.wim with 7-zip the the image is optimized.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Will check.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The next version will support Windows 21H1 10.0.19043.844 except component removal since the .844 CU is still a preview update and I had stopped updating component removal for preview updates, now only patch Tuesday updates are supported for component removal.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Do wait, today or tomorrow will be releasing an update to support

    Windows 10 Client v1809 (v10.0.17763.1757)
    Windows 10 Client v1903/v1909 (v10.0.18362.1379/v10.0.18363.1379)
    Windows 10 Client v2004/v20H2 (v10.0.19041.804/v10.0.19042.804)

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    From next version the component removal will be having these changes

    - Have renamed the component name WebpImageExtensions to WebpImageExtension

    - Have split the Windows Store App into Windows Store (Back-end Client) and Windows Store App like it is in LTSC so that it allows the user to create a perfect LTSC like build without any apps and also supports updating or installing DCH drivers.

    - Have split the ServicesStoreEngagement, StorePurchaseApp from the Windows Store App but they are dependent on Windows Store App.

    - Have split the Xbox App into Xbox (Back-end Client) and Xbox App like it is in LTSC.

    - Revised Component dependency and also Component names.
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Windows 10 v21H1 (10.0.19043) WHD Updates integration

    Code:
    ===============================================================================
      MSMG ToolKit - Integrate WHD General Updates to Windows Setup Install Image
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ######################to Windows Setup Install Image###########################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 8
        Image Architecture       : x64
        Image Version            : 10.0.19041.1.0
    
    -------------------------------------------------------------------------------
    ####Processing WHD General Updates Packages####################################
    -------------------------------------------------------------------------------
    
    Creating WHD General Updates Temporary folder...
    
    Extracting .CAB Package files to Temporary folder...
    
    Finished Extracting .CAB Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 8]============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Servicing Stack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.841.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows Experience Feature Pack Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_WindowsExperienceFeaturePack~31bf3856ad364e35~amd64~~19041.666.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Intel CPU Microcode Dynamic Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4589212~31bf3856ad364e35~amd64~~10.0.2.4
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Adobe Flash Player Security Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4580325~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Remove Adobe Flash Player Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4577586~31bf3856ad364e35~amd64~~10.0.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.844.1.7
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft .NET Framework 3.5 Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.844
    
    Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft .NET Framework 3.5 [en-US] Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.844
    
    Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft .NET 3.5/4.x Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.844
    
    Processing 1 of 1 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4330.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft Edge Chromium Browser Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.844
    
    Processing 1 of 1 - Adding package Package_for_KB4584642~31bf3856ad364e35~amd64~~10.0.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 v21H1 Feature Enablement Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19041.844
    
    Processing 1 of 1 - Adding package Package_for_KB5000736~31bf3856ad364e35~amd64~~10.0.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Re-Integrating Windows 10 Cumulative Update Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19043.844
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.844.1.7
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Generating WHD General Updates Integration Log File...
    -------------------------------------------------------------------------------
    
    Writing WHD General Updates Integration Log.
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up WHD General Updates Temporary folder.
    
    -------------------------------------------------------------------------------
    ##################Finished Integrating WHD General Updates#####################
    ######################to Windows Setup Install Image###########################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
    
     
  18. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,612
    270
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...