Octopuss Posted June 29, 2017 Posted June 29, 2017 I have noticed you need to supply a path to the .wim now (coming from Win7), but I have no idea how to do that. How exactly do I reference the file? It's in the usual <ImageInstall> section of the answer file.
Tripredacus Posted June 29, 2017 Posted June 29, 2017 This is the example from the unattend.chm: <ImageInstall> <OSImage> <InstallFrom> <Credentials> <Domain>FabrikamDomain</Domain> <Password>MyPassword</Password> <Username>MyUsername</Username> </Credentials> <Path>\\networkshare\share\install.wim</Path> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>FabrikamCustomOSImage</Value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> <InstallToAvailablePartition>false</InstallToAvailablePartition> </OSImage> </ImageInstall> So you path directly to the location of the WIM file. The example using Key /IMAGE/NAME is unchanged, the value you put into "Value" is the name of the image inside of the wim. If you want to specify an Image Index instead, you can put /IMAGE/INDEX, and value is 1, or whatever number. If you put Key /IMAGE/NAME and have no value, and your wim only has one index, it will work for that. If you do not specify Path (or do not put in Path object) then it will look to Sources folder for the install.wim.
Octopuss Posted June 30, 2017 Author Posted June 30, 2017 Network share is pretty clear, no confusion there. I was pretty clueless about a typical USB stick situation. I have since managed to figure it out with the help of setup error messages though. Just putting "install.wim" in there is perfectly enough, because setup already automatically considers the sources folder.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now