Microsoft KB Archive/189145

{|
 * width="100%"|

HOWTO: Automate Preinstallation of USB with OSR2.5

 * }

Q189145

-

The information in this article applies to:


 * Microsoft OEM Preinstall Kit (OPK), version 95 OSR2.5

-

SUMMARY
Universal Serial Bus (USB) provides a bidirectional, isochronous, and dynamically attachable serial interface for adding peripheral devices such as game controllers, serial and parallel ports, and scanners on a single bus. Microsoft provides support for USB using the Microsoft Win32 Driver Model (WDM). The Windows 95 OSR 2.5 CD comes with an optionally preinstallable USB support update in the \Other\Updates\USB directory.

There are two methods of preinstalling the USB update. This article discusses how to preinstall the USB supplement from the Application Preinstallation Launcher.

MORE INFORMATION
The following steps will preinstall the USB update using the Application Preinstall Launcher:

 Start the OPK Wizard. Answer all questions until you get to the Application Preinstall Launcher dialog box. Click Add in the Application Preinstall Launcher dialog box. Name the application in the field that is given.  In the Explicit path field, type the following: "C:\Windows\Options\Cabs\Oemusb.exe" Click OK.  Complete the rest of the OPK Wizard and create the configuration set. Create the Preinstall Boot Floppy through MKPBF.bat. Put the PBF in the floppy drive of the reference machine. Open Windows Explorer and go to the A:\Pre_Img\FactOnly folder.</li> Right click on Transfer.bat, and select Edit to edit the file.</li>  Add the following lines under the first set source statement: <pre class="CODESAMP">          oxcopy /v %source%\..\other\updates\usb\oemusb.exe C:\windows\options\cabs if errorlevel 1 goto copyerr </li> Save the file to the PBF. Click Yes when you are prompted to overwrite the existing file.</li> Continue the preinstallation process by starting the target machine through the PBF.</li></ol>

Important Notes

 * The USB update is supplied as an extra to the users. It is not mandatory to install it. If the computer has USB ports and the user decides to install devices that require USB support, then the devices might not function or might malfunction if the update is not installed.
 * OEMUSB.exe must be the last application specified through the Application Preinstall Launcher.
 * You can also copy the file OEMUSB.exe to any directory other than C:\Windows\Options\Cabs. If you copy it to a different folder, it must be the same as the one referenced in the edited Transfer.bat file.
 * To verify whether that file is actually being copied to the hard drive, you can give explicit "ECHO ON" and "ECHO OFF" statements before and after the new lines in Transfer.bat (see step 10 in the previous section).
 * If the USB supplement is properly enabled, a progress bar appears during the system configuration portion of Setup. An entry for USB can also be seen in the Add/Remove Programs portion of Control Panel.