How to: configure Windows to boot from a USB

All the PVR drivers and support files need to be added to the Target Designer specification in the XPe image just built to have the complete PVR OS build. The basic Hauppauge drivers have INF scripts.

These need to be turned into a component definition using the Component Designer – this can consume the INF file, process its dependencies and produce an SLD component definition file.

■ Use a tool such as Inctrl5 to snapshot your machine before installing the applications, then go through the install process and use Inctrl5 to ‘diff’ your development machine. This will list out the files and registry entries created during the install of the application/codec – you could then build a component based on the files and registry entries

■ Add the components to the operating system to allow the installers to run on the booted XPe operating system image. If you boot to a custom shell then you’ll need to allow an ‘administrator option’ that gets you out to a command prompt so you can run the installers

■ Add the installers to the ‘run once’ key so they get installed on first boot

Now our PVR OS image is complete, it can be built by pressing [F7] in the Target Designer. This causes a complete OS image to be assembled in the C:\Windows Embedded Images directory. The contents of this directory can then be copied to the boot-prepared USB Stick. For this PVR project I’m using the enormous 32GB Corsair Survivor.