/build/static/layout/Breadcrumb_cap_w.png

Facing problem while installing inf file through rundll32 setupapi,InstallHinfSection

Hello,

I am trying to run following command through command prompt to install the device driver.

rundll32.exe setupapi,InstallHinfSection MSVAD_AC3 msvad.inf

where MSVAD_AC3 is default section and msvad.inf file is inf file.

when I run this command throgth commad prompt, it runs but device driver does not get installed and following log messages are observed in setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 2
Platform ID = 2 (NT)
Service Pack = 2.0
Suite = 0x0100
Product Type = 1
Architecture = x86
[2006/07/01 16:53:02 1380.1]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32 setupapi,InstallHinfSection AVAD_AC3 132 C:\Avega\avad.inf
#-011 Installing section [AVAD_AC3.NTx86] from "C:\Avega\avad.inf".
#E366 An unsigned or incorrectly signed file "c:\avega\avad.inf" for driver "Sound, video and game controllers" will be installed (Policy=Warn, user said ok). Error 0xe000022f: The third-party INF does not contain digital signature information.
#-336 Copying file "C:\Avega\avad.sys" to "C:\WINDOWS\system32\drivers\avad.sys" via temporary file "C:\WINDOWS\system32\drivers\SETA6.tmp".
#E362 An unsigned or incorrectly signed file "C:\Avega\avad.sys" for driver "Sound, video and game controllers" will be installed (Policy=Warn). Error 0xe000022f: The third-party INF does not contain digital signature information.
#E047 Setting registry key/value: no root specified.
#E065 Parsing AddReg section [AVAD_AC3.AddReg] in "C:\Avega\avad.inf" failed. Error 1010: The configuration registry key is invalid.
#E064 Parsing install section [AVAD_AC3.NTx86] in "C:\Avega\avad.inf" failed. Error 1010: The configuration registry key is invalid.

I am copying my msvad.inf file is also here for your refernce.
===================================

[Version]
CatalogFile=avad.cat
Signature="$CHICAGO$"
Class=MEDIA
Provider=%MSFT%
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
DriverVer = 06/21/2006, 0.0.0.1

[SourceDisksNames]
222="AVAD Driver Disk","",222

[SourceDisksNames]
avad.sys=222

[Manufacturer]
%MfgName%=AvegaAS

[AvegaAS]
%AVAD_AC3.DeviceDesc%=AVAD_AC3,,*AVADAC3

[DestinationDirs]
AVAD_AC3.CopyList=10,system32\drivers

;======================================================
; AVAD_AC3
;======================================================
[AVAD_AC3]
AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=AVAD_AC3.CopyList
AddReg=AVAD_AC3.AddReg

[AVAD_AC3.CopyList]
avad.sys

[AVAD_AC3.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,AVAD.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,AVAD.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,AVAD.I.Topo

[AVAD_AC3.AddReg]
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,avad.sys
HKR,,NTMPDriver,,"avad.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,mixer"

HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%AVAD_AC3.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%AVAD_AC3.DeviceDesc%

;======================================================
; GENERAL
;======================================================
[AVAD.I.Wave]
AddReg=AVAD.I.Wave.AddReg
[AVAD.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%AVAD.Wave.szPname%

[AVAD.I.Topo]
AddReg=AVAD.I.Topo.AddReg
[AVAD.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%AVAD.Topo.szPname%

;======================================================
; AVAD_AC3
;======================================================
[AVAD_AC3.NTX86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=AVAD_AC3.CopyList
AddReg=AVAD_AC3.AddReg

[AVAD_AC3.NTX86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,AVAD.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,AVAD.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,AVAD.I.Topo

[AVAD_AC3.NTX86.Services]
include=wdmaudio.inf
needs=wdmaudio.registration.services
AddService=avad_ac3,0x00000002,avad_AC3_Service_Inst

[avad_AC3_Service_Inst]
DisplayName=%avad_AC3.SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\avad.sys

;======================================================
; GENERAL
;======================================================
[Strings]
MSFT="Avega"
MfgName="Avega Systems"
AVAD_AC3.DeviceDesc="Avega Virtual Audio Device (AC3 Support)"

AVAD.Wave.szPname="Avega Audio"
AVAD.Topo.szPname="AVAD Topology"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Wave="Wave"
KSNAME_Topology="Topology"

avad_ac3.SvcDesc="Avega Virtual Audio Device (AC3 Support)"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"



Can anybody help me why device driver is not get installed.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: bheers 17 years ago
Second Degree Blue Belt
0
try using Driver Install Frameworks Tools. download the framework and use dpinst.exe, you can run dpinst.exe /? to get various options.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