How To Automate Preinstallation of USB with OSR2.5 (189145)



The information in this article applies to:

  • Microsoft OEM Preinstall Kit (OPK) 95 OSR2.5

This article was previously published under Q189145

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:
  1. Start the OPK Wizard. Answer all questions until you get to the Application Preinstall Launcher dialog box.
  2. Click Add in the Application Preinstall Launcher dialog box.
  3. Name the application in the field that is given.
  4. In the Explicit path field, type the following:

    C:\Windows\Options\Cabs\Oemusb.exe

    Click OK.
  5. Complete the rest of the OPK Wizard and create the configuration set.
  6. Create the Preinstall Boot Floppy through MKPBF.bat.
  7. Put the PBF in the floppy drive of the reference machine.
  8. Open Windows Explorer and go to the A:\Pre_Img\FactOnly folder.
  9. Right click on Transfer.bat, and select Edit to edit the file.
  10. Add the following lines under the first set source statement:
               oxcopy /v %source%\..\other\updates\usb\oemusb.exe
           C:\windows\options\cabs
               if errorlevel 1 goto copyerr
    						
  11. Save the file to the PBF. Click Yes when you are prompted to overwrite the existing file.
  12. Continue the preinstallation process by starting the target machine through the PBF.

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.

REFERENCES

You can find detailed preinstallation documentation, references, chat transcripts, and Frequently Asked Questions on the following Web site:

Modification Type:MinorLast Reviewed:3/7/2005
Keywords:kbhowto kbSBK KB189145