There is no more master's mistake, he had said that he was giving error in this update, because in the kit you had putting together the .reg file. it is not? so this is missing the code in the toolkit to integrate the reg file, and just put it goes smooth, not the error of the .reg esu file
@MSMG, Every time it is executed it will set the last build in the variables. Code: for %%i in (10240,10586,14393,15063) do ( set "PackageBuild=%%i" set "PackageVersion=10.0.%%i" set "PackageServicePackBuild=0" ) Code suggestion, below. Code: :: Setting selected Source OS version, Package Build and Service Pack Build Version if "%ImageVersion%" equ "6.1.7601" ( set "SelectedSourceOS=w7" set "PackageServicePackBuild=17514" ) if "%ImageVersion%" equ "6.3.9600" ( set "SelectedSourceOS=w81" set "PackageServicePackBuild=16384" ) if "%ImageVersion:~0,-6%" equ "10.0" ( set "SelectedSourceOS=w10" if "%ImageBuild%" geq "10240" if "%ImageBuild%" leq "15063" ( set "PackageBuild=%ImageBuild%" set "PackageVersion=10.0.%ImageBuild%" set "PackageServicePackBuild=0" ) if "%ImageBuild%" equ "16299" ( set "PackageBuild=%ImageBuild%" set "PackageVersion=10.0.%ImageBuild%" set "PackageServicePackBuild=15" ) if "%ImageBuild%" geq "17134" if "%ImageBuild%" leq "17763" ( set "PackageBuild=%ImageBuild%" set "PackageVersion=10.0.%ImageBuild%" set "PackageServicePackBuild=1" ) if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "18363" ( set "PackageBuild=18362" set "PackageVersion=10.0.18362" set "PackageServicePackBuild=1" ) if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "19043" ( set "PackageBuild=19041" set "PackageVersion=10.0.19041" set "PackageServicePackBuild=1" ) if "%ImageBuild%" equ "20348" ( set "PackageBuild=20348" set "PackageVersion=10.0.20348" set "PackageServicePackBuild=0" ) ) :: Setting Package Index and Architecture if "%ImageArchitecture%" equ "x86" ( set "PackageIndex=1" set "PackageArchitecture=x86" ) if "%ImageArchitecture%" equ "x64" ( set "PackageIndex=2" set "PackageArchitecture=amd64" ) if "%ImageArchitecture%" equ "arm64" ( set "PackageIndex=3" set "PackageArchitecture=arm64" ) if "%ImageArchitecture%" equ "arm" ( set "PackageIndex=4" set "PackageArchitecture=arm" ) The PackageIndex variable can stay here too. As for intGames Indexes (I used this to optimize game integration by the multiple choice method before integrating), so I think it was plausible to keep it inside intGames at that time. Note: The IndexNo should not be reset as it will be used when saving the ISO, nor would it need to loop through the "Windows Setup Media Updates" part as well. But is there any reason to reset it? Code: set IndexNo= set "IsSourceSelected=Yes" I'm updating the Custom...
Code: in the toolkit this is if "%SelectedSourceOS%" equ "w7" ( echo.------------------------------------------------------------------------------- echo.Integrating Windows Servicing Stack Update ^(SSU^) ^(KB4490628^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4490628-%ImageArchitecture%.cab" echo.------------------------------------------------------------------------------- echo.Integrating Windows Servicing Stack Update ^(SSU^) ^(KB4592510^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4592510-%ImageArchitecture%.cab" echo.------------------------------------------------------------------------------- echo.Integrating Windows SHA-2 Code Update ^(KB4474419^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4474419-v3-%ImageArchitecture%.cab" set EsuFoundation= if "%ImageInstallationType%" equ "Client" set "EsuFoundation=windowsfoundation_31bf3856ad364e35" if "%ImageInstallationType%" equ "Embedded" set "EsuFoundation=windowsembe..dfoundation_31bf3856ad364e35" if "%ImageInstallationType:~,6%" equ "Server" set "EsuFoundation=windowsserverfoundation_31bf3856ad364e35" :: Applying Windows 7 Extended Security Update (ESU) Suppressor Patch echo. echo.------------------------------------------------------------------------------- echo.Apply Windows 7 Extended Security Update ^(ESU^) Suppressor Patch... echo.------------------------------------------------------------------------------- if "%ImageArchitecture%" equ "x86" call :ApplyImage "%W7ESU%\ESU.tpk", 1, "%InstallMount%\%%i" if "%ImageArchitecture%" equ "x64" call :ApplyImage "%W7ESU%\ESU.tpk", 2, "%InstallMount%\%%i" call :MountImageRegistry "%InstallMount%\%%i" for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\TK_COMPONENTS\DerivedData\Components" ^| findstr "%ImageArchitecture%_!EsuFoundation!"') do (set "EsuFoundation=%%a") if "%ImageArchitecture%" equ "x86" ( reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /f >nul 2>&1 reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "identity" /t REG_BINARY /d "4D6963726F736F66742D57696E646F77732D534C432D436F6D706F6E656E742D457874656E64656453656375726974795570646174657341492C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E312E373630332E32353030302C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D7838362C2076657273696F6E53636F70653D4E6F6E537853" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "S256H" /t REG_BINARY /d "343B7E8DE2FE932E2FA1DB0CDFE69BB648BEE8E834B41728F1C83A12C1766ECB" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "c^!!EsuFoundation!" /t REG_BINARY /d "" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc" /ve /t REG_SZ /d "6.1" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc\6.1" /v "6.1.7603.25000" /t REG_BINARY /d "01" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc\6.1" /ve /t REG_SZ /d "6.1.7603.25000" >nul ) if "%ImageArchitecture%" equ "x64" ( reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /f >nul 2>&1 reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "identity" /t REG_BINARY /d "4D6963726F736F66742D57696E646F77732D534C432D436F6D706F6E656E742D457874656E64656453656375726974795570646174657341492C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E312E373630332E32353030302C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D616D6436342C2076657273696F6E53636F70653D4E6F6E537853" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "S256H" /t REG_BINARY /d "45D0AE442FD92CE32EE1DDC38EA3B875EAD9A53D6A17155A10FA9D9E16BEDEB2" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "c^!!EsuFoundation!" /t REG_BINARY /d "" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /ve /t REG_SZ /d "6.1" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228\6.1" /v "6.1.7603.25000" /t REG_BINARY /d "01" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228\6.1" /ve /t REG_SZ /d "6.1.7603.25000" >nul ) call :UnMountImageRegistry echo.------------------------------------------------------------------------------- echo.Integrating Microsoft Edge Chromium Browser Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB5001027-%ImageArchitecture%.cab" call :MountImageRegistry "%InstallMount%\%%i" if "%ImageArchitecture%" equ "x86" ( del /f /q "%InstallMount%\%%i\Windows\WinSxS\Manifests\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2.manifest" > nul reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /f >nul 2>&1 reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_b26c9b4c15d241fc" /f >nul 2>&1 ) if "%ImageArchitecture%" equ "x64" ( del /f /q "%InstallMount%\%%i\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228.manifest" > nul reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /f >nul 2>&1 reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_0e8b36cfce2fb332" /f >nul 2>&1 ) call :UnMountImageRegistry ) replace like this if "%SelectedSourceOS%" equ "w7" ( echo.------------------------------------------------------------------------------- echo.Integrating Windows Servicing Stack Update ^(SSU^) ^(KB4490628^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4490628-%ImageArchitecture%.cab" echo.------------------------------------------------------------------------------- echo.Integrating Windows Servicing Stack Update ^(SSU^) ^(KB4592510^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4592510-%ImageArchitecture%.cab" echo.------------------------------------------------------------------------------- echo.Integrating Windows SHA-2 Code Update ^(KB4474419^) Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB4474419-v3-%ImageArchitecture%.cab" set EsuFoundation= if "%ImageInstallationType%" equ "Client" set "EsuFoundation=windowsfoundation_31bf3856ad364e35" if "%ImageInstallationType%" equ "Embedded" set "EsuFoundation=windowsembe..dfoundation_31bf3856ad364e35" if "%ImageInstallationType:~,6%" equ "Server" set "EsuFoundation=windowsserverfoundation_31bf3856ad364e35" :: Applying Windows 7 Extended Security Update (ESU) Suppressor Patch echo. echo.------------------------------------------------------------------------------- echo.Apply Windows 7 Extended Security Update ^(ESU^) Suppressor Patch... echo.------------------------------------------------------------------------------- if "%ImageArchitecture%" equ "x86" call :ApplyImage "%W7ESU%\ESU.tpk", 1, "%InstallMount%\%%i" if "%ImageArchitecture%" equ "x64" call :ApplyImage "%W7ESU%\ESU.tpk", 2, "%InstallMount%\%%i" call :MountImageRegistry "%InstallMount%\%%i" for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\TK_COMPONENTS\DerivedData\Components" ^| findstr "%ImageArchitecture%_!EsuFoundation!"') do (set "EsuFoundation=%%a") if "%ImageArchitecture%" equ "x86" ( reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /f >nul 2>&1 reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "identity" /t REG_BINARY /d "4D6963726F736F66742D57696E646F77732D534C432D436F6D706F6E656E742D457874656E64656453656375726974795570646174657341492C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E312E373630332E32353030302C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D7838362C2076657273696F6E53636F70653D4E6F6E537853" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "S256H" /t REG_BINARY /d "343B7E8DE2FE932E2FA1DB0CDFE69BB648BEE8E834B41728F1C83A12C1766ECB" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /v "c^!!EsuFoundation!" /t REG_BINARY /d "" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc" /ve /t REG_SZ /d "6.1" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc\6.1" /v "6.1.7603.25000" /t REG_BINARY /d "01" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_b26c9b4c15d241fc\6.1" /ve /t REG_SZ /d "6.1.7603.25000" >nul ) if "%ImageArchitecture%" equ "x64" ( reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /f >nul 2>&1 reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "identity" /t REG_BINARY /d "4D6963726F736F66742D57696E646F77732D534C432D436F6D706F6E656E742D457874656E64656453656375726974795570646174657341492C2043756C747572653D6E65757472616C2C2056657273696F6E3D362E312E373630332E32353030302C205075626C69634B6579546F6B656E3D333162663338353661643336346533352C2050726F636573736F724172636869746563747572653D616D6436342C2076657273696F6E53636F70653D4E6F6E537853" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "S256H" /t REG_BINARY /d "45D0AE442FD92CE32EE1DDC38EA3B875EAD9A53D6A17155A10FA9D9E16BEDEB2" >nul reg add "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /v "c^!!EsuFoundation!" /t REG_BINARY /d "" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /ve /t REG_SZ /d "6.1" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228\6.1" /v "6.1.7603.25000" /t REG_BINARY /d "01" >nul reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228\6.1" /ve /t REG_SZ /d "6.1.7603.25000" >nul ) call :UnMountImageRegistry echo.------------------------------------------------------------------------------- echo.Importing Edge Chromium Browser Registry Settings... echo.------------------------------------------------------------------------------- echo. echo.Mounting Image Registry... call :MountImageRegistry "%InstallMount%\%%i" echo.Importing Registry Settings to Image Registry... call :ImportRegistry2Image "%W7ESU%\ESU_%ImageArchitecture%.reg" echo.Un-Mounting Image Registry... call :UnMountImageRegistry echo. echo.------------------------------------------------------------------------------- echo.Integrating Microsoft Edge Chromium Browser Package... echo.------------------------------------------------------------------------------- call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB5001027-%ImageArchitecture%.cab" call :MountImageRegistry "%InstallMount%\%%i" if "%ImageArchitecture%" equ "x86" ( del /f /q "%InstallMount%\%%i\Windows\WinSxS\Manifests\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2.manifest" > nul reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_6eb019927ae880f2" /f >nul 2>&1 reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_b26c9b4c15d241fc" /f >nul 2>&1 ) if "%ImageArchitecture%" equ "x64" ( del /f /q "%InstallMount%\%%i\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228.manifest" > nul reg delete "HKLM\TK_COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7603.25000_none_caceb5163345f228" /f >nul 2>&1 reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_0e8b36cfce2fb332" /f >nul 2>&1 ) call :UnMountImageRegistry )
Code: result without the esu.reg file without integrating the file.esu.reg =============================================================================== MSMG ToolKit - Integrate Microsoft Edge Chromium Browser =============================================================================== ------------------------------------------------------------------------------- ####Starting Integrating Microsoft Edge Chromium Browser####################### ------------------------------------------------------------------------------- Image : Install.wim Image Index : 1 Image Architecture : x64 Image Version : 6.1.7601.17514.1 ------------------------------------------------------------------------------- ####Integrating Microsoft Edge Chromium Browser################################ ------------------------------------------------------------------------------- ===========================[Install.wim, Index : 1]============================ ------------------------------------------------------------------------------- Integrating Windows Servicing Stack Update (SSU) (KB4490628) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.17514 Processing 1 of 1 - Adding package Package_for_KB4490628~31bf3856ad364e35~amd64~ ~6.1.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows Servicing Stack Update (SSU) (KB4592510) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24383 Processing 1 of 1 - Adding package Package_for_KB4592510~31bf3856ad364e35~amd64~ ~6.1.1.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows SHA-2 Code Update (KB4474419) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24563 Processing 1 of 1 - Adding package Package_for_KB4474419~31bf3856ad364e35~amd64~ ~6.1.3.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Apply Windows 7 Extended Security Update (ESU) Suppressor Patch... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24563 Processing 1 of 1 - Adding package Package_for_KB5001027~31bf3856ad364e35~amd64~ ~6.1.1.3 [===========================95.5%======================= ] An error occurred - Package_for_KB5001027 Error: 0x80073713 Error: 14099 The specified image is no longer serviceable. Unmount the image and discard your changes. Mount the original image to try the operation again. The DISM log file can be found at C:\Users\Alberto\Downloads\Compressed\MDL\Novo s\Toolkit_v11.6\Logs\Dism.txt ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Group Policy Base Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Group Policy [en-US] Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Integrating Microsoft Edge Chromium Browser####################### ------------------------------------------------------------------------------- =============================================================================== Pressione qualquer tecla para continuar. . . Integrator the file.esu.reg =============================================================================== MSMG ToolKit - Integrate Microsoft Edge Chromium Browser =============================================================================== ------------------------------------------------------------------------------- ####Starting Integrating Microsoft Edge Chromium Browser####################### ------------------------------------------------------------------------------- Image : Install.wim Image Index : 1 Image Architecture : x64 Image Version : 6.1.7601.17514.1 ------------------------------------------------------------------------------- ####Integrating Microsoft Edge Chromium Browser################################ ------------------------------------------------------------------------------- ===========================[Install.wim, Index : 1]============================ ------------------------------------------------------------------------------- Integrating Windows Servicing Stack Update (SSU) (KB4490628) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.17514 Processing 1 of 1 - Adding package Package_for_KB4490628~31bf3856ad364e35~amd64~ ~6.1.1.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows Servicing Stack Update (SSU) (KB4592510) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24383 Processing 1 of 1 - Adding package Package_for_KB4592510~31bf3856ad364e35~amd64~ ~6.1.1.0 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Windows SHA-2 Code Update (KB4474419) Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24563 Processing 1 of 1 - Adding package Package_for_KB4474419~31bf3856ad364e35~amd64~ ~6.1.3.2 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Apply Windows 7 Extended Security Update (ESU) Suppressor Patch... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Importing Edge Chromium Browser Registry Settings... ------------------------------------------------------------------------------- Mounting Image Registry... Importing Registry Settings to Image Registry... A operação foi concluída com êxito. Un-Mounting Image Registry... ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Image Version: 6.1.7601.24563 Processing 1 of 1 - Adding package Package_for_KB5001027~31bf3856ad364e35~amd64~ ~6.1.1.3 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Group Policy Base Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- Integrating Microsoft Edge Chromium Browser Group Policy [en-US] Package... ------------------------------------------------------------------------------- Deployment Image Servicing and Management tool Version: 10.0.21382.1 Applying image [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------------------------- ####Finished Integrating Microsoft Edge Chromium Browser####################### ------------------------------------------------------------------------------- =============================================================================== Pressione qualquer tecla para continuar. . .
There is an error in Tweaks [1] Apply All Tweaks [X] Back When i select 1 it makes a bip sound and does nothing When i select X , it does not go back , i have waited for a long time and it did nothing so i had to stop command window I dont know if you have corrected it or not for fixed 11.6 that you uploaded today
Calculator loads on x86, however it always shows the number 1 when it opens even though I haven't typed anything. Calculator does not work on x64 and I see the above error.
Some replacements in SystemRestore Integration Code: ~%ImageVersion% to Code: ~%PackageVersion% there are some geq geq Code: if "%ImageBuild%" geq "19041" if "%ImageBuild%" geq "19043" to Code: if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "19043" reset ImageIndexNo when Q is selected Code: if /i "%ImageIndexNo%" equ "Q" goto :MainMenu to Code: if /i "%ImageIndexNo%" equ "Q" ( set ImageIndexNo= goto :MainMenu ) I believe the order is reversed here: from Code: :: Checking whether the Source OS architecture is not 64-bit if "%ImageArchitecture%" neq "x64" ( echo.This feature is not applicable for 32-bit Source OS... goto :Stop ) :: Getting Install Image Index Architecture for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" call :GetImageArchitecture "%InstallWim%", %%i >nul ) to Code: :: Getting Install Image Index Architecture for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" call :GetImageArchitecture "%InstallWim%", %%i >nul ) :: Checking whether the Source OS architecture is not 64-bit if "%ImageArchitecture%" neq "x64" ( echo.This feature is not applicable for 32-bit Source OS... goto :Stop )
Ok got it, now the Edge Chromium for Windows 7 is a ESU update and so it requires a reg patch to enable the integration. I just forgot to remove the ESU_x64.reg and ESU_x86.reg from Toolkit since I implemented it within the code as the values for the registry do change based on the updates integrated earlier.
because in the first example, it passes through this loose record and this error, in the second step by this loose record, and I import the ESU_.REG, and the right without error
Forgot to fix this, have fixed them now, will move the code to detect first index no at start so that it will reduce the code.
For which OS are you testing the Toolkit, here for Windows 10 it's working properly Code: =============================================================================== MSMG ToolKit - Apply Tweaks =============================================================================== ------------------------------------------------------------------------------- ####Starting Applying Tweaks################################################### ------------------------------------------------------------------------------- Image : Install.wim Image Index : 2 Image Architecture : x86 Image Version : 10.0.19041.1.0 ------------------------------------------------------------------------------- ####Applying All Tweaks######################################################## ------------------------------------------------------------------------------- ===========================[Install.wim, Index : 2]============================ Mounting Image Registry... Importing Registry Settings to Image Registry... Un-Mounting Image Registry... ------------------------------------------------------------------------------- ####Finished Applying Tweaks################################################### ------------------------------------------------------------------------------- =============================================================================== Press any key to continue . . .
Thanks made the changes and the order of last part is correct, first we need the get the architecture and then do check if it's x64. We can further reduce the code if we set the IndexNo used to get first index number in the selected list of the indexes. Code: :: Getting Install Image Index Architecture call :GetImageArchitecture "%InstallWim%", %IndexNo% >nul
I am also working on windows 10 there was that error i mentioned above in the first release but now everything is okay with fixed release thank you