Forums

Cannot read [Manufacturer] section of inf file

Auteur Réponses
msamsa Vendredi 7 Aoüt 2015 à 4:24
msamsaAnonymous

Hello,

I am trying to install Samsung scanner driver for SCX472x scanners and getting the below error message:

12:01:51 PM - 1Cannot read [Manufacturer] section of 'C:\Samsung\Scanner\WINXP_VISTA_64\SCX472x.inf' file: -536870654 - SetupAPI: Line not found!

Does anyone know what this means?

This is on a LinuxMint 17.2 64bit machine and a 64bit virtual drive using wine 1.6.2-0ubuntu4 and playonlinux 4.2.2-1

The inf file looks like this:

 

;
; SCX472x.inf - installation file for the Scanner Driver
;
; Copyright (C) 2012 Samsung Electronics Co., Ltd. All rights reserved.
;
; Manufacturer: Samsung
;

[Version]
;LayoutFile=Layout.inf
Signature= "$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%COMPANY_NAME%
DriverVer=04/06/2012,1.7.5.0
CatalogFile=SCX472x.cat

[Manufacturer]
%COMPANY_NAME%=Models,NTAMD64.5.2,NTAMD64.6.0,NTAMD64.6.1

;=================== Class Sections ===========================
[Models]

[Models.NTAMD64.5.2]
%Model% = Scanner.ScanWithWIA64, USB\Vid_04E8&Pid_3453&MI_00

[Models.NTAMD64.6.0]
%Model% = Scanner.ScanWithWIAVISTA64, USB\Vid_04e8&Pid_3453&MI_00

[Models.NTAMD64.6.1]
%Model% = Scanner.ScanWithWIAVISTA64, USB\Vid_04e8&Pid_3453&MI_00

; Windows XP or 2003 64
[Scanner.ScanWithWIA64.NT]
Include= sti.inf
Needs= STI.USBSection
SubClass=StillImage
DeviceType=1
PortSelect = No
DeviceSubType=0x1
Capabilities=0x31
DeviceData=WIAScan64.DeviceData
AddReg=WIAScan64.AddReg, SharedFiles64.AddReg, TWAINRegInfo.AddReg, SamsungPrinterLiveUpdate.AddReg
RegisterDlls=WIAScan64.RegisterDlls
CopyFiles=TWAIN_FILES,WIA64_FILES,SHARE64_FILES,SHARESYS64_FILES,SHARE32FOR64_FILES,ICM_FILES,SCANSEARCH_FILES    ;USB Only
ICMProfiles="sRGB Color Space Profile.icm"

[Scanner.ScanWithWIA64.NT.Services]
Include=sti.inf
Needs=STI.UsbSection.Services

