Jump to content

inject drivers x86 & x64 in one boot.wim or in two boot.wim


Recommended Posts

Hi i will explain what i want to do. Basically i want to have the versions windows 7 x86 and x64 with the drivers included ine the same iso file or dvd.

First I have merged the two install.wim (x86,x64) in one install.wim and it seems to work well. The problem lies in wanting to inject some drivers (x86,x64) in the boot.wim (x86,x64), but only one boot.wim x86 is present. I have some questions please if there is any suggest.

1) I must have two boot.wim (x86,x64) separately or i must merge them in one boot.wim?

2) Or i can inject the drivers (x86,x64) in the only boot.wim x86 present.

I have an other question please in order to learn how it works the begin of the installation:

When the screen prompts me to select which version x86 or x64 i want to install, after i select the version, the installation calls the boot.wim or the boot.wim is loaded before that screen?

Thanks very much

post-42561-0-04448500-1300470616_thumb.j

Edited by Major
Link to comment
Share on other sites


Thank you, respect to inject the drivers in install.wim, i have made it well. I also want the boot.wim in order to inject some crirtical drivers.

If it have understood what you have said above, first i have to merge the two boot.wim x86 & x64 in one boot.wim and then inject the critical drivers x86 & x64 in the one boot.wim created., my question how the installation knows which index of boot.wim must select?

Link to comment
Share on other sites

Interesting idea. I havent integrated both x64 and x64 into same boot.wim, not sure if it will work but please try :)

There is a good tutorial on MDL Forum for creating a complete working AIO.

I was saying you need to inject critical drivers (x86, ethernet perhaps, cpu/chipset) into index2 of boot.wim and then same drivers to Install.wim index:1 and finally inject 64bit drivers to install.wim Index:2

Link to comment
Share on other sites

You only need boot.wim 32 bit, this will work on both x86/x64 architectures

You can create a single preinstallation environment by using Windows® Preinstallation Environment (Windows PE) to employ Windows Setup to install both 32-bit and 64-bit versions of Windows. For example, you can use a 32-bit preinstallation environment to deploy both 32-bit versions and 64-bit versions of Windows® 7 and Windows Vista®.

BTW you dont have to inject any drivers into boot.wim, unless your HDD is not visible and needs you to "load driver"

Edited by ricktendo64
Link to comment
Share on other sites

you can answer me please respect to the question posted above if there is no mucn trouble.

When the screen prompts me to select which version x86 or x64 i want to install, after i select the version, the installation calls the boot.wim or the boot.wim is loaded before that screen?

the link of the screen is attached above

Thanks very much

P.S. I ask this question because if the boot.wim is loaded before the screen selection of the windows, i think i have read we can edit the bcd of the boot.wim (x86) and the include the boot.wim x64 renamed to boot64.wim, so we will have two boots: boot.wim and boot64.wim

Link to comment
Share on other sites

Any screens you see where you can select locale, Windows edition to install or even the Setup screen with the step-by-step is the boot.wim. You never actually ever see the install.wim in action. The boot.wim copies the files from install.wim to the hard drive, and then reboots to boot off the hard drive.

The 64bit boot.wim cannot install x86 images... or at least they will not show up in the selection screen, but a x86 boot.wim can show you both types. This was tested and proven using WDS tho.

Link to comment
Share on other sites

Thanks very much to all. So i will work only on the boot.wim (x86) and also i will not inject the drivers in the boot.wim as there is no need to inject them in boot.wim as they have said the experts above.

Link to comment
Share on other sites

Yes, use the Windows 7 32 bit DVD files as base and inject the x64 images into x86 install.wim

When adding updates/driver just add them to install.wim and dont worry about boot.wim unless you need a specific driver so your HDD will be visible (this is rarely the case)

Link to comment
Share on other sites

I have combined x86 and x64 in one install.wim i have injected the drivers in the install.wim. Finally i have combined the two autounattend.xml x86 & x64 in only one file. But when i wanted to try it, the screen of selecting which version i want to install has not prompted, while if i remove the file autounattend.xml, that screen appears. How can i fix it please, i want to use the file autounattend.xml and also that screen prompt to me to select the version?

