View Single Post
  #3 (permalink)  
Old 27th Oct 2007, 5:27 am
_Jim_ _Jim_ is offline
Junior Member
 
Join Date: Oct 2007
Posts: 28
Default Re: Change AdfuUpdate.inf

A lot of you asked me how the AdfuUpdate.inf file has to be like, so here is one with more players you can copy and paste into your file.
Don't forget to ad your PID number if it's not there 8)

[hr:a973d828e5]

[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%MSFT%
LayoutFile=LAYOUT.INF
DriverVer=11/22/2006,3.3.0.0

[Manufacturer]
%MfgName%=Upgrade

[Upgrade]
%USB\VID_10D6&PID_8888.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_8888
%USB\VID_10D6&PID_ff51.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_ff51
%USB\VID_10D6&PID_ff61.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_ff61
%USB\VID_10D6&PID_ff63.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_ff63
%USB\VID_10D6&PID_ff66.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_ff66
%USB\VID_10D6&PID_ff79.DeviceDesc%=MDisk.install,U SB\VID_10D6&PID_ff79

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
umss.files = 10,System32\Drivers

[MDisk.install]
CopyFiles=umss.files
AddReg=umss.addreg

[MDisk.install.NT]
CopyFiles=umss.files
AddReg=umss.addreg

[MDisk.install.NT.Services]
Addservice = AdfuUd, 0x00000002, AdfuUd_AddService

[AdfuUd_AddService]
DisplayName = %USB\VID_10D6&PID_1160.DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\AdfuUd.sys
LoadOrderGroup = Base

[umss.addreg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AdfuUd.SYS

[umss.files]
AdfuUd.sys

[SourceDisksNames]
1000 = "USB Mass Storage Device",,,

[SourceDisksFiles]
AdfuUd.SYS = 1000

[Strings]
MSFT="MP3Player"
MfgName="MP3Player"
USB\VID_10D6&PID_8888.DeviceDesc="USB ADFU Device"
USB\VID_10D6&PID_ff51.DeviceDesc="USB 2.0 (FS) ADFU Device"
USB\VID_10D6&PID_ff61.DeviceDesc="USB 2.0 (HS) ADFU Device"
USB\VID_10D6&PID_ff63.DeviceDesc="USB 2.0 (HS) ADFU Device"
USB\VID_10D6&PID_ff66.DeviceDesc="USB 2.0 (HS) ADFU Device"
USB\VID_10D6&PID_ff79.DeviceDesc="USB 2.0 (HS) ADFU Device"

[hr:a973d828e5]

Greetings
Jim
Reply With Quote