Discussion:
WDK 7.1 Mirror driver, INF file fail on windows 7 64bits
(too old to reply)
Stnaire
2010-09-01 11:01:03 UTC
Permalink
Hi,

I'm trying to install the mirror driver sample given in the WDK 7.0 (rev
7600.16385.1) but I'm unable to execute the .inf file.

I tried the following ways :

- Right click -> install
Error : "The INF file you selected doest not support this method of
installation"

- Using the device manager -> Add legacy hardware -> on Display adapter ->
select the path to mirror.inf
Error : "The folder you specified doesn't contain a compatible software
driver for you device".

- Using DevCon.exe by doing "devcon install mirror.inf
Microsoft_Mirror_Sample1"
Error : "devcon failed".

- I tried all of this after doing "Bcdedit.exe /set nointegritychecks ON"
but it does not change anything.

- I tried to install it on Windows XP 32bits it work perfectly.

I remind that I'm running on a 64bits version of windows 7.

Thanks for your help.

Regards.
Julien Pinto
2010-09-01 13:56:03 UTC
Permalink
Some new informations.

I've found that the problem comes because the .inf file given in the WDK is
for x86 system-based, so I tried to "convert" it to x64 by decorating
[Manufacturer].

Now by the device manager I can see the driver and try to install it by it
still fail.

The error return is "The required line was not found in the INF"

Any help ?

Thanks.
Post by Stnaire
Hi,
I'm trying to install the mirror driver sample given in the WDK 7.0 (rev
7600.16385.1) but I'm unable to execute the .inf file.
- Right click -> install
Error : "The INF file you selected doest not support this method of
installation"
- Using the device manager -> Add legacy hardware -> on Display adapter ->
select the path to mirror.inf
Error : "The folder you specified doesn't contain a compatible software
driver for you device".
- Using DevCon.exe by doing "devcon install mirror.inf
Microsoft_Mirror_Sample1"
Error : "devcon failed".
- I tried all of this after doing "Bcdedit.exe /set nointegritychecks ON"
but it does not change anything.
- I tried to install it on Windows XP 32bits it work perfectly.
I remind that I'm running on a 64bits version of windows 7.
Thanks for your help.
Regards.
Moulefrite
2010-09-02 15:58:03 UTC
Permalink
This post might be inappropriate. Click to display it.
Julien Pinto
2010-09-02 17:37:03 UTC
Permalink
Thanks for your reply, I finally figured out this problem.
I did all that you say but the copy of .sys and .dll was still failing.

So I copied them manually and now it works.

Thanks for your help.
Post by Moulefrite
Hi,
I guess your .inf file is wrong.
Verify the if you have added in section [manufacturer] the "AMD64"
sub-section.
[manufacturer]
%MOULEFRITE%=Moulefrite,NTamd64
; x86
[Moulefrite]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
; x64
[Moulefrite.NTamd64]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
....
....
For me I have sucessfully installed my driver like this.
If you use Seven or Vista 64, don't forget to disable signature verification.
"bcdedit /xxxxxxx" command didn't work for me.
For disable, reboot your PC, press F8 and select "disable signature
verification"
I hope to help you
ps : sorry for my bad level in english
Regards,
Post by Stnaire
Hi,
I'm trying to install the mirror driver sample given in the WDK 7.0 (rev
7600.16385.1) but I'm unable to execute the .inf file.
- Right click -> install
Error : "The INF file you selected doest not support this method of
installation"
- Using the device manager -> Add legacy hardware -> on Display adapter ->
select the path to mirror.inf
Error : "The folder you specified doesn't contain a compatible software
driver for you device".
- Using DevCon.exe by doing "devcon install mirror.inf
Microsoft_Mirror_Sample1"
Error : "devcon failed".
- I tried all of this after doing "Bcdedit.exe /set nointegritychecks ON"
but it does not change anything.
- I tried to install it on Windows XP 32bits it work perfectly.
I remind that I'm running on a 64bits version of windows 7.
Thanks for your help.
Regards.
Roberto Agostino
2010-09-12 19:21:15 UTC
Permalink
If you want use the right click of mouse and use the install item, you must
have in the .inf file a [DefaultInstall] section.

