Jump to content

Ask your Seven xml ? here


Recommended Posts


You do it similar to this in <settings pass="windowsPE">

This example makes that small System Partition if you want.

Can also make the 2nd partition extend to end of drive

<diskconfiguration>
<disk wcm:action="add">
<diskid>0</diskid>
<willwipedisk>true</willwipedisk>
<createpartitions>
<createpartition wcm:action="add">
<order>1</order>
<type>Primary</type>
<size>300</size>
</createpartition>
<createpartition wcm:action="add">
<order>2</order>
<type>Primary</type>
<extend>true</extend>
</createpartition>
</createpartitions>
<modifypartitions>
<modifypartition wcm:action="add">
<order>1</order>
<partitionid>1</partitionid>
<label>System</label>
<format>NTFS</format>
<active>true</active>
</modifypartition>
<modifypartition wcm:action="add">
<order>2</order>
<partitionid>2</partitionid>
<label>Windows</label>
<letter>C</letter>
<format>NTFS</format>
</modifypartition>
</modifypartitions>
</disk>
<willshowui>OnError</willshowui>
</diskconfiguration>

Thanks for the reply.. I actually succeeded in making one myself completely but it doesnt work:/

[color=#333333][font=Verdana][size=4]<!--?xml version="1.0" encoding="utf-8"?--><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorarchitecture="x86" publickeytoken="31bf3856ad364e35" language="neutral" versionscope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <diskconfiguration> <disk wcm:action="add"> <createpartitions> <createpartition wcm:action="add"> <order>1</order> <size>12000</size> <type>Primary</type> </createpartition> <createpartition wcm:action="add"> <order>2</order> <size>300</size> <type>Primary</type> </createpartition> <createpartition wcm:action="add"> <order>3</order> <type>Primary</type> <size>20000</size> </createpartition> </createpartitions> <modifypartitions> <modifypartition wcm:action="add"> <active>false</active> <extend>false</extend> <format>NTFS</format> <label>Recovery</label> <letter>R</letter> <order>1</order> <partitionid>1</partitionid> <typeid>0x27</typeid> </modifypartition> <modifypartition wcm:action="add"> <active>true</active> <extend>false</extend> <format>NTFS</format> <label>System</label> <letter>S</letter> <order>2</order> <partitionid>1</partitionid> <typeid>0x27</typeid> </modifypartition> <modifypartition wcm:action="add"> <active>false</active> <extend>false</extend> <format>NTFS</format> <label>Windows</label> <letter>C</letter> <order>3</order> <partitionid>1</partitionid> <typeid>1</typeid> </modifypartition> </modifypartitions> <willwipedisk>true</willwipedisk> <diskid>0</diskid> </disk> <willshowui>OnError</willshowui> </diskconfiguration> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorarchitecture="x86" publickeytoken="31bf3856ad364e35" language="neutral" versionscope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <oobe> <hideeulapage>true</hideeulapage> </oobe> </component> </settings> <cpi:offlineimage cpi:source="catalog:d:/7integrator/dvd/sources/install_windows 7 Homebasic.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineimage></unattend>[/size][/font][/color]

</settings><div><settings pass="windowsPE"><br></settings></div><div><settings pass="windowsPE"><br></settings></div><div><settings pass="windowsPE">I f. hate msfn's editor.. It doesnt work properly in Chrome....</settings></div><div><settings pass="windowsPE"><br></settings></div>

Edited by grabben
Link to comment
Share on other sites

Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

		  <DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>15000</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">
<Format>NTFS</Format>
<Label>WIN7</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Format>NTFS</Format>
<Label>Test</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>

Link to comment
Share on other sites

Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

	  	<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>15000</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">
<Format>NTFS</Format>
<Label>WIN7</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Format>NTFS</Format>
<Label>Test</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>

Thankyou so much max! I will try this in a couple of hours!

Link to comment
Share on other sites

Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

	  	<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>15000</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">
<Format>NTFS</Format>
<Label>WIN7</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Format>NTFS</Format>
<Label>Test</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>

Forget it.. Yours works fine in VMware but mine doesnt..

All i did was to change to this:





<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>12000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>300</Size>
<Extend>true</Extend>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Extend>true</Extend>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>

And i also made these changes



<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Recovery</Label>
<Letter>R</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
<TypeID>0x27</TypeID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>S</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>System</Label>
<Letter>W</Letter>
<Order>3</Order>
<PartitionID>3</PartitionID>
</ModifyPartition>
</ModifyPartitions>

Reason Im asking is beacuse a guy on MDL Forum has made a recovery tool and instead of having to create partitions yourself I/we want the unattended to create them automatically.

I have asked in that forumthread but no response yet. I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

Link to comment
Share on other sites

I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

That my friend I have been working on and no solution yet here. The OEM reinstall partition

Link to comment
Share on other sites

I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

That my friend I have been working on and no solution yet here. The OEM reinstall partition

Well allright let skip that:)

