DOCUMENT:Q77404 10-MAR-2000 [win16ddk] TITLE :PRB: SETUP.EXE Fails to Replace OEM Drivers PRODUCT :Microsoft Windows Device Driver Kit PROD/VER::3.0,3.1 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows Device Development Kit (DDK) for Windows, versions 3.0, 3.1 ------------------------------------------------------------------------------- SYMPTOMS ======== When SETUP.EXE is used to replace a device driver specified in the OEMSETUP.INF file, the driver is not replaced. CAUSE ===== When SETUP.EXE finds that a file of a specified name already exists on the target machine, it assumes that the driver is already installed and only updates the .INI file. RESOLUTION ========== There are two ways to work around this problem: 1. Change the name of the driver to reflect the newer version 2. Write a program that runs prior to SETUP.EXE that deletes older versions of the driver files. MORE INFORMATION ================ The first resolution option is superior because version information is stored in the filename. The date stamp is subject to corruption by the inadvertent use of a "touch" program. For example, version 1.0 of a custom VGA driver might be released as follows: MYVGA.DRV 72816 11-09-90 12:00a When the driver is updated, version 1.2 might be released as follows: MYVGA_2.DRV 111512 04-07-91 03:00a This technique avoids the Setup constraint, and also eases the burden of identifying the installed driver for troubleshooting purposes. Additional query words: 3.00 3.10 ====================================================================== Keywords : Technology : kbAudDeveloper kbWin3xSearch kbWinDDKSearch kbWinDDK300 kbWinDDK310 Version : :3.0,3.1 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2000.