.
This commit is contained in:
parent
c392b4ddc5
commit
996fcd2625
@ -73,6 +73,13 @@
|
||||
<DiskID>0</DiskID>
|
||||
<PartitionID>4</PartitionID>
|
||||
</InstallTo>
|
||||
<InstallFrom>
|
||||
<MetaData wcm:action="add">
|
||||
<Key>/IMAGE/DESCRIPTION</Key>
|
||||
<Value>Windows 10 Home</Value>
|
||||
</MetaData>
|
||||
<Path>install.esd</Path>
|
||||
</InstallFrom>
|
||||
</OSImage>
|
||||
</ImageInstall>
|
||||
<UserData>
|
||||
@ -135,5 +142,5 @@
|
||||
</AutoLogon>
|
||||
</component>
|
||||
</settings>
|
||||
<cpi:offlineImage cpi:source="wim:c:/temp/win10/sources/install.wim#Windows 10 Pro N" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
<cpi:offlineImage cpi:source="wim:c:/temp/win10/sources/install_final.wim#Windows 10 Pro N" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
</unattend>
|
||||
|
@ -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 ^
|
||||
|
@ -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 <FILENAME>"
|
||||
|
||||
:END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user