Created
November 4, 2025 15:12
-
-
Save Orangera1n/95e799e8800ad9327bf6672c1973c903 to your computer and use it in GitHub Desktop.
Windows AMD64 ISO generator script (using UUPMediaConverter)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: Check if the build number was provided | |
| if "%~1"=="" ( | |
| echo Usage: %~nx0 BUILD_NUMBER | |
| echo Example: %~nx0 22635 | |
| exit /b 1 | |
| ) | |
| :: Set the build number from the first argument | |
| set "BUILD=%~1" | |
| echo %BUILD% | |
| :: Define the list of languages | |
| set LANGUAGES=ar-sa bg-bg cs-cz da-dk de-de el-gr en-gb en-us es-es es-mx et-ee fi-fi fr-ca fr-fr he-il hr-hr hu-hu it-it ja-jp ko-kr lt-lt lv-lv nb-no nl-nl pl-pl pt-br pt-pt ro-ro ru-ru sk-sk sl-si sr-latn-rs sv-se th-th tr-tr uk-ua zh-cn zh-tw | |
| :: Loop through each language | |
| for %%L in (%LANGUAGES%) do ( | |
| echo Processing language: %%L | |
| echo Build is %BUILD% | |
| mkdir %BUILD%_ISOS | |
| ::echo UUPMediaConverter -u %BUILD%_amd64fre -t T:\ -i %BUILD%.RS_PRERELEASE_CLIENTMULTI_X64FRE_%%L.iso -l %%L | |
| UUPMediaConverter -u %BUILD%_amd64fre -t T:\ -i %BUILD%_ISOS\%BUILD%.RS_PRERELEASE_CLIENTMULTI_OEMRET_X64FRE_%%L.iso -l %%L | |
| ) | |
| endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment