tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

tiny11 creator 22621.525.bat shuts down your computer after copying the mounterd ISO

Open ruslankiskinov opened this issue 2 years ago • 5 comments

I used the tiny11 creator 22621.525.bat to make the build using the ISO from the Microsoft website Win11_22H2_English_x64v1.iso which is 22621.525 build.

The machine SHUTS DOWN after the script copies the mounted ISO's contents??? To be able to continue with the build process I have to edit the bat file to start the process from line 32 (echo Getting image information:) After that, the script created the desired ISO.

ruslankiskinov avatar Mar 02 '23 10:03 ruslankiskinov

Well that's certainly weird...

ntdevlabs avatar Mar 03 '23 18:03 ntdevlabs

I found the problem...

line 20 . . . if not exist "%DriveLetter%\sources\install.wim" (

it should be install.esd

Katerang31 avatar Mar 04 '23 17:03 Katerang31

and

line 33 . . . dism /Get-WimInfo /wimfile:c:\tiny11\sources\install.wim

it should be install.esd

Katerang31 avatar Mar 04 '23 17:03 Katerang31

Replace every install.wim to install.esd ( some install2.esd )

line 20 33 40 181 182 183

Katerang31 avatar Mar 04 '23 18:03 Katerang31

I would replace install.esd mentions for a variable %TINY11INSTALL_IMAGE% And near the start of the script:

if exist x:\sources\install.wim (
    set TINY11INSTALL_IMAGE=x:\sources\install.wim
) else (
    set TINY11INSTALL_IMAGE=x:\sources\install.esd
)

panreyes avatar Mar 05 '23 10:03 panreyes