Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Octopuss

How do I specify image location?

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×