Missing this: goto :MountSourceIndexes Then put the label in that part: :: Second part of the script :: Mounting installation image :MountSourceIndexes The changed code, below: Code: for /f "delims=" %%# in ('dir /b /os %Addons%\*.WA') do (set "addon=%%#"&set "dest=Temp\%%~n#"&call :prepare) goto :MountSourceIndexes :prepare if exist "%Addons%\%dest%" ( if exist "%Addons%\%dest%\Registry\NSudoC.exe" (exit /b) else (rd /s /q "%Addons%\%dest%") ) set /a _c+=1 echo %_c%/%_t%: %Addons%\Addons\%addon% echo. "%Tools%\7z.exe" x "%Addons%\%addon%" -o"%Addons%\%dest%" * -r >nul if not exist "%Addons%\%dest%\Tasks.txt" rd /s /q "%Addons%\%dest%"&exit /b md "%Addons%\%dest%\Registry\" copy /y "%Tools%\NSudo.exe" "%Addons%\%dest%\Registry\" >nul copy /y "%Tools%\Integrator.cmd" "%Addons%\%dest%\" >nul copy /y "%Tools%\Reg2Wim.cmd" "%Addons%\%dest%\" >nul pushd "%Addons%\%dest%\" findstr /i ".dll" Tasks.txt >nul && for /f "tokens=1,2 delims=:" %%a in ('findstr /i ".dll" Tasks.txt') do ( if not exist "Files\%%b" md "Files\%%b" move /y "%%a" "Files\%%b\" >nul ) for /f "tokens=1,2 delims=:" %%a in ('findstr /i ":" Tasks.txt ^|findstr /i /v ".dll"') do ( if not exist "Files\%%b" md "Files\%%b" move /y "%%a" "Files\%%b\" >nul ) for /f "delims=" %%# in ('dir /b *.reg') do call Reg2Wim.cmd %%# move /y *.reg Registry\ >nul del /f /q Reg2Wim.cmd Tasks.txt popd exit /b :: Second part of the script :: Mounting installation image :MountSourceIndexes rem SET ImageCount=1 FOR /F "tokens=2 delims=: " %%i in ('%DISM% /Get-ImageInfo /ImageFile:"%WIM%" ^| findstr /i Index') do (set ImageCount=%%i) FOR /L %%i in (1 1 %ImageCount%) do ( IF EXIST "%InstallMount%\%%i\" rd /q /s "%InstallMount%\%%i" IF NOT EXIST "%InstallMount%\%%i\" mkdir "%InstallMount%\%%i" %DISM% /Get-ImageInfo /ImageFile:"%WIM%" /index:%%i %DISM% /Mount-Image /ImageFile:"%WIM%" /index:%%i /MountDir:"%InstallMount%\%%i" ) Retain the exit /b where it was before. When the last "call : prepare" is executed, it will goto to next line and will go through "prepare label" again, without any setted variable and will exit the script. So, there is needed one line to indicate what to do. goto :anywhereinthescript
Where can I download the EN-US language pack for Windows 10 21H2 to integrate it with the MSMG Toolkit Could someone provide a link to the language pack?