If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Help! Windows 98 INF file, Driver file (.sys) is not getting copied into system directory
Hi Everybody,
We have a plug and play driver for PCI based add on card in windows 2000/XP. It is working successfully. We are using the same INF file to install the driver for the same PCI card in Widows 98. Our driver file (.sys) is not copying into the system directory. Is there any mistake in copyfile section of below given INF file.But after installation, in the device manager properties, all the resources are allocated for the card.It is showing driver is working properly. But our driver file (.sys) is not copied into either system or system32\drivers folder of windows directory. Without driver files, only with INF information is it possible to detect a card and allocate resources for it. Please correct my INF file given below which should be installed in windows 98. Thanks in Advance. Mahender. [Version] Signature="$Windows NT$" Class=APOORVAPCI ClassGUID={643E59F2-A018-432c-87C3-9BFC93B5BEDC} Provider=%ACL% DriverVer=012/01/2006 ; ; Information for installing the APOORVAPCI class ; [ClassInstall32] AddReg=ClassAddReg [ClassAddReg] HKR,,,,%PCIClassName% HKR,,Icon,,"-18" ; ; Information for installing the PCI class ; ; ; Manufacturer ; [ControlFlags] ExcludeFromSelect = PCI\VEN_10B5&DEV_9050&SUBSYS_905010B5&REV_02 [Manufacturer] %ACL%=APOORVADR [APOORVADR] %Apoorva1553PCI.DeviceDesc%=PCICARD,PCI\VEN_10B5&D EV_9050&SUBSYS_905010B5&REV_02 [PCICARD.NT] ; Begin a DDInstall section CopyFiles=CopyApoorvaFiles,CopyApoorvaDll ; Call out a CopyFiles section AddReg=ApoorvaRegSection ; Call out an AddReg section [CopyApoorvaFiles] ; Begin a CopyFiles section Apoorva.SYS,,,2 [CopyApoorvaDll] ; Begin a CopyFiles section Apoorva_BCRTMT.dll [ApoorvaRegSection] ; Begin an AddReg section HKR,"Parameters","Coordinates",FLG_ADDREG_TYPE_DWO RD,0 [PCICARD.NT.Services] ; DDInstall.Services sec. AddService=Apoorva,2,ApoorvaService, Apoorva1553.EventLog [PCICARD.NT.HW] AddReg = pci_Location_AddReg ;Setup the SCM registry entries so driver can start [ApoorvaService] ServiceType=1 ; driver StartType=3 ; On-demand (manual) ErrorControl=1 ; report errors ServiceBinary=%12%\Apoorva.SYS ; Path to Driver [Apoorva1553.EventLog] AddReg = Apoorva1553.AddEventLog.reg [Apoorva1553.AddEventLog.reg] HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\Apoorva.sys" HKR,, TypesSupported, 0x00010001, 7 [pci_Location_AddReg] HKR,,FriendlyName,,"PCI 1553B DEVICE" [DestinationDirs] ; Specifies where files are copied to ;DefaultDestDir=12 ; %windr%\system32\drivers CopyApoorvaFiles=12 ; %windr%\system32\drivers CopyApoorvaDll=11 ; %windr%\system32 [SourceDisksNames] ; This section is not really required because we have ; only one file and it probably fit on one disk. 1="Apoorva1553PCI Driver Files" [SourceDisksFiles] ; Similarly,since everything came from one disk, ; we don't really need this section either. Apoorva.SYS=1 [Strings] ACL="Apollo Computing Laboratories" PCIClassName="Apoorva1553PciCard" Apoorva1553PCI.DeviceDesc="Apollo" |
#3
|
|||
|
|||
Help! Windows 98 INF file, Driver file (.sys) is not getting copied into system directory
You can't use an NT driver in 98.
-- Brian A. Sesko { MS MVP_Shell/User } Conflicts start where information lacks. http://basconotw.mvps.org/ Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm How to ask a question: http://support.microsoft.com/kb/555375 wrote in message oups.com... Hi Everybody, We have a plug and play driver for PCI based add on card in windows 2000/XP. It is working successfully. We are using the same INF file to install the driver for the same PCI card in Widows 98. Our driver file (.sys) is not copying into the system directory. Is there any mistake in copyfile section of below given INF file.But after installation, in the device manager properties, all the resources are allocated for the card.It is showing driver is working properly. But our driver file (.sys) is not copied into either system or system32\drivers folder of windows directory. Without driver files, only with INF information is it possible to detect a card and allocate resources for it. Please correct my INF file given below which should be installed in windows 98. Thanks in Advance. Mahender. [Version] Signature="$Windows NT$" Class=APOORVAPCI ClassGUID={643E59F2-A018-432c-87C3-9BFC93B5BEDC} Provider=%ACL% DriverVer=012/01/2006 ; ; Information for installing the APOORVAPCI class ; [ClassInstall32] AddReg=ClassAddReg [ClassAddReg] HKR,,,,%PCIClassName% HKR,,Icon,,"-18" ; ; Information for installing the PCI class ; ; ; Manufacturer ; [ControlFlags] ExcludeFromSelect = PCI\VEN_10B5&DEV_9050&SUBSYS_905010B5&REV_02 [Manufacturer] %ACL%=APOORVADR [APOORVADR] %Apoorva1553PCI.DeviceDesc%=PCICARD,PCI\VEN_10B5&D EV_9050&SUBSYS_905010B5&REV_02 [PCICARD.NT] ; Begin a DDInstall section CopyFiles=CopyApoorvaFiles,CopyApoorvaDll ; Call out a CopyFiles section AddReg=ApoorvaRegSection ; Call out an AddReg section [CopyApoorvaFiles] ; Begin a CopyFiles section Apoorva.SYS,,,2 [CopyApoorvaDll] ; Begin a CopyFiles section Apoorva_BCRTMT.dll [ApoorvaRegSection] ; Begin an AddReg section HKR,"Parameters","Coordinates",FLG_ADDREG_TYPE_DWO RD,0 [PCICARD.NT.Services] ; DDInstall.Services sec. AddService=Apoorva,2,ApoorvaService, Apoorva1553.EventLog [PCICARD.NT.HW] AddReg = pci_Location_AddReg ;Setup the SCM registry entries so driver can start [ApoorvaService] ServiceType=1 ; driver StartType=3 ; On-demand (manual) ErrorControl=1 ; report errors ServiceBinary=%12%\Apoorva.SYS ; Path to Driver [Apoorva1553.EventLog] AddReg = Apoorva1553.AddEventLog.reg [Apoorva1553.AddEventLog.reg] HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\Apoorva.sys" HKR,, TypesSupported, 0x00010001, 7 [pci_Location_AddReg] HKR,,FriendlyName,,"PCI 1553B DEVICE" [DestinationDirs] ; Specifies where files are copied to ;DefaultDestDir=12 ; %windr%\system32\drivers CopyApoorvaFiles=12 ; %windr%\system32\drivers CopyApoorvaDll=11 ; %windr%\system32 [SourceDisksNames] ; This section is not really required because we have ; only one file and it probably fit on one disk. 1="Apoorva1553PCI Driver Files" [SourceDisksFiles] ; Similarly,since everything came from one disk, ; we don't really need this section either. Apoorva.SYS=1 [Strings] ACL="Apollo Computing Laboratories" PCIClassName="Apoorva1553PciCard" Apoorva1553PCI.DeviceDesc="Apollo" |
#4
|
|||
|
|||
Help! Windows 98 INF file, Driver file (.sys) is not getting copied into system directory
Thank u Mr.Ingeborg and Mr.Brian.
Our driver is compiled using windows 98 DDK. Iam not installing 2000/XP driver file straight away in windows 98. I took an example from windows98 DDK. I written minimum code in the driver for card detection and allocating resources. With out the use of sys file, with only INF file information our card is getting detected and allocating resources. Is it possible? Or any mistake Iam doing? My doubt is copy file section of my INF file that whether Iam doing it properly or not? Please guide me if any mistake. Thanks in Advance. Mahender. |
#5
|
|||
|
|||
Help! Windows 98 INF file, Driver file (.sys) is not getting copied into system directory
IIRC there were drivers written under the Win32API that were used for both
NT and 98, but you cannot assume that something written for XP would be done that way. wrote in message oups.com... Hi Everybody, We have a plug and play driver for PCI based add on card in windows 2000/XP. It is working successfully. We are using the same INF file to install the driver for the same PCI card in Widows 98. Our driver file (.sys) is not copying into the system directory. Is there any mistake in copyfile section of below given INF file.But after installation, in the device manager properties, all the resources are allocated for the card.It is showing driver is working properly. But our driver file (.sys) is not copied into either system or system32\drivers folder of windows directory. Without driver files, only with INF information is it possible to detect a card and allocate resources for it. Please correct my INF file given below which should be installed in windows 98. Thanks in Advance. Mahender. [Version] Signature="$Windows NT$" Class=APOORVAPCI ClassGUID={643E59F2-A018-432c-87C3-9BFC93B5BEDC} Provider=%ACL% DriverVer=012/01/2006 ; ; Information for installing the APOORVAPCI class ; [ClassInstall32] AddReg=ClassAddReg [ClassAddReg] HKR,,,,%PCIClassName% HKR,,Icon,,"-18" ; ; Information for installing the PCI class ; ; ; Manufacturer ; [ControlFlags] ExcludeFromSelect = PCI\VEN_10B5&DEV_9050&SUBSYS_905010B5&REV_02 [Manufacturer] %ACL%=APOORVADR [APOORVADR] %Apoorva1553PCI.DeviceDesc%=PCICARD,PCI\VEN_10B5&D EV_9050&SUBSYS_905010B5&RE V_02 [PCICARD.NT] ; Begin a DDInstall section CopyFiles=CopyApoorvaFiles,CopyApoorvaDll ; Call out a CopyFiles section AddReg=ApoorvaRegSection ; Call out an AddReg section [CopyApoorvaFiles] ; Begin a CopyFiles section Apoorva.SYS,,,2 [CopyApoorvaDll] ; Begin a CopyFiles section Apoorva_BCRTMT.dll [ApoorvaRegSection] ; Begin an AddReg section HKR,"Parameters","Coordinates",FLG_ADDREG_TYPE_DWO RD,0 [PCICARD.NT.Services] ; DDInstall.Services sec. AddService=Apoorva,2,ApoorvaService, Apoorva1553.EventLog [PCICARD.NT.HW] AddReg = pci_Location_AddReg ;Setup the SCM registry entries so driver can start [ApoorvaService] ServiceType=1 ; driver StartType=3 ; On-demand (manual) ErrorControl=1 ; report errors ServiceBinary=%12%\Apoorva.SYS ; Path to Driver [Apoorva1553.EventLog] AddReg = Apoorva1553.AddEventLog.reg [Apoorva1553.AddEventLog.reg] HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\Apoorva.sys" HKR,, TypesSupported, 0x00010001, 7 [pci_Location_AddReg] HKR,,FriendlyName,,"PCI 1553B DEVICE" [DestinationDirs] ; Specifies where files are copied to ;DefaultDestDir=12 ; %windr%\system32\drivers CopyApoorvaFiles=12 ; %windr%\system32\drivers CopyApoorvaDll=11 ; %windr%\system32 [SourceDisksNames] ; This section is not really required because we have ; only one file and it probably fit on one disk. 1="Apoorva1553PCI Driver Files" [SourceDisksFiles] ; Similarly,since everything came from one disk, ; we don't really need this section either. Apoorva.SYS=1 [Strings] ACL="Apollo Computing Laboratories" PCIClassName="Apoorva1553PciCard" Apoorva1553PCI.DeviceDesc="Apollo" |
#6
|
|||
|
|||
Help! Windows 98 INF file, Driver file (.sys) is not getting copied into system directory
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Win98SE constant problems-ole32,shell32,other | MEB | General | 14 | January 15th 06 04:39 AM |
SCANDISK on 6GB drive producing Errors at 2.09GB to end. | Jerry | Disk Drives | 15 | July 21st 05 07:00 PM |
Shenan Stanley vies for longest Master Post title! | PA Bear | General | 5 | May 21st 05 05:27 PM |
Invalid System Disk | Robert | General | 27 | January 2nd 05 01:59 AM |
Folder Named [C:\Program] Opens Automatically on Start | Ted Belben | General | 2 | September 16th 04 11:39 PM |