system,Log,On
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,variables
set,%ProgramFolder%,MultiWim
set,%Target_Dir%,D:\LSP-1110\Target\MultiWim
set,%Projectname2%,MultiWim
set,%ProgramFolder2%,Temp
set,%ISOTemp%,D:\LSP-1110\Target\Temp
set,%ISOfile%,D:\LSP-1110\Iso\MultiWim.iso
set,%BcdEditExe%,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe
set,%BCDStore%,"D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD"
set,%BCDStore_EFI%,"D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD"
set,%GRLDR_Path%,D:\LSP-1110\Temp\Apps\Grub4Dos\extract\grub4dos-0.4.6a
set,%UrlPath1%,
https://storage.googleapis.com/googl...-2014-01-17.7z
set,%folder%,D:\LSP-1110\Temp\Apps\Grub4Dos
set,%ProgramEXE1%,grub4dos.7z
set,%FilePath1%,D:\LSP-1110\Temp\Apps\Grub4Dos\Download\grub4dos.7z
dirmake,D:\LSP-1110\Temp\Win10PE\Boot\Boot
dirmake,D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,bcd_begin
dirmake,D:\LSP-1110\Temp\Win10PE\Boot\Boot
dirmake,D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot
extract,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,BCD_EFI,D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD
If-then = False: If,%pCheckBox1%,=,True,then
extract,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,BCD_Bios,D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,grldr
If-then = False: If,not,ExistFile,%FilePath1%,Then
dirremove,D:\LSP-1110\Target\MultiWim,3
dirmake,D:\LSP-1110\Target\MultiWim
dirremove,D:\LSP-1110\Target\Temp,3
dirmake,D:\LSP-1110\Target\Temp
set,%Count%,0
If-then = True: If,%pCheckBox3%,=,True,then
If-then = True: If,ExistFile,%pFileBox1%,then,run,%scriptfile%,Add Iso,Win10x32,%pFileBox1%,{2e488718-de32-11dd-8808-005056a95ed2},N
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,AddIso
strformat,EXT,iso
If-then = False: If,not,%var1%,=,iso,then,return
math,1
dirremove,D:\LSP-1110\Target\Temp,3
dirmake,D:\LSP-1110\Target\Temp
set,%Pe%,Win10x32
echo,Iso 1: PE Win10x32 wird entpackt...
ExitCode: 0 - shellexecute,hide,D:\LSP-1110\Tools\7z.exe,x "D:\LSP-1110\Iso\Win10[14393]_de-DE_x86.iso" -aoa -r -o"D:\LSP-1110\Target\Temp"
echo,Iso 1: PE Win10x32 wird hinzugefügt...
If-then = True: If,Not,ExistDir,%Target_Dir%\BOOT,Then
dircopy:D:\LSP-1110\Target\Temp\BOOT -> D:\LSP-1110\Target\MultiWim\BOOT
If-then = True: If,Not,ExistDir,%Target_Dir%\EFI\microsoft\boot,Th en
dircopy:D:\LSP-1110\Target\Temp\EFI\microsoft\boot -> D:\LSP-1110\Target\MultiWim\EFI\microsoft\boot
If-then = False: If,ExistFile,%Target_Dir%\bootmgr,then,FileDelete, %Target_Dir%\bootmgr
If-then = False: If,ExistFile,%Target_Dir%\bootmgr.efi,then,FileDel ete,%Target_Dir%\bootmgr.efi
dircopy:D:\LSP-1110\Target\Temp\ -> D:\LSP-1110\Target\MultiWim\
echo,Iso 1: Ordner wird bereinigt...
dirremove,D:\LSP-1110\Target\Temp,3
If-then = True: If,ExistFile,%Target_Dir%\sources\Boot.wim,then,Fi leRename,%Target_Dir%\sources\Boot.wim,%Target_Dir %\sources\Win10x32.wim
filerename,D:\LSP-1110\Target\MultiWim\sources\Boot.wim,D:\LSP-1110\Target\MultiWim\sources\Win10x32.wim
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /create {2e488718-de32-11dd-8808-005056a95ed2} /d "Win10x32" /application osloader
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} path \Windows\System32\Boot\Winload.exe
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} nointegritychecks on
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} nx AlwaysOff
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} inherit {globalsettings}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} systemroot \Windows
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} detecthal Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} winpe Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} osdevice ramdisk=[boot]\sources\Win10x32.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ed2} device ramdisk=[boot]\sources\Win10x32.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /displayorder {2e488718-de32-11dd-8808-005056a95ed2} /addlast
If-then = False: If,N,=,j,then
If-then = True: If,%pCheckBox4%,=,True,then
If-then = True: If,ExistFile,%pFileBox2%,then,run,%scriptfile%,Add Iso,Win10x64,%pFileBox2%,{2e488718-de32-11dd-8808-005056a95ef0},J
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,AddIso
strformat,EXT,iso
If-then = False: If,not,%var1%,=,iso,then,return
math,2
dirremove,D:\LSP-1110\Target\Temp,3
dirmake,D:\LSP-1110\Target\Temp
set,%Pe%,Win10x64
echo,Iso 2: PE Win10x64 wird entpackt...
ExitCode: 0 - shellexecute,hide,D:\LSP-1110\Tools\7z.exe,x "D:\LSP-1110\Iso\Win10[14393]_de-DE_x64.iso" -aoa -r -o"D:\LSP-1110\Target\Temp"
echo,Iso 2: PE Win10x64 wird hinzugefügt...
If-then = False: If,Not,ExistDir,%Target_Dir%\BOOT,Then
dirremove,D:\LSP-1110\Target\Temp\BOOT,3
If-then = False: If,Not,ExistDir,%Target_Dir%\EFI\microsoft\boot,Th en
dirremove,D:\LSP-1110\Target\Temp\EFI\microsoft\boot,3
If-then = True: If,ExistFile,%Target_Dir%\bootmgr,then,FileDelete, %Target_Dir%\bootmgr
filedelete,D:\LSP-1110\Target\MultiWim\bootmgr
If-then = True: If,ExistFile,%Target_Dir%\bootmgr.efi,then,FileDel ete,%Target_Dir%\bootmgr.efi
filedelete,D:\LSP-1110\Target\MultiWim\bootmgr.efi
dircopy:D:\LSP-1110\Target\Temp\ -> D:\LSP-1110\Target\MultiWim\
echo,Iso 2: Ordner wird bereinigt...
dirremove,D:\LSP-1110\Target\Temp,3
If-then = True: If,ExistFile,%Target_Dir%\sources\Boot.wim,then,Fi leRename,%Target_Dir%\sources\Boot.wim,%Target_Dir %\sources\Win10x64.wim
filerename,D:\LSP-1110\Target\MultiWim\sources\Boot.wim,D:\LSP-1110\Target\MultiWim\sources\Win10x64.wim
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /create {2e488718-de32-11dd-8808-005056a95ef0} /d "Win10x64" /application osloader
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} path \Windows\System32\Boot\Winload.exe
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} nointegritychecks on
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} nx AlwaysOff
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} inherit {globalsettings}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} systemroot \Windows
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} detecthal Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} winpe Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} osdevice ramdisk=[boot]\sources\Win10x64.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} device ramdisk=[boot]\sources\Win10x64.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /displayorder {2e488718-de32-11dd-8808-005056a95ef0} /addlast
If-then = True: If,J,=,j,then
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /create {2e488718-de32-11dd-8808-005056a95ef0} /d "Win10x64" /application osloader
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} path \Windows\System32\Boot\Winload.efi
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} nointegritychecks on
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} nx AlwaysOff
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} inherit {globalsettings}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} systemroot \Windows
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} detecthal Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} winpe Yes
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} osdevice ramdisk=[boot]\sources\Win10x64.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {2e488718-de32-11dd-8808-005056a95ef0} device ramdisk=[boot]\sources\Win10x64.wim,{ramdiskoptions}
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /displayorder {2e488718-de32-11dd-8808-005056a95ef0} /addlast
If-then = False: If,%pCheckBox5%,=,True,then
If-then = False: If,%pCheckBox6%,=,True,then
If-then = False: If,%pCheckBox7%,=,True,then
If-then = False: If,%pCheckBox8%,=,True,then
If-then = False: if,%count%,=,0,then
If-then = False: If,%pCheckBox1%,=,True,then
If-then = False: If,ExistFile,%Target_Dir%\menu.lst,then,run,%scrip tfile%,Grub4Dos
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,BCD_Final
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {default} locale de-DE
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {bootmgr} locale de-DE
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {memdiag} locale de-DE
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\Boot\BCD" /set {default} loadoptions TESTSIGNING ON
If-then = True: If,ExistDir,%ProjectTemp%\Boot\EFI,then
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {default} loadoptions TESTSIGNING ON
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {default} NoIntegrityChecks 1
ExitCode: 0 - shellexecute,Hide,D:\LSP-1110\Tools\x64\Dism\bcdedit.exe,/store "D:\LSP-1110\Temp\Win10PE\Boot\EFI\microsoft\boot\BCD" /set {default} loadoptions DISABLE_INTEGRITY_CHECKS
dircopy:D:\LSP-1110\Temp\Win10PE\Boot -> D:\LSP-1110\Target\MultiWim\
If-then = True: If,ExistDir,%ProjectTemp%\Boot,Then,DirRemove,%Pro jectTemp%\Boot,3
dirremove,D:\LSP-1110\Temp\Win10PE\Boot,3
dirremove,D:\LSP-1110\Target\MultiWim\[BOOT],3
dirmove,D:\LSP-1110\Target\MultiWim\BOOT,D:\LSP-1110\Target\MultiWim\Boot
filerename,D:\LSP-1110\Target\MultiWim\bootmgr,D:\LSP-1110\Target\MultiWim\BOOTMGR
If-then = True: If,%pCheckBox2%,=,True,then
run,D:\LSP-1110\Projects\Win10PE\Utils\Multi-WIM.srt,iso
echo,ISO erstellen...
If-then = True: IF,EXISTfile,%target_cd%\boot\bootfix.bin,Then,Fil eDelete,%target_cd%\boot\bootfix.bin
filedelete,D:\LSP-1110\Target\Win10PE_CD\boot\bootfix.bin
If-then = False: IF,Not,EXISTDIR,%ISOdir%,Then,DirMake,%ISodir%
filerename,D:\LSP-1110\Target\MultiWim\Boot\etfsboot.com,D:\LSP-1110\Target\MultiWim\Boot\etfsboot.tmp
filerename,D:\LSP-1110\Target\MultiWim\Boot\etfsboot.tmp,D:\LSP-1110\Target\MultiWim\Boot\etfsboot.com
ExitCode: 0 - shellexecute,show,D:\LSP-1110\Tools\mkisofs.exe,-iso-level 4 -volid "MultiWim" -b "Boot/etfsboot.com" -no-emul-boot -boot-load-size 8 -hide boot.catalog -duplicates-once -o "D:\LSP-1110\Iso\MultiWim.iso" "D:\LSP-1110\Target\MultiWim"
message,D:\LSP-1110\Iso\MultiWim.iso,Vorgang abgeschlossen.
Lesezeichen