阅读:2880回复:5
请问:一个inf文件能不能加载安装两个.sys文件
请问:一个inf文件能不能加载安装两个.sys文件
现在有两个sys文件,如果每次都分别安装的话显得麻烦,想合在一块安装。 能否实现?怎么实现? |
|
|
沙发#
发布于:2002-05-21 12:25
在两个SYS文件之间加一个逗号即可。
|
|
板凳#
发布于:2002-05-21 12:57
请问:一个inf文件能不能加载安装两个.sys文件 Can. |
|
|
地板#
发布于:2002-05-21 14:03
可以得
很多公司得同一系列的卡一般都只用一个inf来安装不同的sys, 有十几个也不稀罕 |
|
|
地下室#
发布于:2002-05-21 15:32
/********************/
可以得 很多公司得同一系列的卡一般都只用一个inf来安装不同的sys, 有十几个也不稀罕 /********************/ 这种是:inf包括各种卡的硬件号列表,只要在inf中指定硬件相应序号列表,安装的时候操作系统会识别硬件,然后去对应inf中到底安装哪个sys。 但我现在是要同时安装两个sys。 有没有例子我看看呢。 多谢。多谢各位。 |
|
|
5楼#
发布于:2002-05-21 17:28
下面是SigmaTel的AC97声卡的INF
; Copyright (c) 1999-2000 SigmaTel Inc. [Version] Signature=\"$CHICAGO$\" Class=MEDIA ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318} provider=%SGTML% DriverVer = 09/07/2000,5.12.01.7035 CatalogFile=stac97.cat [SourceDisksNames] 222=\"AC97 WDM SigmaTel Driver Disk\",,, [SourceDisksFiles] stac97.sys=222 stac97.cat=222 [Manufacturer] %SgtmlMfg%=SigmaTel [SigmaTel] %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_7195 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_7195&subsys_109910CF %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_76008384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_76008384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_76098384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_76098384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_76448384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_76448384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_40081462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_40081462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_760015DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_760015DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_760915DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_760915DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_764415DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_764415DD %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_65601070 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_65601070 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_24158086 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_24258086 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_7609270F %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_7609270F %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_30301462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_30301462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_30501462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_30501462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_001A1565 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2425&subsys_00151565 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_7195&subsys_13331043 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445&subsys_76088384 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_A0001458 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_65601070 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445&subsys_33701462 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445&subsys_001C1565 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445&subsys_20021631 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2445&subsys_08151297 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_00121565 %STAC97.DeviceDesc%=STAC97, PCI\\VEN_8086&DEV_2415&subsys_53558086 [DestinationDirs] STAC97.CopyList=10,system32\\drivers [STAC97] AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf) CopyFiles=STAC97.CopyList AddReg=STAC97.AddReg,STAC97_NAMES.AddReg, STAC97_OEM.AddReg DriverVer = 09/07/2000,5.12.01.7035 [STAC97.nt] Include=LayoutFile=layout.inf,ks.inf,wdmaudio.inf Needs=KS.Registration,WDMAUDIO.Registration CopyFiles=STAC97.CopyList AddReg=STAC97.AddReg,STAC97_NAMES.AddReg, STAC97_OEM.AddReg [STAC97.CopyList] STAC97.sys [STAC97.Interfaces] AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,STAC97.Interface.Topology [STAC97.nt.Interfaces] AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,STAC97.Interface.Wave AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,STAC97.Interface.Topology [STAC97.Interface.Wave] AddReg=STAC97.I.Wave.AddReg [STAC97.I.Wave.AddReg] HKR,,CLSID,,%Proxy.CLSID% HKR,,FriendlyName,,%STAC97.Wave.szPname% [STAC97.Interface.Topology] AddReg=STAC97.I.Topo.AddReg [STAC97.I.Topo.AddReg] HKR,,CLSID,,%Proxy.CLSID% HKR,,FriendlyName,,%STAC97.Topology.szPname% [STAC97.AddReg] HKR,,AssociatedFilters,,\"wdmaud,swmidi,redbook\" HKR,,Driver,,STAC97.sys HKR,,NTMPDriver,,\"STAC97.sys,sbemul.sys\" HKR,Drivers,SubClasses,,\"wave,midi,mixer\" HKR,Drivers\\wave\\wdmaud.drv,Driver,,wdmaud.drv HKR,Drivers\\midi\\wdmaud.drv,Driver,,wdmaud.drv HKR,Drivers\\mixer\\wdmaud.drv,Driver,,wdmaud.drv ;; set OS SRCs to best quality HKR,DirectSound\\\"Mixer Defaults\",\"SRC Quality\",0x00010001,3 HKR,Drivers\\wave\\wdmaud.drv,Description,,%STAC97.DeviceDesc% HKR,Drivers\\midi\\wdmaud.drv, Description,,%WDM_MIDI% HKR,Drivers\\mixer\\wdmaud.drv,Description,,%STAC97.DeviceDesc% [STAC97.Services] AddService = STAC97, 0x00000002, STAC97_Service_Inst [STAC97.nt.Services] AddService = STAC97, 0x00000002, STAC97_Service_Inst [STAC97_Service_Inst] DisplayName = %STAC97.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\system32\\drivers\\STAC97.sys [STAC97_NAMES.AddReg] ;; Nodes HKLM,%MediaCategories%\\%ICHGUID.PhoneVolume%,Name,,%ICHNode.PhoneVolume% HKLM,%MediaCategories%\\%ICHGUID.PhoneVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.PhoneMute%,Name,,%ICHNode.PhoneMute% HKLM,%MediaCategories%\\%ICHGUID.PhoneMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.LineInMute%,Name,,%ICHNode.LineInMute% HKLM,%MediaCategories%\\%ICHGUID.LineInMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MainMix%,Name,,%ICHNode.MainMix% HKLM,%MediaCategories%\\%ICHGUID.MainMix%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.Virt3DDepth%,Name,,%ICHNode.Virt3DDepth% HKLM,%MediaCategories%\\%ICHGUID.Virt3DDepth%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.3DBypass%,Name,,%ICHNode.3DBypass% HKLM,%MediaCategories%\\%ICHGUID.3DBypass%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.3DEnable%,Name,,%ICHNode.3DEnable% HKLM,%MediaCategories%\\%ICHGUID.3DEnable%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.BeepMix%,Name,,%ICHNode.BeepMix% HKLM,%MediaCategories%\\%ICHGUID.BeepMix%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.HPVolume%,Name,,%ICHNode.HPVolume% HKLM,%MediaCategories%\\%ICHGUID.HPVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.HPMute%,Name,,%ICHNode.HPMute% HKLM,%MediaCategories%\\%ICHGUID.HPMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MonoOutSelect%,Name,,%ICHNode.MonoOutSelect% HKLM,%MediaCategories%\\%ICHGUID.MonoOutSelect%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.WaveInSelect%,Name,,%ICHNode.WaveInSelect% HKLM,%MediaCategories%\\%ICHGUID.WaveInSelect%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MasterInVolume%,Name,,%ICHNode.MasterInVolume% HKLM,%MediaCategories%\\%ICHGUID.MasterInVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MasterInMute%,Name,,%ICHNode.MasterInMute% HKLM,%MediaCategories%\\%ICHGUID.MasterInMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MicInVolume%,Name,,%ICHNode.MicInVolume% HKLM,%MediaCategories%\\%ICHGUID.MicInVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.MicInMute%,Name,,%ICHNode.MicInMute% HKLM,%MediaCategories%\\%ICHGUID.MicInMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.SurroundVolume%,Name,,%ICHNode.SurroundVolume% HKLM,%MediaCategories%\\%ICHGUID.SurroundVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.SurroundMute%,Name,,%ICHNode.SurroundMute% HKLM,%MediaCategories%\\%ICHGUID.SurroundMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.CenterVolume%,Name,,%ICHNode.CenterVolume% HKLM,%MediaCategories%\\%ICHGUID.CenterVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.CenterMute%,Name,,%ICHNode.CenterMute% HKLM,%MediaCategories%\\%ICHGUID.CenterMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.LFEVolume%,Name,,%ICHNode.LFEVolume% HKLM,%MediaCategories%\\%ICHGUID.LFEVolume%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.LFEMute%,Name,,%ICHNode.LFEMute% HKLM,%MediaCategories%\\%ICHGUID.LFEMute%,Display,1,00,00,00,00 HKLM,%MediaCategories%\\%ICHGUID.SurrOutThruLineIn%,Name,,%ICHNode.SurrOutThruLineIn% [STAC97_OEM.AddReg] ;;Default register value at driver startup ;;Uncomment some one of the lines if you want to overwrite the default setting ;;The value in these outcommented lines is the driver default. You can change ;;the register values (and uncomment the line) to overwrite the driver default. ;;low byte comes first, values are hexadezimal. HKR,Settings,MasterVolume,1,4,4 ;-6.5dB HKR,Settings,SurroundVolume,1,4,4 ;HKR,Settings,HeadphoneVolume,1,0,0 ;0dB HKR,Settings,MonooutVolume,1,4,4 ;-6.5dB ;HKR,Settings,ToneControls,1,F,F ;bypass HKR,Settings,BeepVolume,1,4,4 ;+6.5dB HKR,Settings,PhoneVolume,1,4,80 ;muted,+6.5dB HKR,Settings,MicVolume,1,4,80 ;muted,+6.5dB HKR,Settings,LineInVolume,1,4,4 ;+6.5dB HKR,Settings,CDVolume,1,4,4 ;+6.5dB HKR,Settings,VideoVolume,1,4,4 ;+6.5dB HKR,Settings,AUXVolume,1,4,4 ;+6.5dB HKR,Settings,WaveOutVolume,1,7,7 ;+1.5dB, muted HKR,Settings,AltWaveOutVolume,1,c,c ;-6 db HKR,Settings,RecordSelect,1,4,4 ;select LiniIn HKR,Settings,RecordGain,1,8,8 ;+12dB ;HKR,Settings,RecordGainMic,1,0,0 ;0dB ;HKR,Settings,GeneralPurpose,1,0,0 ;pre 3D, 3D off, loudness off, mono=mix, mic1 HKR,Settings,3DControl,1,9,0 ;75% ;HKR,Settings,PowerDown,1,0,0 ;no power down ;;Configuration ;;You can disable some of the input lines by outcommenting some of the lines ;;below. This could be necessary if you have a AC97 codec on board that for ;;example supports Video input, but you don\'t have the Video input accessable ;;for the user (no plug in). ;HKR,Settings,DisablePCBeep,1,1 ;HKR,Settings,DisablePhone,1,1 ;HKR,Settings,DisableMic2,1,1 ;HKR,Settings,DisableVideo,1,1 ;HKR,Settings,DisableAUX,1,1 ;HKR,Settings,DisableHeadphone,1,1 ;HKR,Settings,DisableMonoOut,1,1 HKR,Settings,DisableMicIn,1,1 ;HKR,Settings,DisableMic,1,1 ;disables all MIC lines, including MIC record. ;HKR,Settings,DisableLineIn,1,1 ;HKR,Settings,DisableCD,1,1 ;HKR,Settings,AnalogSpecial,1,00,00 ; Controls analog special register 0x6E. [Strings] SGTML=\"SigmaTel\" SgtmlMfg=\"SigmaTel\" STAC97.DeviceDesc=\"Intel(r) AC\'97 Audio Controller - SigmaTel Codec\" STAC97.Wave.szPname=\"SigmaTel Audio\" STAC97.Topology.szPname=\"SigmaTel\" MediaCategories=\"SYSTEM\\CurrentControlSet\\Control\\MediaCategories\" WDM_MIDI=\"WDM-based devices\" Proxy.CLSID=\"{17CCA71B-ECD7-11D0-B908-00A0C9223196}\" KSCATEGORY_AUDIO=\"{6994AD04-93EF-11D0-A3CC-00A0C9223196}\" KSCATEGORY_RENDER=\"{65E8773E-8F56-11D0-A3B9-00A0C9223196}\" KSCATEGORY_CAPTURE=\"{65E8773D-8F56-11D0-A3B9-00A0C9223196}\" KSNAME_Wave=\"Wave\" KSNAME_Topology=\"Topology\" STAC97.SvcDesc = \"Intel 82801 Audio Driver (WDM) - SigmaTel Codec\" ;; Nodes (non-localizeable) ICHGUID.PhoneVolume =\"{981DFEA0-27DB-11d3-99FC-00500483AC28}\" ICHGUID.PhoneMute =\"{981DFEA1-27DB-11d3-99FC-00500483AC28}\" ICHGUID.LineInMute =\"{981DFEA2-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MainMix =\"{981DFEA3-27DB-11d3-99FC-00500483AC28}\" ICHGUID.3DBypass =\"{981DFEA4-27DB-11d3-99FC-00500483AC28}\" ICHGUID.3DEnable =\"{981DFEA5-27DB-11d3-99FC-00500483AC28}\" ICHGUID.BeepMix =\"{981DFEA6-27DB-11d3-99FC-00500483AC28}\" ICHGUID.HPVolume =\"{981DFEA7-27DB-11d3-99FC-00500483AC28}\" ICHGUID.HPMute =\"{981DFEA8-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MonoOutSelect =\"{981DFEA9-27DB-11d3-99FC-00500483AC28}\" ICHGUID.WaveInSelect =\"{981DFEAA-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MasterInVolume =\"{981DFEAB-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MasterInMute =\"{981DFEAC-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MicInVolume =\"{981DFEAD-27DB-11d3-99FC-00500483AC28}\" ICHGUID.MicInMute =\"{981DFEAE-27DB-11d3-99FC-00500483AC28}\" ICHGUID.SurroundVolume =\"{81FBB14B-1BEE-4bf5-92EE-FFC4F75F326D}\" ICHGUID.SurroundMute =\"{22654FBC-AC8F-4224-B19F-D858D2E10BDD}\" ICHGUID.CenterVolume =\"{2D97372F-9CF6-4fd6-9E56-C68BACDF360D}\" ICHGUID.CenterMute =\"{BEEF51ED-1041-43f8-9B96-5863D0A9342D}\" ICHGUID.LFEVolume =\"{B60C4274-3BFD-430b-8364-D947E7D304B1}\" ICHGUID.LFEMute =\"{4A4D9210-C780-4768-BFD2-525FDBF4FCB4}\" ICHGUID.SurrOutThruLineIn =\"{070395E3-BE7C-4b4d-B529-40CB9BFCF995}\" ;; Nodes (localizeable) ICHNode.PhoneVolume =\"Phone Volume\" ICHNode.PhoneMute =\"Phone Mute\" ICHNode.LineInMute =\"LineIn Mute\" ICHNode.MainMix =\"Main Mix\" ICHNode.3DBypass =\"3D Bypass\" ICHNode.3DEnable =\"3D Enable\" ICHNode.BeepMix =\"Beep Mix\" ICHNode.HPVolume =\"Headphone Volume\" ICHNode.HPMute =\"Headphone Mute\" ICHNode.MonoOutSelect =\"Mono Out Select\" ICHNode.WaveInSelect =\"WaveIn Select\" ICHNode.MasterInVolume =\"WaveIn Volume\" ICHNode.MasterInMute =\"WaveIn Mute\" ICHNode.MicInVolume =\"Mic In Volume\" ICHNode.MicInMute =\"Mic In Mute\" ICHNode.SurroundVolume =\"Surround Volume\" ICHNode.SurroundMute =\"Surround Mute\" ICHNode.CenterVolume =\"Center Volume\" ICHNode.CenterMute =\"Center Mute\" ICHNode.LFEVolume =\"LFE Volume\" ICHNode.LFEMute =\"LFE Mute\" ICHNode.SurrOutThruLineIn =\"Enable Surround Outputs.\" |
|