Perhaps, if you try to install a driver on a operative system of a version
not the same, only some part or none are used, and the install process does
not succeed.
For example, if you have adapted the .inf file decorating only the
manufacturer section, you could have left out other sections as those that
copy the files.. and the installation will be not complete.

I hope to be useful.

Rob
Post by Stnaire
Thanks for your help.
Post by Moulefrite
Hi,
I guess your .inf file is wrong.
Verify the if you have added in section [manufacturer] the "AMD64"
sub-section.
[manufacturer]
%MOULEFRITE%=Moulefrite,NTamd64
; x86
[Moulefrite]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
; x64
[Moulefrite.NTamd64]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
....
....
For me I have sucessfully installed my driver like this.
If you use Seven or Vista 64, don't forget to disable signature verification.
"bcdedit /xxxxxxx" command didn't work for me.
For disable, reboot your PC, press F8 and select "disable signature
verification"
I hope to help you
ps : sorry for my bad level in english
Regards,
Post by Stnaire
Hi,
I'm trying to install the mirror driver sample given in the WDK 7.0 (rev
7600.16385.1) but I'm unable to execute the .inf file.
- Right click -> install
Error : "The INF file you selected doest not support this method of
installation"
- Using the device manager -> Add legacy hardware -> on Display adapter ->
select the path to mirror.inf
Error : "The folder you specified doesn't contain a compatible software
driver for you device".
- Using DevCon.exe by doing "devcon install mirror.inf
Microsoft_Mirror_Sample1"
Error : "devcon failed".
- I tried all of this after doing "Bcdedit.exe /set nointegritychecks ON"
but it does not change anything.
- I tried to install it on Windows XP 32bits it work perfectly.
I remind that I'm running on a 64bits version of windows 7.
Thanks for your help.
Regards.
don ardiente
2010-09-30 15:22:59 UTC
Permalink
This post might be inappropriate. Click to display it.
Don Burn
2010-09-30 15:48:46 UTC
Permalink
Run it through ChkInf


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Post by don ardiente
can you please make this inf good for 64 bit win7
here's the code..
[Version]
LayoutFile = LAYOUT.INF, LAYOUT1.INF, LAYOUT2.INF
SignaTure = "$CHICAGO$"
Class = Media
ClassGUID = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider = %PCICapture.Provider%
CatalogFile = PCI713x.cat
DriverVer = 10/01/2006, 1.0.0.1
[Manufacturer]
%PCICapture.Manufacturer% = PCICapture.Device
[PCICapture.Device]
%PCI7130.DeviceDesc% = PCI7130.Install,PCI\VEN_1131&DEV_7130
%PCI7134.DeviceDesc% = PCI7134.Install,PCI\VEN_1131&DEV_7134
[PCI7130.Install]
Include = ks.inf,ksfilter.inf ;, kscaptur.inf
Needs = KS.Registration,KSCAPTUR.Registration
AddReg = PCI7130.AddReg , PCI713xAudio.AddReg
CopyFiles = PCI713x.CopyDrivers
KnownFiles = PCI713x.KnownFiles
[PCI7130.Install.NT]
Include = ks.inf,ksfilter.inf ;, kscaptur.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT
AddReg = PCI7130.AddReg, PCI713xAudio.AddReg
CopyFiles = PCI713x.CopyDrivers
[PCI7134.Install]
Include = ks.inf,ksfilter.inf ;, kscaptur.inf,wdmaudio.inf
Needs = KS.Registration,KSCAPTUR.Registration,WDMAUDIO.Registration
AddReg = PCI7134.AddReg,PCI713xAudio.AddReg,PCI7134Audio.AddReg
CopyFiles = PCI713x.CopyDrivers
KnownFiles = PCI713x.KnownFiles
[PCI7134.Install.NT]
Include = ks.inf,ksfilter.inf ;, kscaptur.inf, wdmaudio.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT,WDMAUDIO.Registration
AddReg = PCI7134.AddReg,PCI713xAudio.AddReg,PCI7134Audio.AddReg
CopyFiles = PCI713x.CopyDrivers
[DestinationDirs]
PCI713x.CopyDrivers = 10,SYSTEM32\DRIVERS
[SourceDisksNames]
SrcDriverFile = %InsDiskName%,,
[SourceDisksFiles]
PCI713x.sys = SrcDriverFile
[PCI713x.CopyDrivers]
PCI713x.sys
[PCI713x.KnownFiles]
PCI713x.sys = safe
[PCI7130.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PCI713x.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,00
HKR, "DECODER", "Video Sources",0x00010001,0x00000003 ; VideoSrc 3
HKR, "FiFo","Size RA1",0x00010001,0x00000006
HKR, "FiFo","Size RA2",0x00010001,0x00000001
HKR, "FiFo","Size RA3",0x00010001,0x00000001
HKR, "Fifo","Threshhold RA1",0x00010001,0x00000003
HKR, "Fifo","Threshhold RA2",0x00010001,0x00000002
HKR, "Fifo","Threshhold RA3",0x00010001,0x00000002
HKR, "Fifo","Threshhold RA4",0x00010001,0x00000002
[PCI7134.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PCI713x.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,00
HKR, "DECODER", "Video Sources",0x00010001,0x00000003 ; VideoSrc 3
HKR, "FiFo","Size RA1",0x00010001,0x00000005
HKR, "FiFo","Size RA2",0x00010001,0x00000001
HKR, "FiFo","Size RA3",0x00010001,0x00000001
HKR, "Fifo","Threshhold RA1",0x00010001,0x00000003
HKR, "Fifo","Threshhold RA2",0x00010001,0x00000002
HKR, "Fifo","Threshhold RA3",0x00010001,0x00000002
HKR, "Fifo","Threshhold RA4",0x00010001,0x00000002
[PCI7134Audio.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
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,,"PCI7134 Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"PCI7134 Audio Capture Device"
[PCI713xAudio.AddReg]
;HKR,,Driver,,PCI713x.sys
HKR, "Audio", "XTAL",0x00010001,0x00 ; 'XTAL' reflects the used hardware crystal (0=32.11MHz,1=24.567MHz)
; 'DefaultStandard'
; in automatic mode: 'DefaultStandard' is used as a fallback if nothing is detected
; in manual mode: 'DefaultStandard' is used as standard to be set
; 2 = B/G Mono
; 3 = D/K Mono
; 4 = M Mono
; 5 = B/G A2
; 6 = B/G Nicam
; 7 = D/K A2 Type 1
; 8 = D/K A2 Type 2
; 9 = D/K A2 Type 3
; 10 = D/K Nicam
; 11 = L/L' Nicam
; 12 = L/L' AM
; 13 = I Nicam
; 14 = I Mono
; 15 = M Korea
; 16 = M BTSC
HKR, "Audio\DefaultStandard", "01",0x00010001,16 ; USA: M BTSC
HKR, "Audio\DefaultStandard", "31",0x00010001,5 ; Netherlands: B/G A2
HKR, "Audio\DefaultStandard", "32",0x00010001,6 ; Belgium: B/G Nicam
HKR, "Audio\DefaultStandard", "33",0x00010001,11 ; France: L/L' Nicam
HKR, "Audio\DefaultStandard", "34",0x00010001,5 ; Spain: B/G A2
HKR, "Audio\DefaultStandard", "39",0x00010001,5 ; Italy: B/G A2
HKR, "Audio\DefaultStandard", "41",0x00010001,5 ; Switzerland: B/G A2
HKR, "Audio\DefaultStandard", "44",0x00010001,13 ; Great Britain: I Nicam
HKR, "Audio\DefaultStandard", "45",0x00010001,6 ; Denmark B/G Nicam
HKR, "Audio\DefaultStandard", "46",0x00010001,6 ; Sweden: B/G Nicam
HKR, "Audio\DefaultStandard", "47",0x00010001,6 ; Norway: B/G Nicam
HKR, "Audio\DefaultStandard", "49",0x00010001,5 ; Germany: B/G A2
HKR, "Audio\DefaultStandard", "81",0x00010001,16 ; Japan: M BTSC
HKR, "Audio\DefaultStandard", "86",0x00010001,7 ; China: D/K A2 Type 1
HKR, "Audio\DefaultStandard","351",0x00010001,5 ; Azores: B/G A2
HKR, "Audio\DefaultStandard","358",0x00010001,6 ; Finland: B/G Nicam
HKR, "Audio\DefaultStandard","420",0x00010001,10 ; Czech Republic:D/K Nicam
; 'StandardTable'
; in automatic mode: StandardTable is used to set the standard groups to be searched
; bit1 = B/G
; bit2 = D/K
; bit3 = L/L'
; bit4 = I
; bit5 = M
HKR, "Audio\StandardTable", "01",0x00010001,0x10 ; USA: M
HKR, "Audio\StandardTable", "31",0x00010001,0x01 ; Netherlands: B/G
HKR, "Audio\StandardTable", "32",0x00010001,0x01 ; Belgium: B/G
HKR, "Audio\StandardTable", "33",0x00010001,0x04 ; France: L/L'
HKR, "Audio\StandardTable", "34",0x00010001,0x01 ; Spain: B/G
HKR, "Audio\StandardTable", "39",0x00010001,0x01 ; Italy: B/G
HKR, "Audio\StandardTable", "41",0x00010001,0x01 ; Switzerland: B/G
HKR, "Audio\StandardTable", "44",0x00010001,0x08 ; Great Britain: I
HKR, "Audio\StandardTable", "45",0x00010001,0x01 ; Denmark B/G
HKR, "Audio\StandardTable", "46",0x00010001,0x01 ; Sweden: B/G
HKR, "Audio\StandardTable", "47",0x00010001,0x01 ; Norway: B/G
HKR, "Audio\StandardTable", "49",0x00010001,0x01 ; Germany: B/G
HKR, "Audio\StandardTable", "81",0x00010001,0x10 ; Japan: M
HKR, "Audio\StandardTable", "86",0x00010001,0x02 ; China: D/K
HKR, "Audio\StandardTable","351",0x00010001,0x01 ; Azores: B/G
HKR, "Audio\StandardTable","358",0x00010001,0x01 ; Finland: B/G
HKR, "Audio\StandardTable","420",0x00010001,0x02 ; Czech Republic:D/K
[PCI7130.Install.Interfaces]
AddInterface = {65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface = {6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface = {a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
[PCI7130.Install.NT.Interfaces]
AddInterface = {65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface = {6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface = {a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
[PCI7134.Install.Interfaces]
AddInterface = {65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface = {6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface = {a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
AddInterface = {6994AD04-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",AudioCapture
[PCI7134.Install.NT.Interfaces]
AddInterface = {65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture
AddInterface = {6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface = {a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
AddInterface = {6994AD04-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",AudioCapture
[AudioCapture]
AddReg = AudioCapture.AddReg
[AudioCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%PCI7134.AudioFilter%
[VideoCapture]
AddReg = VideoCapture.AddReg
[VideoCrossbar]
AddReg = VideoXBar.AddReg
[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%PCI713x.CapFilter%
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{73647561-0000-0010-8000-00AA00389B71},"Name",0x00000000,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{0482DEE1-7817-11cf-8a03-00aa006ecb65},"Name",0x00000000,"Analog Audio In"
[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%PCI713x.CrsFilter%
[PCI7130.Install.NT.Services]
AddService = PCI713x,0x00000002,PCI713x.ServiceInstall
[PCI7134.Install.NT.Services]
AddService = PCI713x,0x00000002,PCI713x.ServiceInstall
[PCI713x.ServiceInstall]
DisplayName = %PCI713x.CapFilter%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\PCI713x.sys
[Strings]
;----------------
; Non-Localizable
;----------------
SERVICE_KERNEL_DRIVER = 1
SERVICE_AUTO_START = 2
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1
InsDiskName = "Video Capture Install"
PCI7130.DeviceDesc = "PCI 7130 Capture"
PCI7134.DeviceDesc = "PCI 7134 Capture"
PCI713x.CapFilter = "PCI713x Stream Capture"
PCI7134.AudioFilter = "PCI713x Audio Capture"
PCI713x.CrsFilter = "PCI713x Crossbar Filter"
PCICapture.Provider = "Technology Co. Ltd"
PCICapture.Manufacturer = "Technology Co. Ltd"
Hi,
I am trying to install the mirror driver sample given in the WDK 7.0 (rev
7600.16385.1) but I am unable to execute the .inf file.
- Right click -> install
Error : "The INF file you selected doest not support this method of
installation"
- Using the device manager -> Add legacy hardware -> on Display adapter ->
select the path to mirror.inf
Error : "The folder you specified does not contain a compatible software
driver for you device".
- Using DevCon.exe by doing "devcon install mirror.inf
Microsoft_Mirror_Sample1"
Error : "devcon failed".
- I tried all of this after doing "Bcdedit.exe /set nointegritychecks ON"
but it does not change anything.
- I tried to install it on Windows XP 32bits it work perfectly.
I remind that I am running on a 64bits version of windows 7.
Thanks for your help.
Regards.
Post by Julien Pinto
Some new informations.
I have found that the problem comes because the .inf file given in the WDK is
for x86 system-based, so I tried to "convert" it to x64 by decorating
[Manufacturer].
Now by the device manager I can see the driver and try to install it by it
still fail.
The error return is "The required line was not found in the INF"
Any help ?
Thanks.
Post by Moulefrite
Hi,
I guess your .inf file is wrong.
Verify the if you have added in section [manufacturer] the "AMD64"
sub-section.
[manufacturer]
%MOULEFRITE%=Moulefrite,NTamd64
; x86
[Moulefrite]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
; x64
[Moulefrite.NTamd64]
%USB\VID_0000%PID_9999.deviceDesc%=XXXXXXXXXXXXXXXXXXXXX
....
....
For me I have sucessfully installed my driver like this.
If you use Seven or Vista 64, do not forget to disable signature verification.
"bcdedit /xxxxxxx" command did not work for me.
For disable, reboot your PC, press F8 and select "disable signature
verification"
I hope to help you
ps : sorry for my bad level in english
Regards,
Post by Julien Pinto
Thanks for your reply, I finally figured out this problem.
I did all that you say but the copy of .sys and .dll was still failing.
So I copied them manually and now it works.
Thanks for your help.
Post by Roberto Agostino
If you want use the right click of mouse and use the install item, you must
have in the .inf file a [DefaultInstall] section.
Perhaps, if you try to install a driver on a operative system of a version
not the same, only some part or none are used, and the install process does
not succeed.
For example, if you have adapted the .inf file decorating only the
manufacturer section, you could have left out other sections as those that
copy the files.. and the installation will be not complete.
I hope to be useful.
Rob
Submitted via EggHeadCafe - Software Developer Portal of Choice
Simple .NET HEX PixelColor Utility
http://www.eggheadcafe.com/tutorials/aspnet/5617a491-963d-4510-b8f1-1863ddf52bc1/simple-net-hex-pixelcolor-utility.aspx
Tim Roberts
2010-10-01 04:39:33 UTC
Permalink
Post by don ardiente
can you please make this inf good for 64 bit win7
Have you tried it? Even once? What happened?
Post by don ardiente
here's the code..
This INF still contains many lines that apply only to Windows 98. You need
to take some time and clean this up.
--
Tim Roberts, ***@probo.com
Providenza & Boekelheide, Inc.
Loading...