Thanks

Link to comment
Share on other sites

I am sorry, i was out. Here is my single 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">
<SetupUILanguage>
<UILanguage>es-ES</UILanguage>
</SetupUILanguage>
<InputLocale>0c0a:0000040a</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UILanguage>es-ES</UILanguage>
<UserLocale>es-ES</UserLocale>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>es-ES</UILanguage>
</SetupUILanguage>
<InputLocale>0c0a:0000040a</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UILanguage>es-ES</UILanguage>
<UserLocale>es-ES</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">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>xxxx-xxxx-xxxx-xxxx-</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxxx</FullName>
<Organization>xxxx</Organization>
</UserData>
<ImageInstall>
<OSImage>
<!-- <InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo> -->
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<!-- <DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>1</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration> -->
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
</component>
<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://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>xxxx-xxxx-xxxx-xxxx-</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>xxxx</FullName>
<Organization>xxxx</Organization>
</UserData>
<ImageInstall>
<OSImage>
<!-- <InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo> -->
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>2</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<!-- <DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>1</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration> -->
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
</component>
</settings>
<settings pass="specialize">
<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-Security-SPP-UX" 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">
<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>MiEQUIPO</ComputerName>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
<TimeZone>Romance Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<CopyProfile>true</CopyProfile>
</component>
<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://www.w3.org/2001/XMLSchema-instance">
<ComputerName>MiEQUIPO</ComputerName>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
<TimeZone>Romance Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<CopyProfile>true</CopyProfile>
</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">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ShowSearchSuggestions>false</ShowSearchSuggestions>
<ScopeUrl>http://www.google.com/search?sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8&q={searchTerms}</ScopeUrl>
<ScopeKey>SearchProvider1</ScopeKey>
</Scope>
</SearchScopes>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>High</FilterLevel>
<Home_Page>www.google.es</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<UserAgent>UATEST</UserAgent>
<ShowMenuBar>true</ShowMenuBar>
<FavoritesDelete>true</FavoritesDelete>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ShowSearchSuggestions>false</ShowSearchSuggestions>
<ScopeUrl>http://www.google.com/search?sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8&q={searchTerms}</ScopeUrl>
<ScopeKey>SearchProvider1</ScopeKey>
</Scope>
</SearchScopes>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>High</FilterLevel>
<Home_Page>www.google.es</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<UserAgent>UATEST</UserAgent>
<ShowMenuBar>true</ShowMenuBar>
<FavoritesDelete>true</FavoritesDelete>
</component>
<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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>
<Description>SET %AppsRoot%</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>
<Description>SET %AppsRoot</Description>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<InputLocale>0c0a:0000040a</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UserLocale>es-ES</UserLocale>
<UILanguage>es-ES</UILanguage>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>0c0a:0000040a</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UserLocale>es-ES</UserLocale>
<UILanguage>es-ES</UILanguage>
</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">
<TimeZone>Romance Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>GQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>User</DisplayName>
<Name>User</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<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://www.w3.org/2001/XMLSchema-instance">
<TimeZone>Romance Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>bwByAGQAZQBuAGEAZABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>User</DisplayName>
<Name>User</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/windows%207/win.7.x86.x64.sp1/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Thanks.

Edited by Major
Link to comment
Share on other sites

Hide the "ImageInstall" (or at least the "InstallFrom") section(s) like you do with "DiskConfiguration"

It is currently set to choose index #1 (in your case this is the x86 image) to install automatically (also make sure you delete ei.cfg from \sources)

Edited by ricktendo64
Link to comment
Share on other sites

Thanks, the file ei.cfg was deleted. i have tried to delete InstallFrom and it has worked well, thanks again. I have 2 questions please to understand it.

as in the autounattend.xml they exist both versions x86 & x64, i am wondering if windows setup reads the whole file autounattend and then gets the version which the user has selected in the screen choice?

Before i fixed deleting InstallFrom, I have observed that as both versions exist in the same autounattend, windows setup execute the first architecture which has been read, in my case was x86. It is correct?

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...