Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to upgrade my Windows 7 machine using Windows 8 setup.exe command line options,

 setup.exe /unattend:answer.xml

I am getting the error "No images available." Does anybody have a sample unattend.xml file for Windows 8 upgrade, or know how I can generate one?

share|improve this question

migrated from stackoverflow.com Sep 22 '12 at 2:22

This question came from our site for professional and enthusiast programmers.

1 Answer 1

The following is taken out of TechNet articles and is to work with Windows 7 but I don't think there will be any major differences between Win 8 and Win 7 unattended xml files.

< ?xml version="1.0" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<WindowsDeploymentServices>
<Login>
<WillShowUI>onerror</WillShowUI>
<Credentials>
<Username>wdsadmin</Username>
<Domain>myschool</Domain>
<Password>wdspassword</Password>
</Credentials>
</Login>
<ImageSelection>
<WillShowUI>onerror</WillShowUI>
<InstallImage>
<ImageName>Windows 7 Professional SP1</ImageName>
<ImageGroup>x86 Images</ImageGroup>
<Filename>Windows7proSP1.wim</Filename>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
<WillShowUI>onerror</WillShowUI>
<Disk>
<CreatePartitions>
<CreatePartition>
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition>
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
<SetupUILanguage>
<WillShowUI>onerror</WillShowUI>
<UILanguage>en-UK</UILanguage>
</SetupUILanguage>
<UILanguage>en-UK</UILanguage>
</component>
</settings>
</unattend>

If you look really closely there is

<InstallImage>
<ImageName>Windows 7 Professional SP1</ImageName>
<ImageGroup>x86 Images</ImageGroup>
<Filename>Windows7proSP1.wim</Filename>
</InstallImage>

Which leads me to believe that your xml file does not point to the correct image file or you don't have one.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.