Article ID: 2494168 - View products that this article applies to.
Deployment of Windows Vista fails with the error message, "The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click "OK" to restart the computer, and then restart the installation.".
The setuperr.log shows the following:
The installed version of Kernel Mode Driver Framework (KMDF) is 1.7.6001. Any driver which requires a later version of the KMDF (in this case, version 1.9.7600) requires an immediate reboot during the KMDF installation. This reboot is unexpected by Setup, and deployment fails as a result.
Preinstall the updated version of KMDF in the image prior to installing any drivers dependent on the updated version. This will avoid the unexpected reboot.
How to pre-install an updated version of KMDF:
1. Extract the install package out of the WDF co-installer
The KMDF 1.9 co-installer is in %WinDDK%\redist\wdf\<arch>\wdfcoinstaller01009.dll
Drag-and-drop the co-installer into Visual Studio or use File/Open to load the binary. You can also use any other resource extractor.
By default, you'll see the co-installers' resources. Look at the RCDATA resources. The KMDF co-installer has a resource called WDFCAB_RESOURCE
Right click on the resource name, select export and find a directory to extract the resources.
The filename needs to have a .cab extension (e.g. wdf.cab).
If you uncompress the .cab KMDF file, you'll see a file called Microsoft Kernel-Mode Driver Framework Install-v1.9-Vista.msu
expand –f:* wdf.cab tmp
2. Integrate the MSU into the OS image
Copy Vista setup files to C:\temp\vista
Use any zip utility (e.g. WinZip) to open the KMDF 1.9 MSU file, and extract Windows6.0-KB970158-x64.cab to C:\Temp\wdf
Integrate the CAB file to Vista setup files:
Dism /Get-WIMInfo /WimFile:c:\Temp\vista\sources\install.wim
Dism /Mount-WIM /WimFile:c:\Temp\vista\sources\install.wim /name:"Windows Vista ULTIMATE" /MountDir:c:\Temp\offline
Dism /image:C:\Temp\offline /Add-Package /PackagePath:C:\Temp\wdf\Windows6.0-KB970158-x64.cab
Dism /Unmount-WIM /MountDir:C:\Temp\offline /Commit
3. The updated WIM may be deployed using any of the documented methods in the WAIK and/or OPK toolset.
For example, the WIM may be deployed via WDS, via creating a bootable ISO image, or from USB flash device (UFD) as documented in the WAIK and OPK.
Please reference the WAIK and/or OPK documentation for further information on deployment scenarios.
The procedure for User Mode Drver Framework (UMDF) is similar, but begins with the co-installer %WinDDK%\redist\wdf\<arch>\wudfcoinstaller01009.dll
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2494168 - Last Review: February 23, 2011 - Revision: 1.0
Contact us for more help