|
Prev: Windows VISTA and SCSI drivers
Next: determine x64
From: Dan <Dan on 6 Feb 2006 16:35 I have developed a Device coinstaller that utilizes in box MS drivers based off the DDK toaster sample. Since I cannot redistribute in box drivers how to I have my co installer point to the in box driver without the Files needed box showing up? I noticed if I copy the driver to my distribution folder and tell the installer the location I do not recieve the Files needed box anymore. But leaving the driver in the system32 drivers directory and pointing the driverpath to that directory I get the box Any suggestions?
From: Eliyas Yakub [MSFT] on 8 Feb 2006 11:57 I don't understand your question fully. You probably have an INF that uses your coinstaller and an inbox driver. Correct? Do you have LayoutFile entry in your INF. Read these sections: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_r/hh/DevInst_r/inf-format_99d7a25e-5585-4c98-a347-3ee499cacce8.xml.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/hh/DevInst_d/create-inf_b2e9e3d3-8db8-4cbb-a37b-ab66413a5132.xml.asp They describe how to include an inbox driver in your INF. -Eliyas
From: Dan on 8 Mar 2006 15:08 Thanks Eliyas I have abandoned the Co installer and went with WHQL. But recently we received WHQL cert on this INF and we are still being asked for the driver anyway. When we point to the usbser.sys inbox driver it warns us that the driver is unsigned. We have the include=mdmcpq.inf in the INF with no needs directive. We have also included the latest DriverVer information for the usbser.sys driver in the INF. [SourceDisksNames] and [SourceDisksFiles] are both empty because we need to use the resident inbox driver. I cannot seem to locate information on these directives to point to the inbox driver. All the links indicate how to use these with OEM supplied drivers. When I put the Layout instruction into the INF the chkinf tool returns a warning Line 6: WARNING: (W22.1.2013) Remove LayoutFile entry. LayoutFile entry used ONLY by internal Microsoft engineering. I have searched the DDK and the MSDN and tried to implement the INF directives as indicated but there are still issues Do you have any other ideas? Dan "Eliyas Yakub [MSFT]" wrote: > I don't understand your question fully. You probably have an INF that uses > your coinstaller and an inbox driver. Correct? Do you have LayoutFile entry > in your INF. Read these sections: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_r/hh/DevInst_r/inf-format_99d7a25e-5585-4c98-a347-3ee499cacce8.xml.asp > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/hh/DevInst_d/create-inf_b2e9e3d3-8db8-4cbb-a37b-ab66413a5132.xml.asp > > They describe how to include an inbox driver in your INF. > > -Eliyas > > >
From: Eliyas Yakub [MSFT] on 9 Mar 2006 20:49 Here is a sample INF file that refers to an inbox INF "netrndis.inf" to install the usb8023y.sys & rndismpy.sys. It shows how to use Needs and Include sections. I would follow that. ; Template INF for a USB Remote NDIS Device [Version] Signature = "$Windows NT$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Acme% DriverVer = 02/20/2000,5.1.2505.0 ;CatalogFile = Acme.cat [Manufacturer] %Acme% = AcmeDevices,NT.5.1 [AcmeDevices] %AcmeDevice% = RNDIS, USB\VID_vvvv&PID_pppp [AcmeDevices.NT.5.1] %AcmeDevice% = RNDIS.NT.5.1, USB\VID_vvvv&PID_pppp [ControlFlags] ExcludeFromSelect=* ; Windows LH specific sections ----------------------------------- [RNDIS.NT.5.1] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 include = netrndis.inf needs = Usb_Rndis.ndi AddReg = Rndis_AddReg_XP [RNDIS.NT.5.1.Services] include = netrndis.inf needs = Usb_Rndis.ndi.Services ; no sys copyfiles - the sys files are already in place ; An optional Windows LH Property to demonstrate adding advanced properties on Windows LH [RNDIS_AddReg_XP] HKR, NDI\params\XPProperty, ParamDesc, 0, %XP_Property% HKR, NDI\params\XPProperty, type, 0, "edit" HKR, NDI\params\XPProperty, LimitText, 0, "12" HKR, NDI\params\XPProperty, UpperCase, 0, "1" HKR, NDI\params\XPProperty, default, 0, " " HKR, NDI\params\XPProperty, optional, 0, "1" ; override the upperrange and lowerrange specified by netrndis.inf HKR, Ndi\Interfaces, UpperRange, 0, "ndis5_ip, ndis5_ip6" HKR, Ndi\Interfaces, LowerRange, 0, "atm" [SourceDisksNames] 1=%SourceDisk%,,1 [SourceDisksFiles] usb8023y.sys=1 rndismpy.sys=1 [DestinationDirs] RNDIS_CopyFiles_NT = 12 [Strings] ServiceDisplayName = "USB RNDIS Adapter" NetworkAddress = "Network Address" XP_Property = "Optonal XP Property" Acme = "Acme Corporation" AcmeDevice = "Acme USB Remote NDIS Network Device" SourceDisk = "Acme USB Network Driver Install Disk" -- -Eliyas This posting is provided "AS IS" with no warranties, and confers no rights. http://www.microsoft.com/whdc/driver/kernel/KB-drv.mspx
|
Pages: 1 Prev: Windows VISTA and SCSI drivers Next: determine x64 |