How NoResDup Sections Work

NoResDup is an abbreviation for "no resource duplication." NoResDup sections are used to override the previous installation of a compatible modem. An example NoResDup section from an INF file is shown in the following, along with the Install section:

[Modem24.NoResDup] 
UNIMODEMC5D7521C, UNIMODEM7750BAAF, UNIMODEM705078AF
 
;  Modem has two entries: one for serenum ID and one for  the unimodem ID
[Models]
%Modem41PNP% = Modem24, SERENUM\PPI1907  ; PC288LCD V.34
%Modem41% = Modem24, UNIMODEMC5D7521C    ; PC288LCD V.34
 

In this example, "Modem24" refers to the name of a modem in the Install section of the INF and the Unimodem ID of three modems that use equivalent resources are listed.

This example NoResDup section instructs the Windows 95 device installer to perform an extra step when it is running the script in the Install section of your INF file. When it encounters the Install section item that installs Modem24, the installer checks the devnode tree to see if a modem is currently installed with any of the modem ID strings listed in the NoResDup section are currently installed. If one is, the installer completely replaces it by running script in the Install section for Modem24.

An example usage of a NoResDup section in a modem INF file is shown in the following. To see other examples, search all existing Windows 95 INF files for "NoResDup."