MobileTek Posted May 11, 2010 Share Posted May 11, 2010 Having a strange issue with the autounattended files I have created for 7 Pro x86. The problem is every install media I use it on it installed home premium instead of pro.I have creaded a unattended installer for each of the x86 and x64 windows 7 versions, and this is the only one that is giving me problems. Is there a way in the unattended file to specify which version of windows you want to install?here is the unattended file I have that is installing home premium instead of pro:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Deployment" 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"> <Reseal> <Mode>Audit</Mode> </Reseal> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>1</ProtectYourPC> <NetworkLocation>Home</NetworkLocation> </OOBE> </component> </settings> <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"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </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"> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>200</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>System</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Windows</Label> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>get you own key</Key> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="specialize"> <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"> <Themes> <DesktopBackground>C:\Windows\Globalization\MCT\MCT-ZA\Wallpaper\ZA-wp2.jpg</DesktopBackground> <ThemeName>MobileTek</ThemeName> <WindowColor>Slate</WindowColor> </Themes> </component> <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"> <SearchScopes> <Scope wcm:action="add"> <FaviconURL>http://www.google.com/favicon.ico</FaviconURL> <ScopeDisplayName></ScopeDisplayName> <ScopeUrl>http://www.google.com/search?q={searchTerms}&amp;rls=com.microsoft:{language}&amp;ie={inputEncoding}&amp;oe={outputEncoding}&amp;startIndex={startIndex?}&amp;startPage={startPage}</ScopeUrl> <SuggestionsURL>http://clients5.google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}</SuggestionsURL> <ScopeKey>Google</ScopeKey> </Scope> </SearchScopes> <StartPages> <StartPage wcm:action="add"> <StartPageUrl>HTTP://www.google.ca</StartPageUrl> <StartPageKey>Google</StartPageKey> </StartPage> </StartPages> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/jc/desktop/new%20folder/install.wim#Windows 7 PROFESSIONAL (x86)" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Link to comment Share on other sites More sharing options...
MrJinje Posted May 11, 2010 Share Posted May 11, 2010 I don't see any "InstallFrom" section. See the sticky for greater details.Sorry for bad spacing, mixing two different snippets like this make the formatting look like junk. <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 PROFESSIONAL</Value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>onerror</WillShowUI> </OSImage> </ImageInstall> Link to comment Share on other sites More sharing options...
santac Posted May 11, 2010 Share Posted May 11, 2010 (edited) on another note, how do you know what code that should be in the image file and in the client file etc? WAIK does not that specify that Edited May 11, 2010 by santac Link to comment Share on other sites More sharing options...
Tripredacus Posted May 12, 2010 Share Posted May 12, 2010 on another note, how do you know what code that should be in the image file and in the client file etc? WAIK does not that specify thatYes, the WinPE related passes go in the WDSClientUnattend.xml, the other passes are attached to the install images. Here is an example of my unattend file that is for the boot image. Yes it is for Vista but the passes are still the same. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now