And the other? It is right, right?

Link to comment
Share on other sites

OEM Recovery partition with "set id=27" (0x27?)

found this

Set CreatePartition\Type to Primary, and then set TypeID to 0x27

Don't think you set a drive letter

will try when I get a chance but messing with integrate sp1 RC right now

I have Dell utility that does this but it was too small at 4gb but my dell recovery was 10Gb untill I accidentally lost it

Edited by maxXPsoft
Link to comment
Share on other sites

OEM Recovery partition with "set id=27" (0x27?)
found thisSet CreatePartition\Type to Primary, and then set TypeID to 0x27Don't think you set a drive letterwill try when I get a chance but messing with integrate sp1 RC right nowI have Dell utility that does this but it was too small at 4gb but my dell recovery was 10Gb untill I accidentally lost it
Thanks maxXPsoft.Well i set 0x27 I just hope i wrote a zero and not "o" :P

Edit: Hm now i got one working! Creating three partitions etc..

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <!-- Recovery partition --> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>1200</Size> </CreatePartition> <!-- System partition --> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Size>300</Size> </CreatePartition> <!-- Windows partition --> <CreatePartition wcm:action="add"> <Order>3</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- Recovery partition --> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Label>Recovery</Label> <Format>NTFS</Format> <TypeID>0x27</TypeID> </ModifyPartition> <!-- System partition --> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Label>System</Label> <Format>NTFS</Format> <Active>true</Active> </ModifyPartition> <!-- Windows partition --> <ModifyPartition wcm:action="add"> <Order>3</Order> <PartitionID>3</PartitionID> <Label>Windows</Label> <Letter>C</Letter> <Format>NTFS</Format> </ModifyPartition> </ModifyPartitions> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration><ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>3</PartitionID> </InstallTo> </OSImage></ImageInstall> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/7integrator/dvd/sources/install_windows 7 Homebasic.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

Edited by grabben
Link to comment
Share on other sites

post-9484-037511800 1289254020_thumb.png

40 gb in VM

:thumbup that was it. You have to create the small <!-- System partition --> then this will work.

Currently installing with a 10000 recovery partition which will be big enough to expand the boot.wim there and add a custom install.wim.

Now to work out all that stuff.

Edited by maxXPsoft
Link to comment
Share on other sites

post-9484-037511800 1289254020_thumb.png40 gb in VM :thumbup that was it. You have to create the small then this will work.Currently installing with a 10000 recovery partition which will be big enough to expand the boot.wim there and add a custom install.wim.Now to work out all that stuff.
A small systempartition? Hm Ill try it next time I will reinstall Windows. Thanks for your help!.I found a working unattended at technet website which had 3 partitions (recovery, system, windows).

Here it is: MS Technet TypeID

Edited by grabben
Link to comment
Share on other sites

Hi maxXPsoft an grabben,

I follow up yr very interesting Partition discussion.

I'm looking for partioning a 1 TB Hard disk to 5 partitions when the C:, D:, E: and F: be sized to 100GB and G: the rest.

So I've few questions.

1) What the minimum allowing size for the Recovery and the system partitions (in Primary partition)?

2) How to configure the Extended partition and the Logical drives?

BTW,yr link is bad

A small systempartition? Hm Ill try it next time I will reinstall Windows. Thanks for your help!.

I found a working unattended at technet website which had 3 partitions (recovery, system, windows).

Here it is: http://technet.micro...563(WS.10).aspx

Regards

Link to comment
Share on other sites

Are you looking at adding the Recovery which usually goes at start of drive? If not then you won't need otherwise my Dell had a 15gb recovery I lost. I see it don't really need like a 10Gb. Extract boot.wim there and your custom install.wim. WORK IN PROGRESS

System partition is the small 200-300mb part that is used for repair and such and is not needed actually, you can eliminate it and combine into the Windows partition unless you are doing the Recovery.

How to configure? Are you going to do this with xml? Waik.chm has 5 drives included in it

Me i'd split that into 3 partitions, Windows, Backup location for files, spare i can move all of first 2 partitions to in case and maybe an Acronis Image location

Link to comment
Share on other sites

Hi maxXPsoft,

Usually I never used a Recovery partition, I'm using a Backup disk (logical partition).

Maybe it's a time to use Recovery partition for end users. Isn't it?

Actually (under VMWare), when I start Win7 installation I must go through the partition mode. Although i suppress the system partition, it created automatically.

I want to split the disk in 5 partition Windows, Data (Documents, Favorites, outlook...), Backup (Norton Ghost images and .ISO files), Download, Temp (all working and rubbish files). I'm looking to do this with .xml.

Edited by coucou
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...