When creating both x86 and x64 Windows PE images, provide both x86 and x64 version of any tools that will be used. MDT 2008 provides a method to add additional file to the Windows PE image using the Extras folder which is configured on the Windows PE tab of the deployment point properties dialog
There is only one folder that can be specified. 64 bit Windows PE has no 32 Bit WOW subsystem, tool executables for each architecture must be provided.
Here is a one line batch file that solves the problem:
Here are the steps to make makecab.exe available in Windows PE:
Anything added to the Extras folder goes into the root of the WIM and thus the root of X: when the WIM is booted. The Processor_Architecture variable will contain the value amd64, x86, or IA64 (Note: MDT does not support IA64). In a batch file the variable %0 is the name of the batch file. the prefix ~n modifies the variable %0 to by dropping the extension. So in the example, the line in the batch file expands to x:\tools\amd64\makecab.exe in 64 bit Windows PE and x:\tools\x86\makecab.exe in 32 bit Windows PE.
This post was contributed by Dave Hornbaker a senior consultant with Microsoft Services - U.S. East Region.
Very good article on using the env. variables to select the correct version of tools required ! Thank you.
One small point is that in Step 3 I think you have dropped a directory from the 32bit version ? ie e:\tools\x86 should really be e:\Exrta\Tools\x86 ?