On 9 Feb, 15:05, "Zaphod Beeblebrox"
wrote:
> "Mazzaroc" wrote in message
>
> news:aa346c5f-da00-4d67-acf1-46c2ec40b72f.cut@d32g2000yqe.googlegroups.com...> HI
>
> > Can someone explain to me why this autounattend.xml file
>
> <snip>
>
> > <CreatePartitions>
> > <CreatePartition wcm:action="add">
> > <Order>1</Order>
> > <Size>25000</Size>
> > <Type>Primary</Type>
> > </CreatePartition>
> > <CreatePartition wcm:action="add">
> > <Extend>true</Extend>
> > <Order>2</Order>
> > <Type>Primary</Type>
> > </CreatePartition>
> > </CreatePartitions>
>
> <snip>
>
> > does not create two primary partitions?
>
> > Now, how do you automatically create two primary partitions?
>
> The only things I see that might cause problems are that you don't set
> the size of the 2nd partition you want to create, and you don't set the
> Extend property for the 1st partition. I don't know if either is
> required, but worth a shot. Try the following to see if it helps:
>
> <Disk wcm:action="add">
> <CreatePartitions>
> <CreatePartition wcm:action="add">
> <Extend>false</Extend>
> <Order>1</Order>
> <Size>25000</Size>
> <Type>Primary</Type>
> </CreatePartition>
> <CreatePartition wcm:action="add">
> <Extend>true</Extend>
> <Order>2</Order>
> <Size>25000</Size>
> <Type>Primary</Type>
> </CreatePartition>
> </CreatePartitions>
>
> By the way, another good source for help with Vista deployment issues is
> at[URL="http://social.technet.microsoft.com/forums/en-US/itprovistadeployment...."]http://social.technet.microsoft.com/forums/en-US/itprovistadeployment....[/URL]
>
> --
> Zaphod
>
> Pan-Galactic Gargle Blaster: A cocktail based on Janx Spirit.
> The effect of one is like have your brain smashed out
> by a slice of lemon wrapped round a large gold brick.
Finally I created those two partitions by putting the file
autounattend.xml in the root directory of the DVD of Vista SP1 64 bit.
Now my file is:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup"
processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="NonSxS" xmlns:wcm="http://
schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://
[URL="http://www.w3.org/2001/XMLSchema-instance"]www.w3.org/2001/XMLSchema-instance[/URL]">
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>25000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>2</Order>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>Logical</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>VISTA</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="NonSxS" xmlns:wcm="http://
schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://
[URL="http://www.w3.org/2001/XMLSchema-instance"]www.w3.org/2001/XMLSchema-instance[/URL]">
<FolderLocations>
<ProfilesDirectory>D:\Users</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX"
processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="NonSxS" xmlns:wcm="http://
schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://
[URL="http://www.w3.org/2001/XMLSchema-instance"]www.w3.org/2001/XMLSchema-instance[/URL]">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-Licensing-SLC"
processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://
schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://
[URL="http://www.w3.org/2001/XMLSchema-instance"]www.w3.org/2001/XMLSchema-instance[/URL]">
<SkipRearm>0</SkipRearm>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:C:/Users/Public/Documents/
Vista_SP1_64_bit/sources/install.wim#Windows Vista ULTIMATE"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
now I saw a strange thing: the window that displays the partitions
during the installation is proper, but when I click on the next
window, Vista starts copying files on the disk but stops immediately
with a window which says:
Unable to prepare the computer to restart for the next step of
installation. To install Windows, restart the installation.
Or:
Unable to prepare for the partition selected for installation
Why? What is the trick?
I have already tried to move the instruction <WillWipeDisk> true </
WillWipeDisk> at the beginning of the structure, but does not work.
Thanks
Bye
>> Stay informed about: Directory of Autounattend.xml for partitioning an disk