PostSection [destinationdirs] is defined multiple times.

Posts 15 of 5 · Page 1 of 1
Section [destinationdirs] is defined multiple times.


- - - Updated - - -

;
; DAJIBA.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=Sample ; TODO: edit Class
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
Provider=%ManufacturerName%
CatalogFile=DAJIBA.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages

[DestinationDirs]
DefaultDestDir = 12

; ================= Class section =====================

[ClassInstall32]
Addreg=SampleClassReg

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
DAJIBA.sys = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$

[Standard.NT$ARCH$]
%DAJIBA.DeviceDesc%=DAJIBA_Device, Root\DAJIBA ; TODO: edit hw-id

[DAJIBA_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
DAJIBA.sys

;-------------- Service installation
[DAJIBA_Device.NT.Services]
AddService = DAJIBA,%SPSVCINST_ASSOCSERVICE%, DAJIBA_Service_Inst

; -------------- DAJIBA driver install sections
[DAJIBA_Service_Inst]
DisplayName = %DAJIBA.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\DAJIBA.sys

;
;--- DAJIBA_Device Coinstaller installation ------
;

[DestinationDirs]
DAJIBA_Device_CoInstaller_CopyFiles = 11

[DAJIBA_Device.NT.CoInstallers]
AddReg=DAJIBA_Device_CoInstaller_AddReg
CopyFiles=DAJIBA_Device_CoInstaller_CopyFiles

[DAJIBA_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoI nstaller"

[DAJIBA_Device_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll

[SourceDisksFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames

[DAJIBA_Device.NT.Wdf]
KmdfService = DAJIBA, DAJIBA_wdfsect
[DAJIBA_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="<Your manufacturer name>" ;TODO: Replace with your manufacturer name
ClassName="Samples" ; TODO: edit ClassName
DiskName = "DAJIBA Installation Disk"
DAJIBA.DeviceDesc = "DAJIBA Device"
DAJIBA.SVCDESC = "DAJIBA Service"
you would have to give us more than this to work with man if u want your error fixed
Quote Originally Posted by 0xHigh View Post
you would have to give us more than this to work with man if u want your error fixed
It's the BEKiller source code, he copy/pasted the cripplecallbacks.inf here, and left out the other part
[DestinationDirs]
[SourceDisksFiles]

remove these then try again. they're already defined so just remove them.

(im no c++ expert lol)
Quote Originally Posted by RTEGRWEYHGWA$RywywG View Post
[DestinationDirs]
[SourceDisksFiles]

remove these then try again. they're already defined so just remove them.

(im no c++ expert lol)
it isnt c++ thats why i didnt bother looking at it, got to the first line and it didnt end with a semicolon so i said nopeeee
Posts 15 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?