none
problem with unattended answer file RRS feed

  • Question

  • hi all,

    i'm trying to make an unattended install from an answer file, but some how im stock in diskconfiguration right now.

    - <DiskConfiguration>
      <WillShowUI>Never</WillShowUI>
    - <Disk wcm:action="add">
    - <CreatePartitions>
    - <CreatePartition wcm:action="add">
      <Type>Primary</Type>
      <Order>1</Order>
      <Size>15000</Size>
      </CreatePartition>
      </CreatePartitions>
    - <ModifyPartitions>
    - <ModifyPartition wcm:action="add">
      <Order>1</Order>
      <PartitionID>1</PartitionID>
      <Label>Harddisk</Label>
      <Letter>C</Letter>
      <Format>NTFS</Format>
      <Active>true</Active>
      <TypeID>Primary</TypeID>
      <Extend>false</Extend>
      </ModifyPartition>
      </ModifyPartitions>
      <DiskID>0</DiskID>
      <WillWipeDisk>true</WillWipeDisk>
      </Disk>
      </DiskConfiguration>
    I can't see the problem in these lines.

    http://www.ai-tech.dk
    Wednesday, February 2, 2011 12:58 PM

Answers

  • hi, got it to work, I had forgot to set the TypeID to 0x7 for Primary disk

     

    -John


    http://www.ai-tech.dk
    • Marked as answer by JB Ai-Tech Thursday, February 3, 2011 2:54 PM
    Thursday, February 3, 2011 2:54 PM

All replies

  • Is there some error report that you can share?

    Have you tried create the unattended file using ICE?

    -Sean

     


    www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - ProGuide to WES 7, XP Embedded Advanced, WEPOS / POS for .NET Step-by-Step
    Thursday, February 3, 2011 1:51 AM
    Moderator
  • Do you want to create a new partition or use an existing one? You only need to use ModifyPartition for an existing one. Here is a snippet of some settings we use.

                <DiskConfiguration>
                    <WillShowUI>Never</WillShowUI>
                    <Disk wcm:action="add">
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <PartitionID>1</PartitionID>
                                <Order>1</Order>
                                <Label>System</Label>
                                <Letter>C</Letter>
                                <Format>NTFS</Format>
                                <!-- set partition to not be active - to preserve boot menu -->
                                <Active>false</Active>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>false</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>Image/Name</Key>
                                <Value>Windows Embedded Standard 7</Value>
                            </MetaData>
                        </InstallFrom>
                        <InstallTo>
                            <PartitionID>1</PartitionID>
                            <DiskID>0</DiskID>
                        </InstallTo>
                        <WillShowUI>Never</WillShowUI>
                    </OSImage>
                </ImageInstall>


    Brent
    Thursday, February 3, 2011 1:56 AM
  • hi, got it to work, I had forgot to set the TypeID to 0x7 for Primary disk

     

    -John


    http://www.ai-tech.dk
    • Marked as answer by JB Ai-Tech Thursday, February 3, 2011 2:54 PM
    Thursday, February 3, 2011 2:54 PM