I have generated a USB driver inf file using WinDriver and Advanced Installer rejects it as a valid driver inf file.
I was wondering what conditions must be met in the inf to be considered valid.
Here are the file contents, since the board won't let me attach it as either inf or txt:
; Jungo Confidential. Copyright (c) 2008 Jungo.
; Generated by DriverWizard v9.20.
; Installation file (.inf) for "RFREMOTE" device
;
; You can create a customized version of this file
; by modifying the specified sections.
;
; Refer to Windows DDK documentation for more information on INF files
;
; Version Information
; -------------------
[Version]
Signature="$CHICAGO$" ; Represents all Windows OS's
Provider=%jun%
; For WHQL, you should obtain a catalog signed by Microsoft Hardware Compatibility Labs
; CatalogFile=wd920.cat
DriverVer=04/22/2008, 9.2.0
; Select an appropriate class for the device.
; There are several options:
; - Use the Jungo class.
; - Define your own class by generating a private GUID and a class description.
; - Use a system-defined class. This is required for a device that belongs to
; a device class that is supported by system-provided drivers, i.e. HID or USB Audio.
; For example, to replace a default USB mouse driver you have to specify the
; description and GUID of HID class:
; Class=HIDClass
; ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
;
; We use a Jungo class, you may modify here and use a different class:
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
; Driver Information
; ------------------
[Manufacturer]
; You may modify the manufacturer name by changing the Mfg variable in the [Strings]
; section in this INF file.
%Mfg%=DeviceList,NTamd64
; The 'Install' lines under the [DeviceList] include the device name that will
; be displayed in the Device Managerand the hardware ID's.
; You may modify the device names and the hardware ID's.
; The Vendor ID is 06cd, and the Product ID is 0420
; x86 platform, Win9x, Windows 2000 and later
[DeviceList]
"RFREMOTE"=Install, USB\VID_06CD&PID_0420
; x64 platform, Windows XP x64 edition and later
[DeviceList.NTamd64]
"RFREMOTE"=Install, USB\VID_06CD&PID_0420
; Installation Section
; --------------------
[Install] ; Installation script for Windows 98/Me
CopyFiles=FilesToCopy
AddReg=UpDateRegistry
[Install.NT] ; Installation script for Windows 2000 and later
CopyFiles=FilesToCopy
AddReg=UpDateRegistry
[FilesToCopy]
; To copy windrvr6.sys upon installation remove the ';' from the start of the following line
;windrvr6.sys ,,,0x40 ; 0x40 == COPYFLG_OVERWRITE_OLDER_ONLY
[UpDateRegistry]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,, windrvr6.sys
[ControlFlags]
ExcludeFromSelect = * ; Remove all devices listed in this INF file from certain user
; interface displays, from which a user is expected to select a particular device
; for installation.
[PreCopySection]
HKR,,NoSetupUI,,1
; Defining WinDriver6 Service
; ---------------------------
[Install.NT.Services]
Addservice=WinDriver6, 0x00000002, Service_Info
[Service_Info]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\windrvr6.sys
; Source File Information
; -----------------------
[SourceDisksFiles]
windrvr6.sys=1 ; This indicates that the windrvr6.sys file is located on
; disk number 1 of "Keyspan Installation disks" set.
[SourceDisksNames]
1="Keyspan Installation Disk",, ; This indicates that disk number 1
; has the label "Keyspan Installation Disk". The installer will
; search for windrvr6.sys in this disk.
[DestinationDirs]
DefaultDestDir=10, System32\Drivers ; The location to which the windrvr6.sys
; file will be copied (10 translates to the correct Windows directory
; on the target machine).
;---------------------------------------------------------------;
[Strings]
jun="Jungo LTD."
Mfg="Keyspan"
FOLLOW US
Get the latest news in Application Packaging