This post has been edited by grabben: 06 November 2010 - 04:02 AM
Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's
#62
Posted 06 November 2010 - 04:03 AM
maxXPsoft, on 05 November 2010 - 06:49 PM, said:
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:/
[code]
<!--?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>
</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>
This post has been edited by grabben: 06 November 2010 - 04:07 AM
#64
Posted 06 November 2010 - 06:25 AM
<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>
#65
Posted 06 November 2010 - 07:44 AM
maxXPsoft, on 06 November 2010 - 06:25 AM, said:
<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!
#66
Posted 06 November 2010 - 09:44 AM
maxXPsoft, on 06 November 2010 - 06:25 AM, said:
<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)
#67
Posted 06 November 2010 - 11:16 AM
grabben, on 06 November 2010 - 09:44 AM, said:
That my friend I have been working on and no solution yet here. The OEM reinstall partition
#68
Posted 06 November 2010 - 11:44 AM
maxXPsoft, on 06 November 2010 - 11:16 AM, said:
grabben, on 06 November 2010 - 09:44 AM, said:
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?
#69
Posted 06 November 2010 - 06:31 PM
Quote
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
This post has been edited by maxXPsoft: 06 November 2010 - 06:31 PM
#70
Posted 07 November 2010 - 03:44 AM
maxXPsoft, on 06 November 2010 - 06:31 PM, said:
Quote
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>
This post has been edited by grabben: 07 November 2010 - 07:28 AM
#71
Posted 08 November 2010 - 09:06 AM
grabben, on 07 November 2010 - 03:44 AM, said:
recovery.png (6.43K)
Number of downloads: 24
40 gb in VM
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.
This post has been edited by maxXPsoft: 08 November 2010 - 04:07 PM
#72
Posted 08 November 2010 - 04:44 PM
maxXPsoft, on 08 November 2010 - 09:06 AM, said:
grabben, on 07 November 2010 - 03:44 AM, said:
recovery.png (6.43K)
Number of downloads: 2440 gb in VM
Here it is: MS Technet TypeID
This post has been edited by grabben: 09 November 2010 - 10:10 AM
#73
Posted 09 November 2010 - 06:08 AM
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
Quote
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
#74
Posted 09 November 2010 - 07:23 AM
coucou, on 09 November 2010 - 06:08 AM, said:
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
#75
Posted 09 November 2010 - 09:52 AM
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.
This post has been edited by coucou: 09 November 2010 - 09:53 AM
#76
Posted 09 November 2010 - 10:10 AM
coucou: Try edit the unattended file i posted. Just add another <createpartition> or copy/modify one existing.
#77
Posted 09 November 2010 - 11:13 AM
grabben, on 09 November 2010 - 10:10 AM, said:
I can't read it.
Moreover, What is the command to define an Extended parttion logical drives?
In WAIK Unattend.chm I could find <Type>Primary</Type> only
This post has been edited by coucou: 09 November 2010 - 11:15 AM
#78
Posted 09 November 2010 - 11:33 AM
You can read some informations inside the "Unattendes Windows Setup Reference for Windows 7".
Inside components | Microsft-Windows-Setup | DiskConfiguration | Type
Extract:
Quote
Specifies that the partition is an extended partition.
An extended partition can be created only on master boot record (MBR)-based disks.
Only one extended partition can exist on a single disk. If an extended partition already exists on the disk, a second extended partition is not created. If the value for the WillShowUI setting is set to Never, an error is logged, and installation is terminated.
Extended partitions are useful if you intend to create more than four volumes on a basic MBR disk. Unlike primary partitions, you do not format an extended partition with a file system. Instead, you create one or more logical drives within the extended partition.
Logical
Specifies that the partition is a logical partition.
Windows® 7 must be installed on either a primary or a logical partition.
A logical partition is a volume that is created inside an extended partition on a basic master boot record (MBR)-based disk.
Logical partitions are similar to primary partitions. However, while only four primary partitions can exist on a single disk, the number of logical partitions that can exist on a disk is unlimited. A logical partition can be formatted and assigned a drive letter.
A logical partition must be created inside an extended partition. If an extended partition does not already exist on the disk or the specified size of the logical drive exceeds the extended partition, no partition is created.
If WillShowUI is set to Never, an error is logged, and installation is terminated.
Cheers
This post has been edited by myselfidem: 09 November 2010 - 11:33 AM
#79
Posted 09 November 2010 - 12:38 PM
TNX for yr help.
graben asked me reading THIS unattended file
Here bellow the informations inside the "Unattendes Windows Setup Reference for Windows 7".
Inside components | Microsft-Windows-Setup | DiskConfiguration | Type
<DiskConfiguration>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<!-- Create the recovery partition -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Extend>false</Extend>
<Type>Primary</Type>
<Size>200</Size>
</CreatePartition>
<!-- Create the utility partition -->
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>250</Size>
<Type>Primary</Type>
</CreatePartition>
<!-- Create the system partition -->
<CreatePartition wcm:action="add">
<Order>3</Order>
<Size>100</Size>
<Type>Primary</Type>
</CreatePartition>
<!-- Create the extended partition -->
<CreatePartition wcm:action="add">
<Order>4</Order>
<Extend>true</Extend>
<Type>Extended</Type>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition wcm:action="add">
<Order>5</Order>
<Size>15000</Size>
<Type>Logical</Type>
</CreatePartition>
<!-- Create the data partition, with a size of 100. This will be overwritten in the Modify section -->
<CreatePartition wcm:action="add">
<Order>6</Order>
<Type>Logical</Type>
<Extend>false</Extend>
<Size>100</Size>
</CreatePartition>
</CreatePartitions>
<!-- Modify the recovery partition -->
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>Recovery</Label>
<TypeID>0x27</TypeID>
</ModifyPartition>
<!-- Modify the utility partition -->
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Utility</Label>
<Letter>U</Letter>
</ModifyPartition>
<!-- Modify the system partition -->
<ModifyPartition wcm:action="add">
<PartitionID>3</PartitionID>
<Active>true</Active>
<Order>3</Order>
<Label>System</Label>
<Format>NTFS</Format>
</ModifyPartition>
<!-- The extended partition does not need to be modified -->
<!-- Modify the Windows partition -->
<ModifyPartition wcm:action="add">
<Order>4</Order>
<Format>NTFS</Format>
<PartitionID>5</PartitionID>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
<!-- Modify the data partition -->
<ModifyPartition wcm:action="add">
<Order>5</Order>
<Format>NTFS</Format>
<PartitionID>6</PartitionID>
<Label>Data</Label>
<Letter>D</Letter>
<Extend>true</Extend>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>5</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
#80
Posted 09 November 2010 - 12:50 PM
Quote
"Unattended Windows Setup Reference for Windows 7.chm"
Unattended Installation Settings Reference
Components
Microsoft-Windows-Setup | DiskConfiguration |Disk | ModifyPartition | Extend
Useful infos. Thanks
This post has been edited by myselfidem: 09 November 2010 - 01:01 PM
- ← Powerplan setting by unattend.xml
- Unattended Windows 7/Server 2008R2
- Batch script to install Updates Takes Forever! →



Help

Back to top