[WIAScan64.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={C31877E6-4140-4261-BA96-72326FCDBA8C}

[WIAScan64.RegisterDlls]
11,,SaXPUIEx.dll,1    ; Register UI extension

[WIAScan64.AddReg]
;HKR,,HardwareConfig,1,1
HKR,,HardwareConfig,1,4 ; USB Device
HKR,,USDClass,,"{57575C28-05E9-4a14-8937-5C12E59C6DA3}"
HKR,DeviceData,DeviceMonitor,0x00010001,1
HKR,DeviceData,DeviceBWThreshold,0x00010001,1
HKR,DeviceData,ADFOnePage,0x00010001,1
HKR,DeviceData,Vid,0x00010001,0x04e8
HKR,DeviceData,Pid,0x00010001,0x3453
HKR,DeviceData,ScannerProfile,0x00000000,"Samsung SCX-472x Series.icc"
HKCR,CLSID\{57575C28-05E9-4a14-8937-5C12E59C6DA3},,,%Model%
HKCR,CLSID\{57575C28-05E9-4a14-8937-5C12E59C6DA3}\InProcServer32,,,%11%\SaXPWIA.dll
HKCR,CLSID\{57575C28-05E9-4a14-8937-5C12E59C6DA3}\InProcServer32,ThreadingModel,,Both

[SharedFiles64.AddReg]
HKLM,"SOFTWARE\%COMPANY_NAME%\INF Scanner Installer\%Model%","Shared",0x00000000,%SHARED_XP64_FILES%

; Windows VISTA 64
[Scanner.ScanWithWIAVISTA64.NT]
Include= sti.inf
Needs= STI.USBSection
SubClass=StillImage
DeviceType=1
PortSelect = No
DeviceSubType=0x1
Capabilities=0x31
DeviceData=WIAScanVISTA64.DeviceData
AddReg=WIAScanVISTA64.AddReg, SharedFilesVISTA64.AddReg, TWAINRegInfo.AddReg, SamsungPrinterLiveUpdate.AddReg
RegisterDlls=WIAScanVISTA64.RegisterDlls
CopyFiles=TWAIN_FILES,WIAVISTA64_FILES,SHARE64_FILES,SHARESYS64_FILES,SHARE32FOR64_FILES,ICM_FILES,SCANSEARCH_FILES    ;USB Only
ICMProfiles="sRGB Color Space Profile.icm"

[Scanner.ScanWithWIAVISTA64.NT.Services]
Include=sti.inf
Needs=STI.UsbSection.Services

[WIAScanVISTA64.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={D2E517BF-5912-4778-85E9-321E05C8701D}

[WIAScanVISTA64.RegisterDlls]
;11,,ssuiex64.dll,1    ; Register UI extension

[WIAScanVISTA64.AddReg]
;HKR,,HardwareConfig,1,1
HKR,,HardwareConfig,1,4 ; USB Device
HKR,DeviceData,DeviceMonitor,0x00010001,1
HKR,DeviceData,DeviceBWThreshold,0x00010001,1
HKR,DeviceData,ADFOnePage,0x00010001,1
HKR,DeviceData,Vid,0x00010001,0x04e8
HKR,DeviceData,Pid,0x00010001,0x3453
HKR,DeviceData,ScannerProfile,0x00000000,"Samsung SCX-472x Series.icc"
; Register Com
HKR,,USDClass,,"{CEF6CF6E-20D2-4028-B627-42ADC0B5B95E}"
HKCR,CLSID\{CEF6CF6E-20D2-4028-B627-42ADC0B5B95E},,,%Model%
HKCR,CLSID\{CEF6CF6E-20D2-4028-B627-42ADC0B5B95E}\InProcServer32,,,%11%\SaMinDrv.dll
HKCR,CLSID\{CEF6CF6E-20D2-4028-B627-42ADC0B5B95E}\InProcServer32,ThreadingModel,,"Both"

;HKCR,CLSID\{AD835360-71BC-4851-B44A-BF2A9ACB8E78},,,"WIA Segmentation Filter"
;HKCR,CLSID\{AD835360-71BC-4851-B44A-BF2A9ACB8E78}\InProcServer32,,,%11%\SaSegFlt.dll
;HKCR,CLSID\{AD835360-71BC-4851-B44A-BF2A9ACB8E78}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{5E074503-FD13-4133-952D-5BDF93C2FE52},,,"WIA Image Processing Filter"
HKCR,CLSID\{5E074503-FD13-4133-952D-5BDF93C2FE52}\InProcServer32,,,%11%\SaImgFlt.dll
HKCR,CLSID\{5E074503-FD13-4133-952D-5BDF93C2FE52}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{51E137D2-CDB2-4277-B21D-C8B580B64270},,,"WIA Error Handler"
HKCR,CLSID\{51E137D2-CDB2-4277-B21D-C8B580B64270}\InProcServer32,,,%11%\SaErHdlr.dll
HKCR,CLSID\{51E137D2-CDB2-4277-B21D-C8B580B64270}\InProcServer32,ThreadingModel,,"Both"

;HKCR,CLSID\{B2F1E222-7862-4dfc-BD38-80707C09AED2},,,"WIA Dialog Extension Handler"
;HKCR,CLSID\{B2F1E222-7862-4dfc-BD38-80707C09AED2}\InProcServer32,,,%11%\ssuiextension2.dll
;HKCR,CLSID\{B2F1E222-7862-4dfc-BD38-80707C09AED2}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{D2E517BF-5912-4778-85E9-321E05C8701D},,,"WIA Driver UI Extension"
;HKCR,CLSID\{D2E517BF-5912-4778-85E9-321E05C8701D}\shellex\SegmentationFilter\{AD835360-71BC-4851-B44A-BF2A9ACB8E78},,,""
HKCR,CLSID\{D2E517BF-5912-4778-85E9-321E05C8701D}\shellex\ImageProcessingFilter\{5E074503-FD13-4133-952D-5BDF93C2FE52},,,""
HKCR,CLSID\{D2E517BF-5912-4778-85E9-321E05C8701D}\shellex\ErrorHandler\{51E137D2-CDB2-4277-B21D-C8B580B64270},,,""
;HKCR,CLSID\{BC7A1623-6F79-4159-82D7-A405033F2F76}\shellex\WiaDialogExtensionHandlers\{B2F1E222-7862-4dfc-BD38-80707C09AED2}

[SharedFilesVISTA64.AddReg]
HKLM,"SOFTWARE\%COMPANY_NAME%\INF Scanner Installer\%Model%","Shared",0x00000000,%SHARED_VISTA64_FILES%

[TWAINRegInfo.AddReg]
HKLM,"SOFTWARE\SSScan\%Model%","TwainLocation",0x00004000,"%10%\Twain_32\%COMPANY_NAME%\%FOLDER_NAME%"
HKCU,"SOFTWARE\SSScan\%Model%","TwainLocation",0x00001000,"%10%\Twain_32\%COMPANY_NAME%\%FOLDER_NAME%"
HKLM,"SOFTWARE\SSScan\%Model%","ConnectionType",0x00014003,0

[SamsungPrinterLiveUpdate.AddReg]
HKLM,"SOFTWARE\Samsung\SamsungPrinterLiveUpdate\SW\%Model%","TWAIN",0x00004000,%TWAIN_RELEASE_VERSION%
HKLM,"SOFTWARE\Samsung\SamsungPrinterLiveUpdate\SW\%Model%","WIA",0x00004000,%WIA_RELEASE_VERSION%

;=================== ControlFlags ===========================
[ControlFlags]
; Remove comment from this line if all devices are PnP.
ExcludeFromSelect=*
 
;=================== DestinationDirs ===========================
[DestinationDirs]
DefaultDestDir=11
TWAIN_FILES = 10,Twain_32\%COMPANY_NAME%\%FOLDER_NAME%
WIA64_FILES = 11
WIAVISTA64_FILES = 11
SHARE32FOR64_FILES = 10,SysWOW64
SHARE64_FILES = 11
SHARESYS64_FILES = 12
ICM_FILES = 23
SCANSEARCH_FILES = 10,Twain_32\%COMPANY_NAME%\%FOLDER_NAME%\SCNSearch

;=================== CopyFiles ===========================
[ICM_FILES]
Samsung SCX-472x Series.icc
Samsung SCX-472x Series1.icc

[TWAIN_FILES]
OEMUI.ver
Presets.ini
Defaults.ini
OEMDS2.DS,,,0x60      ; Do not overwrite if target is newer
OEMDS2.dll,,,0x60      ; Do not overwrite if target is newer
OEMIMG2.dll,,,0x60      ; Do not overwrite if target is newer
oemui.chm
OEMUI.dat
OEMUI2.dll,,,0x60      ; Do not overwrite if target is newer
ssMUIDLL.dll,,,0x60      ; Do not overwrite if target is newer
OEMUI.ipb
oemuicp.chm
OEMUIcp.dat
oemuict.chm
OEMUIct.dat
oemuicz.chm
OEMUIcz.dat
oemuidn.chm
OEMUIdn.dat
oemuidt.chm
OEMUIdt.dat
oemuifi.chm
OEMUIfi.dat
oemuifn.chm
OEMUIfn.dat
oemuigr.chm
OEMUIgr.dat
oemuihu.chm
OEMUIhu.dat
oemuiit.chm
OEMUIit.dat
oemuijp.chm
OEMUIjp.dat
oemuikr.chm
OEMUIkr.dat
oemuinr.chm
OEMUInr.dat
oemuipo.chm
OEMUIpo.dat
oemuipt.chm
OEMUIpt.dat
oemuiru.chm
OEMUIru.dat
oemuisp.chm
OEMUIsp.dat
oemuisw.chm
OEMUIsw.dat
oemuitk.chm
OEMUItk.dat
oemuiab.chm
OEMUIab.dat
oemuibp.chm
OEMUIbp.dat
oemuiel.chm
OEMUIel.dat
oemuihb.chm
OEMUIhb.dat
oemuiuk.chm
OEMUIuk.dat

[SCANSEARCH_FILES]
SecSNMP.dll,,,0x60      ; Do not overwrite if target is newer
ssMUIDLL.dll,,,0x60      ; Do not overwrite if target is newer
USDAgent.exe,,,0x60      ; Do not overwrite if target is newer
USD_CFG.xml
USDUI_AB.xml
USDUI_BP.xml
USDUI_CP.xml
USDUI_CT.xml
USDUI_CZ.xml
USDUI_DN.xml
USDUI_DT.xml
USDUI_EL.xml
USDUI_EN.xml
USDUI_FI.xml
USDUI_FN.xml
USDUI_GR.xml
USDUI_HB.xml
USDUI_HU.xml
USDUI_IT.xml
USDUI_JP.xml
USDUI_KR.xml
USDUI_NR.xml
USDUI_PO.xml
USDUI_PT.xml
USDUI_RU.xml
USDUI_SP.xml
USDUI_SW.xml
USDUI_TK.xml
USDUI_UK.xml

[WIA64_FILES]
SaXPWIA.dll,,,0x60      ; Do not overwrite if target is newer
SaXPUIEx.dll,,,0x60      ; Do not overwrite if target is newer
SaWIASTR.loc,,,0x60      ; Do not overwrite if target is newer
SaWIAMUI.dll,ssMUID64.dll,,0x60      ; Do not overwrite if target is newer

[WIAVISTA64_FILES]
SaMinDrv.dll,,,0x60      ; Do not overwrite if target is newer
SaImgFlt.dll,,,0x60      ; Do not overwrite if target is newer
SaErHdlr.dll,,,0x60      ; Do not overwrite if target is newer
;SaSegFlt.dll,,,0x60      ; Do not overwrite if target is newer

[SHARE32FOR64_FILES]
Ssdevm.dll,,,0x10       ;Do not overwrite
Ssusbpn.dll,,,0x10    ;Do not overwrite

[SHARE64_FILES]
Ssdevm64.dll,,,0x10    ;Do not overwrite
Ssusbp64.dll,,,0x10    ;Do not overwrite

[SHARESYS64_FILES]
SSPORT.sys,,,0x10    ;Do not overwrite

;=================== SourceDisksNames ===========================
[SourceDisksNames]
1=%COMPANY_NAME%,,,""

;=================== SourceDisksNames ===========================
[SourceDisksFiles]
OEMUI.ver = 1
Presets.ini = 1
Defaults.ini = 1
OEMDS2.DS = 1
OEMDS2.dll = 1
OEMIMG2.dll = 1
oemui.chm = 1
OEMUI.dat = 1
OEMUI2.dll = 1
ssMUIDLL.dll = 1
OEMUI.ipb = 1
oemuicp.chm = 1
OEMUIcp.dat = 1
oemuict.chm = 1
OEMUIct.dat = 1
oemuicz.chm = 1
OEMUIcz.dat = 1
oemuidn.chm = 1
OEMUIdn.dat = 1
oemuidt.chm = 1
OEMUIdt.dat = 1
oemuifi.chm = 1
OEMUIfi.dat = 1
oemuifn.chm = 1
OEMUIfn.dat = 1
oemuigr.chm = 1
OEMUIgr.dat = 1
oemuihu.chm = 1
OEMUIhu.dat = 1
oemuiit.chm = 1
OEMUIit.dat = 1
oemuijp.chm = 1
OEMUIjp.dat = 1
oemuikr.chm = 1
OEMUIkr.dat = 1
oemuinr.chm = 1
OEMUInr.dat = 1
oemuipo.chm = 1
OEMUIpo.dat = 1
oemuipt.chm = 1
OEMUIpt.dat = 1
oemuiru.chm = 1
OEMUIru.dat = 1
oemuisp.chm = 1
OEMUIsp.dat = 1
oemuisw.chm = 1
OEMUIsw.dat = 1
oemuitk.chm = 1
OEMUItk.dat = 1
oemuiab.chm = 1
OEMUIab.dat = 1
oemuibp.chm = 1
OEMUIbp.dat = 1
oemuiel.chm = 1
OEMUIel.dat = 1
oemuihb.chm = 1
OEMUIhb.dat = 1
oemuiuk.chm = 1
OEMUIuk.dat = 1

;== SCAN Search Files ==================================================
SecSNMP.dll = 1,SCNSearch
USDAgent.exe = 1,SCNSearch
USD_CFG.xml = 1,SCNSearch
USDUI_AB.xml = 1,SCNSearch
USDUI_BP.xml = 1,SCNSearch
USDUI_CP.xml = 1,SCNSearch
USDUI_CT.xml = 1,SCNSearch
USDUI_CZ.xml = 1,SCNSearch
USDUI_DN.xml = 1,SCNSearch
USDUI_DT.xml = 1,SCNSearch
USDUI_EL.xml = 1,SCNSearch
USDUI_EN.xml = 1,SCNSearch
USDUI_FI.xml = 1,SCNSearch
USDUI_FN.xml = 1,SCNSearch
USDUI_GR.xml = 1,SCNSearch
USDUI_HB.xml = 1,SCNSearch
USDUI_HU.xml = 1,SCNSearch
USDUI_IT.xml = 1,SCNSearch
USDUI_JP.xml = 1,SCNSearch
USDUI_KR.xml = 1,SCNSearch
USDUI_NR.xml = 1,SCNSearch
USDUI_PO.xml = 1,SCNSearch
USDUI_PT.xml = 1,SCNSearch
USDUI_RU.xml = 1,SCNSearch
USDUI_SP.xml = 1,SCNSearch
USDUI_SW.xml = 1,SCNSearch
USDUI_TK.xml = 1,SCNSearch
USDUI_UK.xml = 1,SCNSearch

;= WIA Files ===================================================
SaXPWIA.dll = 1            ;WIA XP Files
SaXPUIEx.dll = 1    ;WIA XP Files
SaWIASTR.loc = 1    ;WIA XP Files

SaMinDrv.dll = 1        ;VISTA WIA Filse
SaImgFlt.dll = 1         ;VISTA WIA Filse
SaErHdlr.dll = 1        ;VISTA WIA Filse
;SaSegFlt.dll = 1         ;VISTA WIA Filse
Ssdevm.dll = 1        ;Common Files
Ssusbpn.dll = 1        ;Common Files
Ssdevm64.dll = 1    ;Common Files for 64bits
Ssusbp64.dll = 1    ;Common Files for 64bits
SSPORT.sys = 1        ;Common Files for 64bits

;= MUI Files ===================================================
ssMUID64.dll = 1
ssMUIDll.dll = 1

;= CMS Files ===================================================
Samsung SCX-472x Series.icc = 1
Samsung SCX-472x Series1.icc = 1

; =================== Strings =========================
[Strings]
WIA_RELEASE_VERSION="1.75.00"
TWAIN_RELEASE_VERSION="3.21.60:09"

SHARED_XP64_FILES = "SSDEVM64.DLL,SSDEVM.DLL,ssusbpn64.dll,SSUSBPN.DLL,ssusbp64.dll,SSPORT.sys,SaXPWIA.dll,SaXPUIEx.dll,SaWIAMUI.dll,SaWIASTR.loc"
SHARED_VISTA64_FILES = "SSDEVM64.DLL,SSDEVM.DLL,ssusbpn64.dll,SSUSBPN.DLL,ssusbp64.dll,SSPORT.sys,SaMinDrv.dll,SaImgFlt.dll,SaErHdlr.dll"

COMPANY_NAME = "Samsung"
FOLDER_NAME = "SCX472x"
Model = "Samsung SCX-472x Series"

 

petch Vendredi 7 Aoüt 2015 à 9:36
petch
Développeur

You cannot install drivers with Wine, it can make no use of them

cf similar https://www.playonlinux.com/en/topic-13156-SCT_Driver_newbie_trouble.html

Edité par petch