inf not getting installed on Vista

Dear Gurus,

I have the inf file following this message for a disk
filter driver. Right clicking this inf and install is
working on xp but not Vista. Failure message on Vista
is

The INF file you selected does not support this method
of installation

Can some one please give ideas.
Thank you very much in advance.

-V.

======= start INF ========

[Version]
Signature = “$Windows NT$”
Provider = %provider%

;
; General installation section
;

[DestinationDirs]
DefaultDestDir=10,system32\drivers

[DefaultInstall.ntx86]
CopyFiles=DriverCopyFiles
AddReg=myDriverAddReg.ntx86

[DriverCopyFiles]
myDriver.sys

[Uninstall.ntx86]
DelFiles=DriverDeleteFiles
DelReg=myDriverDelReg.ntx86

[DriverDeleteFiles]
myDriver.sys

[myDriverAddReg.ntx86]
HKR,“UpperFilters”,0x00010008,“myDriver”

[myDriverDelReg.ntx86]
HKLM,%CLASSKEY%,UpperFilters,0x00018002,myDriver

;
; Service installation section
;

[DefaultInstall.ntx86.services]
AddService = myDriver, , myDriver.Service.Install

[myDriver.Service.Install]
DisplayName = %service_desc%
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %10%\system32\drivers\myDriver.sys
LoadOrderGroup = “PnP Filter”

[Uninstall.ntx86.services]
DelService=myDriver

;
; Localizable Strings
;

[Strings]

provider = “ABC”
service_desc = “Disk Filter Driver”
CLASSKEY=System\CurrentControlSet\Control\Class{4d36e967-e325-11ce-bfc1-08002be10318}

======= end INF ========


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

“v n” wrote in message news:xxxxx@ntdev…
> Dear Gurus,
>
> I have the inf file following this message for a disk
> filter driver. Right clicking this inf and install is
> working on xp but not Vista. Failure message on Vista
> is
>
> The INF file you selected does not support this method
> of installation

This is one of good things added in Vista shell :slight_smile:
It can now detect INFs of wrong types and give a meaningful message.
In your case maybe it can detect this because HKR is undefined.

Regards,
–PA

> Can some one please give ideas.
> Thank you very much in advance.
>
> -V.
>
> ======= start INF ========
>
> [Version]
> Signature = “$Windows NT$”
> Provider = %provider%
>
> ;
> ; General installation section
> ;
>
> [DestinationDirs]
> DefaultDestDir=10,system32\drivers
>
> [DefaultInstall.ntx86]
> CopyFiles=DriverCopyFiles
> AddReg=myDriverAddReg.ntx86
>
> [DriverCopyFiles]
> myDriver.sys
>
> [Uninstall.ntx86]
> DelFiles=DriverDeleteFiles
> DelReg=myDriverDelReg.ntx86
>
> [DriverDeleteFiles]
> myDriver.sys
>
> [myDriverAddReg.ntx86]
> HKR,“UpperFilters”,0x00010008,“myDriver”
>
> [myDriverDelReg.ntx86]
> HKLM,%CLASSKEY%,UpperFilters,0x00018002,myDriver
>
> ;
> ; Service installation section
> ;
>
> [DefaultInstall.ntx86.services]
> AddService = myDriver, , myDriver.Service.Install
>
> [myDriver.Service.Install]
> DisplayName = %service_desc%
> ServiceType = 1
> StartType = 0
> ErrorControl = 1
> ServiceBinary = %10%\system32\drivers\myDriver.sys
> LoadOrderGroup = “PnP Filter”
>
> [Uninstall.ntx86.services]
> DelService=myDriver
>
> ;
> ; Localizable Strings
> ;
>
> [Strings]
>
> provider = “ABC”
> service_desc = “Disk Filter Driver”
> CLASSKEY=System\CurrentControlSet\Control\Class{4d36e967-e325-11ce-bfc1-08002be10318}
>
> ======= end INF ========
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>