Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: INF files licenses

Reply
Thread Tools Display Modes

Re: INF files licenses

 
 
Michael Reim
Guest
Posts: n/a

 
      06-29-2010
One question:
Does this sample work for you on a newly installed XP 32 bit?


"Michal Nazarewicz" <> schrieb im Newsbeitrag
news:...
> ; Windows USB CDC ACM Setup File
> ; Copyright (c) 2000 Microsoft Corporation
> ; Copyright (C) 2007 Microchip Technology Inc.
>
> [Version]
> Signature="$Windows NT$"
> Class=Ports
> ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
> Provider=%MFGNAME%
> LayoutFile=layout.inf
> CatalogFile=%MFGFILENAME%.cat
> DriverVer=11/15/2007,5.1.2600.0
>
> [Manufacturer]
> %MFGNAME%=DeviceList, NTamd64
>
> [DestinationDirs]
> DefaultDestDir=12
>
>
> ;-----------------------------------------------------------------------
> ; Windows 2000/XP/Vista-32bit Sections
> ;-----------------------------------------------------------------------
>
> [DriverInstall.nt]
> include=mdmcpq.inf
> CopyFiles=DriverCopyFiles.nt
> AddReg=DriverInstall.nt.AddReg
>
> [DriverCopyFiles.nt]
> usbser.sys,,,0x20
>
> [DriverInstall.nt.AddReg]
> HKR,,DevLoader,,*ntkern
> HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
> HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropP ageProvider"
>
> [DriverInstall.nt.Services]
> AddService=usbser, 0x00000002, DriverService.nt
>
> [DriverService.nt]
> DisplayName=%SERVICE%
> ServiceType=1
> StartType=3
> ErrorControl=1
> ServiceBinary=%12%\%DRIVERFILENAME%.sys
>
> ;-----------------------------------------------------------------------
> ; Vista-64bit Sections
> ;-----------------------------------------------------------------------
>
> [DriverInstall.NTamd64]
> include=mdmcpq.inf
> CopyFiles=DriverCopyFiles.NTamd64
> AddReg=DriverInstall.NTamd64.AddReg
>
> [DriverCopyFiles.NTamd64]
> %DRIVERFILENAME%.sys,,,0x20
>
> [DriverInstall.NTamd64.AddReg]
> HKR,,DevLoader,,*ntkern
> HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
> HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropP ageProvider"
>
> [DriverInstall.NTamd64.Services]
> AddService=usbser, 0x00000002, DriverService.NTamd64
>
> [DriverService.NTamd64]
> DisplayName=%SERVICE%
> ServiceType=1
> StartType=3
> ErrorControl=1
> ServiceBinary=%12%\%DRIVERFILENAME%.sys
>
>
> ;-----------------------------------------------------------------------
> ; Vendor and Product ID Definitions
> ;-----------------------------------------------------------------------
> ; When developing your USB device, the VID and PID used in the PC side
> ; application program and the firmware on the microcontroller must
> ; match. Modify the below line to use your VID and PID. Use the format
> ; as shown below.
> ; Note: One INF file can be used for multiple devices with different VID
> ; and PIDs. For each supported device, append
> ; ",USB\VID_xxxx&PID_yyyy" to the end of the line.
> ;-----------------------------------------------------------------------
> [SourceDisksFiles]
> [SourceDisksNames]
> [DeviceList]
> %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A
>
> [DeviceList.NTamd64]
> %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A
>
>
> ;-----------------------------------------------------------------------
> ; String Definitions
> ;-----------------------------------------------------------------------
> ;Modify these strings to customize your device
> ;-----------------------------------------------------------------------
> [Strings]
> MFGFILENAME="mchpcdc"
> DRIVERFILENAME ="usbser"
> MFGNAME="Microchip Technology, Inc."
> INSTDISK="Microchip Technology, Inc. Installation Disc"
> DESCRIPTION="Communications Port"
> SERVICE="USB RS-232 Emulation Driver"
>
> ----<cut here>------------------------------------------------------------
>
> --
> Best regards, _ _
> .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o
> ..o | Computer Science, Michal "mina86" Nazarewicz (o o)
> ooo +--<mina86-tlen.pl>--<jid:mina86-jabber.org>--ooO--(_)--Ooo--
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Windows Media Player 12 Daniel Windows Vista General Discussion 32 04-01-2010 11:25 AM
Files Remain Hidden Even though I selected show Hidden & Protected LabTechnician Windows Vista File Management 11 03-02-2008 09:08 AM
Viewing Hidden files and folders PAS Windows Vista File Management 35 02-17-2008 12:03 AM
Offline Files Mike Benton Windows Vista File Management 1 05-04-2007 07:58 PM
Offline Files (Plain Text This Time) Mike Benton Windows Vista File Management 0 05-03-2007 01:37 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59