grabben Posted November 9, 2010 Posted November 9, 2010 The link is now fixed!coucou: Try edit the unattended file i posted. Just add another <createpartition> or copy/modify one existing.
coucou Posted November 9, 2010 Posted November 9, 2010 (edited) coucou: Try edit the unattended file i posted. Just add another <createpartition> or copy/modify one existing.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 Edited November 9, 2010 by coucou
myselfidem Posted November 9, 2010 Posted November 9, 2010 (edited) Hello coucou! You can read some informations inside the "Unattendes Windows Setup Reference for Windows 7".Inside components | Microsft-Windows-Setup | DiskConfiguration | TypeExtract:Extended 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 Edited November 9, 2010 by myselfidem
coucou Posted November 9, 2010 Posted November 9, 2010 HI myselfidem,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>
myselfidem Posted November 9, 2010 Posted November 9, 2010 (edited) Very nice coucou! Path: "Unattended Windows Setup Reference for Windows 7.chm"Unattended Installation Settings ReferenceComponentsMicrosoft-Windows-Setup | DiskConfiguration |Disk | ModifyPartition | ExtendUseful infos. Thanks Edited November 9, 2010 by myselfidem
maxXPsoft Posted November 9, 2010 Author Posted November 9, 2010 (edited) coucou you do have the waik helpWAIK help fileThe following diagram and XML output shows Autounattend.xml Disk Configuration settings for a system with primary, extended, and logical partitions:that was one I was looking at myselfdiem picture but you don't want them 0x27 Edited November 9, 2010 by maxXPsoft
coucou Posted November 12, 2010 Posted November 12, 2010 (edited) TNX both maxXPsoft and myselgidem.You'll find the diagram and XML output exactly inside Unattend.chm Installation Settings Reference/ Components/Microsoft-Windows-Setup/Disk Configuration/Disk/Create Partitions/Create Partition/TypeXML ExampleBIOS-Based SystemsThe following XML output for the DiskConfiguration setting shows a configuration for a BIOS-based system with six partitions, including three primary partitions, an extended partition, and two logical partitions.I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it. Edited November 12, 2010 by coucou
myselfidem Posted November 22, 2010 Posted November 22, 2010 I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it.Hello coucou!About Recovery partitionYou can find help here:http://www.pagestart.com/windows7korner.htmlI hope that can help you!
coucou Posted November 22, 2010 Posted November 22, 2010 I didn't take yet the decision for the 0x27. As I wrote here above #75 I never used a Recovery partition (utlity 1) before, It is really usefull?Regarding the utlity 2 parttion its automatically created anyway and 100MB are allowed to it.Hello coucou!About Recovery partitionYou can find help here:http://www.pagestart.com/windows7korner.htmlI hope that can help you!Thank you myselfidem You have 2 PM'sRegards
grabben Posted December 7, 2010 Posted December 7, 2010 Now includes the auditSystem auditUser stuffx64_AutoUnattend - AUDIT.xmlany ? askEDIT: It also shows how if you copy your Drivers folder to root of Dvd and <settings pass="offlineServicing"> and use the <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Path>%systemdrive%\Drivers</Path> </PathAndCredentials> </DriverPaths> </component>If you inject Drivers then remove that partWe at MDL Forum have these autounattend.xml files: FilesHm If we want masstorage drivers (downloaded from lets say driverpacks.net) how to have the setup read from that folder without injecting? Is it that <path>%systemdrive%\Drivers\Whereever we have them</path> line above? And how about when installing Windows 7? Does masstorage have to be installed to windows as well or is it only for setup (installed to windows by setup)? Not having drivers injected will save some space on my 7 AIO Hm been looking around myself for a quick while..
coucou Posted January 4, 2011 Posted January 4, 2011 (edited) Hi,I've prepared Win7 French tested it worked like acharm.Then I decide to prepare a Win7 English with an added French lagPack. I tested it, and at the end of the install i have a Browser Choice window (see image bellow).How can I disable that window with Autounattend.xml?<?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.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SystemLocale>en-us</SystemLocale> <UserLocale>en-us</UserLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <InputLocale>0409:00000409</InputLocale> </component> <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"> <Diagnostics> <OptIn>false</OptIn> </Diagnostics> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>720</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <DynamicUpdate> <Enable>false</Enable> <WillShowUI>OnError</WillShowUI> </DynamicUpdate> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 ULTIMATE</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <FullName></FullName> <Organization></Organization> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> <EnableFirewall>true</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" 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"> <EnableLUA>false</EnableLUA> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <Home_Page>http://www.free.fr/adsl/</Home_Page> <BlockPopups>yes</BlockPopups> <FavoritesOnTop>true</FavoritesOnTop> <FilterLevel>High</FilterLevel> <Help_Page>http://people.consolidated.net/veeger/</Help_Page> <DisableFirstRunWizard>true</DisableFirstRunWizard> <DisableWelcomePage>true</DisableWelcomePage> <PlaySound>false</PlaySound> <ShowInformationBar>true</ShowInformationBar> <SearchScopes> <Scope wcm:action="add"> <ScopeDefault>true</ScopeDefault> <ScopeDisplayName>Google</ScopeDisplayName> <ScopeKey>Search1</ScopeKey> <ScopeUrl>http://www.google.com/advanced_search?hl=fr</ScopeUrl> </Scope> </SearchScopes> <LockToolbars>true</LockToolbars> <ShowLeftAddressToolbar>true</ShowLeftAddressToolbar> <ShowMenuBar>true</ShowMenuBar> <SuggestedSitesEnabled>true</SuggestedSitesEnabled> </component> <component name="Microsoft-Windows-RemoteAssistance-Exe" 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"> <fAllowFullControl>false</fAllowFullControl> <fAllowToGetHelp>false</fAllowToGetHelp> </component> <component name="Microsoft-Windows-Security-SPP-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component> <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"> <ComputerName>Se7en</ComputerName> <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey> <RegisteredOwner></RegisteredOwner> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>720</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <UILanguage>fr-FR</UILanguage> <UserLocale>fr-FR</UserLocale> <InputLocale>040c:0000040c</InputLocale> </component> <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"> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>720</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <RegisteredOwner></RegisteredOwner> <TimeZone>Romance Standard Time</TimeZone> <AutoLogon> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <Username>XXXXXX</Username> <Password> <Value></Value> </Password> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Kel's Win7 UberPacK v4</Description> <CommandLine>cmd /C start /wait c:\Install\Win7_UberPacK_v4.exe</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <Description>Windows Malicious Software Removal Tool December 2010</Description> <CommandLine>cmd /C start /wait c:\Install\X86-all-windows-kb890830-v3.14_cd.exe /Q</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <Description>Windows Malicious Software Removal Tool December 2010</Description> <CommandLine>cmd /C start /wait c:\Install\X86-all-windows-kb890830-v3.14-delta.exe /Q</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <Description>Windows Post Install Wizard</Description> <CommandLine>cmd /C start /wait c:\Windows\Setup\scripts\WPI.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <Themes> <ThemeName>%WINDIR%\resources\Themes\aero.theme</ThemeName> <DefaultThemesOff>false</DefaultThemesOff> <DesktopBackground>%WINDIR%\web\wallpaper\Windows\img0.jpg</DesktopBackground> </Themes> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> </Password> <Group>Administrators</Group> <DisplayName>XXXXXX</DisplayName> <Name>XXXXXX</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled> <WindowsFeatures> <ShowInternetExplorer>true</ShowInternetExplorer> <ShowMediaCenter>true</ShowMediaCenter> <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer> </WindowsFeatures> </component> <component name="Microsoft-Windows-Sidebar" 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"> <Gadget1>%PROGRAMFILES%\Windows Sidebar\Gadgets\Clock.Gadget</Gadget1> <Gadget2>%PROGRAMFILES%\Windows Sidebar\Gadgets\Calendar.Gadget</Gadget2> <Gadget3>%PROGRAMFILES%\Windows Sidebar\Gadgets\Weather.Gadget</Gadget3> </component> </settings></unattend>Regards Edited January 11, 2011 by gunsmokingman Removed User Key
maxXPsoft Posted January 5, 2011 Author Posted January 5, 2011 not sure what that windows saying but under <WindowsFeatures> remove all them because default is true unless you set to false
coucou Posted January 5, 2011 Posted January 5, 2011 not sure what that windows saying but under <WindowsFeatures> remove all them because default is true unless you set to falseI'll give a try.But the exactly a same Autounattend.xml worked fine with Win7 French
maxXPsoft Posted January 6, 2011 Author Posted January 6, 2011 If I recall the <DisableFirstRunWizard>true</DisableFirstRunWizard> in xml didn't work so I started using a reg in Firstlogoncommands;2 Prevent Performance of First Run[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]"DisableFirstRunCustomize"=dword:00000001
myselfidem Posted January 9, 2011 Posted January 9, 2011 (edited) I've found some help about the first run for Internet Explorer window choice (KB976002).[solved] Windows 7 KB976002 All Versions http://windows.microsoft.com/en-gb/windows/what-is-the-browser-choice-updatehttp://www.forum-unattend.fr/phpBB3/viewtopic.php?f=35&t=541You can add this reg file inside your unattend installation:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\BrowserChoice]"Shortcut"=dword:00000000"Enable"=dword:00000000I hope that can help you!Cheers Edited January 10, 2011 by myselfidem
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now