Table of contents
TOC
Collapse the table of content
Expand the table of content

Path

Last Updated: 12/12/2016

Path specifies the path of the Windows image (.wim) file that contains the image to install. The path can be either a local path or a network path. If it is a local path, no credentials are needed.

Values

Windows_image_path

Specifies the path and the name of the .wim file to install. Windows_image_path is a string

Both local paths and Universal Naming Convention (UNC) paths are supported. Relative paths are supported, but the file name must be specified. The default file name for the Windows installation image is Install.wim.

If the .wim file path cannot be accessed because of an incorrect path or invalid credentials, an error is logged and installation terminates.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | ImageInstall | OSImage | InstallFrom | Path

Applies To

For a list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML Example

The following XML output shows how to set the ImageInstall setting to install both an operating system image and a data image.

<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>
    <DataImage wcm:action="add">
        <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
        </InstallTo>
        <InstallFrom>
            <Credentials>
                <Domain>FabrikamDomain</Domain>
                <Password>MyPassword</Password>
                <Username>MyUsername</Username>
            </Credentials>
            <Path>\\networkshare\share\data.wim</Path>
            <MetaData wcm:action="add">
                <Key>/IMAGE/NAME</Key>
                <Value>FabrikamData</Value>
            </MetaData>
        </InstallFrom>
        <Order>1</Order>
    </DataImage>
</ImageInstall>

InstallFrom

Send comments about this topic to Microsoft

© 2017 Microsoft