diff --git a/wimscripts/cleanup-wim.cmd b/wimscripts/finish-wim.cmd similarity index 60% rename from wimscripts/cleanup-wim.cmd rename to wimscripts/finish-wim.cmd index 1d470f4..05e7627 100644 --- a/wimscripts/cleanup-wim.cmd +++ b/wimscripts/finish-wim.cmd @@ -9,5 +9,11 @@ dism /Export-Image ^ /DestinationImageFile:%SOURCES%\install_CLEAN.wim ^ /SourceIndex:1 ^ /Compress:Max ^ - /CheckIntegrity + /CheckIntegrity ^ + & move %SOURCES%\install_CLEAN.wim %SOURCES%\install.wim + +dism /Split-Image ^ + /ImageFile:%SOURCES%\install.wim ^ + /SWMFile:%SOURCES%\install.swm ^ + /FileSize:3800 diff --git a/wimscripts/get-wiminfo.cmd b/wimscripts/get-wiminfo.cmd index 4775361..96803b6 100644 --- a/wimscripts/get-wiminfo.cmd +++ b/wimscripts/get-wiminfo.cmd @@ -1,4 +1,4 @@ set SOURCES=c:\TEMP\Win10\sources -dism /Get-WimInfo /WimFile:%SOURCES%\install.wim +dism /Get-WimInfo /WimFile:%SOURCES%\install.swm