Jump to content











Photo
- - - - -

Windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist

pxe httpdisk install.wim

  • Please log in to reply
5 replies to this topic

#1 69jakk

69jakk

    Member

  • Members
  • 46 posts
  •  
    Spain

Posted 11 January 2013 - 02:42 PM

Dear friends...

I'm trying to deploy Windows 7 over http with HttpDisk and an Autounattend.xml file added to the W7.iso image.

The boot process is gPXE--->wimboot---->HttpDisk---->Setup.exe---->Autonattend.xml

My Autonattend.xml contents the following lines:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...nfig/2002/State" xmlns:xsi="http://www.w3.org/20...Schema-instance">
            <SetupUILanguage>
                <UILanguage>es-ES</UILanguage>
            </SetupUILanguage>
            <InputLocale>es-ES</InputLocale>
            <SystemLocale>es-ES</SystemLocale>
            <UILanguage>es-ES</UILanguage>
            <UILanguageFallback></UILanguageFallback>
            <UserLocale>es-ES</UserLocale>
        </component>
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...nfig/2002/State" xmlns:xsi="http://www.w3.org/20...Schema-instance">
            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>100</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Extend>true</Extend>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>SYSTEM</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>WINDOWS</Label>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                    <WillShowUI>OnError</WillShowUI>
                </OSImage>
            </ImageInstall>
            <UserData>
                <ProductKey>
                    <WillShowUI>Never</WillShowUI>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
            </UserData>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...nfig/2002/State" xmlns:xsi="http://www.w3.org/20...Schema-instance">
            <Reseal>
                <Mode>Audit</Mode>
            </Reseal>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...nfig/2002/State" xmlns:xsi="http://www.w3.org/20...Schema-instance">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <ProtectYourPC>1</ProtectYourPC>
            </OOBE>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="catalog:d:/server/tftpboot/seven/sources/install_windows 7 ultimate x86.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



But when setup.exe parses the Autonattend.xml file it gives me an error:

Windows could not collect information for [OSImage] since the specified image file [install.wim] does not exist

Does anyone what could be the reason for that error?

Any help, ideas or comments would be really appreciated.

Best regards.



#2 69jakk

69jakk

    Member

  • Members
  • 46 posts
  •  
    Spain

Posted 11 January 2013 - 03:04 PM

I read this on a forum:

"Did you build a custom unattend.xml file for this?

Sounds like the unattend is missing the "windowsPE" settings pass.

Under the "Microsoft-Windows-Setup" component, set the ImageInstall parameters. If this portion is missing from the unattend, it will default to 'install.wim' which doesn't exist.

Best of luck"

Maybe I should set the ImageInstall parameters but I don't know how and what to put there :(



#3 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 11 January 2013 - 06:00 PM

Any help, ideas or comments would be really appreciated.

I suggest paying closer attention to Autounattend.xml versus Autonattend.xml. :)



#4 69jakk

69jakk

    Member

  • Members
  • 46 posts
  •  
    Spain

Posted 11 January 2013 - 07:08 PM

I suggest paying closer attention to Autounattend.xml versus Autonattend.xml. :)

 

Ok Sha0...Thanks...Now I can't edit the post so sorry....

Greets!!



#5 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 11 January 2013 - 07:59 PM

Ok Sha0...Thanks...Now I can't edit the post so sorry....

I thought maybe that was the problem in your actual scenario, besides what you have in the post.  It isn't?



#6 69jakk

69jakk

    Member

  • Members
  • 46 posts
  •  
    Spain

Posted 11 January 2013 - 08:59 PM

I thought maybe that was the problem in your actual scenario, besides what you have in the post.  It isn't?

 

No Sha0...That's not the problem but thanks anyway...

I'm not good at English so that's why I usually commit errors writing :(

In the W7.iso image file....the name of the .xml file is Autounattend.xml

It's a strange error because there is no much information on the net with people reporting the same problem with same scenario.

HttpDisk works fine without the Autounattend.xml file...but for some reason...when I add this file to my .iso image something happens...it's like the mounted iso image on z:\ wasn't recognized by the setup.exe...

For sure I'm doing something wrong...but the most I think the most lost I feel...

Greets Sha0!

PD: Do you think I should use the same .iso image for making the Autounattend.xml file?
I mean...I have the W7.iso image decompressed and I use its folder to make the xml file and then I add the .xml file to W7.iso image:
Should I decompress the image, make the .xml and then rebuild the image like .iso file?

Thanks.


Edited by 69jakk, 11 January 2013 - 09:08 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users