Octopuss Posted June 29, 2017 Share 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. Link to comment Share on other sites More sharing options...
Tripredacus Posted June 29, 2017 Share 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. Link to comment Share on other sites More sharing options...
Octopuss Posted June 30, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now