From 996fcd262542c50f47f5b37dde24a2fcf6efc0ed Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 21 Dec 2020 14:08:56 +0100 Subject: [PATCH] . --- autounattend.xml | 9 ++++++++- wimscripts/finish-image.cmd | 2 +- wimscripts/get-wiminfo.cmd | 12 +++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/autounattend.xml b/autounattend.xml index 0d04679..b2a919d 100644 --- a/autounattend.xml +++ b/autounattend.xml @@ -73,6 +73,13 @@ 0 4 + + + /IMAGE/DESCRIPTION + Windows 10 Home + + install.esd + @@ -135,5 +142,5 @@ - + diff --git a/wimscripts/finish-image.cmd b/wimscripts/finish-image.cmd index 8ec22fa..408285b 100644 --- a/wimscripts/finish-image.cmd +++ b/wimscripts/finish-image.cmd @@ -5,7 +5,7 @@ rem dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase rem dism /Unmount-Wim /MountDir:%MNT% /Commit dism /Export-Image ^ - /SourceImageFile:%SOURCES%\install.wim ^ + /SourceImageFile:%SOURCES%\install_FINAL.wim ^ /DestinationImageFile:%SOURCES%\install_FINAL.esd ^ /SourceIndex:1 ^ /Compress:Recovery ^ diff --git a/wimscripts/get-wiminfo.cmd b/wimscripts/get-wiminfo.cmd index 4775361..b434b3c 100644 --- a/wimscripts/get-wiminfo.cmd +++ b/wimscripts/get-wiminfo.cmd @@ -1,4 +1,14 @@ +echo off set SOURCES=c:\TEMP\Win10\sources +set FILENAME=%1 -dism /Get-WimInfo /WimFile:%SOURCES%\install.wim +IF %1.==. GOTO USAGE + +dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME% +GOTO END + +:USAGE +echo "usage: %0 " + +:END