Is this a valid INF directive?

J

Jerry West

[Xscan.]

I noticed this delimiter within an INF file. I can't find any documentation
within the MSDN that states this is valid. Is anyone familiar with this type
of undecorated section? Can someone confirm it is valid?

Thanks!

JW
 
G

Gary G. Little

So, did you search the INF file to see it's usage? It's a local LABEL used
by installation to locate things within the INF file.
 
J

Jerry West

Yes I did. It simply appears as a INF section with no other declaration of
its use. See for yourself:

Do you still believe it is valid?

[Version]
LayoutFile=Layout.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=07/01/2001,5.1.2600.0

[Manufacturer]
%Mfg%=Models

[Models]
%XScan.DeviceDesc% = XScan.Scanner, Xerox_DocucenterScan_ID

[XScan.Scanner]
Include= sti.inf
Needs= STI.SerialSection

SubClass=StillImage
DeviceType=2
DeviceSubType=0x1
Capabilities=0x11
DeviceData=XScan.DeviceData
AddReg=XScan.AddReg
CopyFiles=XScan.CopyFiles,XScan.CopyFiles.Executables
UninstallSection=Uninstall.XScan
ICMProfiles="sRGB Color Space Profile.icm"
PortSelect=Message1

[XScan.Scanner.Services]
Include= sti.inf
Needs= STI.SerialSection.Services


[XScan.DeviceData]
Server=local
UI Class ID={DB26FCA4-7268-48C8-8D58-42348FAD940E}

;
; Registry
;
[XScan.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{07C1014E-2955-4CE0-8A34-7B8AC24E2F28}"

HKCR,CLSID\{07C1014E-2955-4CE0-8A34-7B8AC24E2F28},,,"XScan USD"
HKCR,CLSID\{07C1014E-2955-4CE0-8A34-7B8AC24E2F28}\InProcServer32,,,%11%\xrxw
iadr.dll
HKCR,CLSID\{07C1014E-2955-4CE0-8A34-7B8AC24E2F28}\InProcServer32,ThreadingMo
del,,Both
HKCR,CLSID\{DB26FCA4-7268-48C8-8D58-42348FAD940E}\shellex\PropertySheetHandl
ers\{396F69E7-448B-4488-BC8A-8A51CF9B38C9}
HKCR,CLSID\{DB26FCA4-7268-48C8-8D58-42348FAD940E}\shellex\WiaDialogExtension
Handlers\{396F69E7-448B-4488-BC8A-8A51CF9B38C9}

HKCR,CLSID\{396F69E7-448B-4488-BC8A-8A51CF9B38C9},,,"XrxScnui"
HKCR,CLSID\{396F69E7-448B-4488-BC8A-8A51CF9B38C9}\InProcServer32,,,%11%\xrxs
cnui.dll
HKCR,CLSID\{396F69E7-448B-4488-BC8A-8A51CF9B38C9}\InProcServer32,ThreadingMo
del,,Apartment

HKCR,CLSID\{BFEB05B7-BBF9-4B3E-B7A8-4ED2E462317F},,,"WebTemplateProgrammer
Class"
HKCR,CLSID\{BFEB05B7-BBF9-4B3E-B7A8-4ED2E462317F}\InProcServer32,,,%11%\xrxw
btmp.dll
HKCR,CLSID\{BFEB05B7-BBF9-4B3E-B7A8-4ED2E462317F}\InProcServer32,ThreadingMo
del,,Apartment

HKLM,%Run%,"XeroxScannerDaemon",,%16422%\Xerox\NWWia\XrxFTPLt.exe
HKLM,%RunOnce%,"XeroxScannerDaemonLauncher",,%16422%\Xerox\NWWia\xrxflnch.ex
e
HKCU,Software\Xerox\NetworkWIA,,,



[DestinationDirs]
; By default, files will be copied to \windows\system.
XScan.CopyFiles=11
XScan.CopyFiles.Executables=16422,Xerox\NWWia

[Xscan.]
xrxwiadr.dll
xrxscnui.dll
xrxwbtmp.dll

[XScan.CopyFiles.Executables]
XrxFTPLt.exe
xrxflnch.exe

[Uninstall.XScan]
DelFiles=XScan.CopyFiles,XScan.CopyFiles.Executables
DelReg=XScan.DelReg

[XScan.DelReg]
HKCR,CLSID\{DB26FCA4-7268-48C8-8D58-42348FAD940E}
HKCR,CLSID\{07C1014E-2955-4CE0-8A34-7B8AC24E2F28}
HKCR,CLSID\{396F69E7-448B-4488-BC8A-8A51CF9B38C9}
HKCR,CLSID\{BFEB05B7-BBF9-4B3E-B7A8-4ED2E462317F}
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,XeroxScannerDaemon
HKCU,Software\Xerox\NetworkWIA
HKLM,Software\Xerox\NetworkWIA


[Strings]
Msft="Microsoft"
Mfg="Xerox"
XScan.DeviceDesc="Xerox Network Scanners"
JobArrived="Job Arrived"
XScan.SvcDesc="Xerox Network Scanners"
XrxFTPSetupDesc="Xerox FTP Light Setup"
XrxWebTempDesc="Web Template Setup"
XrxXscanUIDesc="XscanUI Setup"

Run = "Software\Microsoft\Windows\CurrentVersion\Run"
RunOnce = "Software\Microsoft\Windows\CurrentVersion\RunOnce"



Gary G. Little said:
So, did you search the INF file to see it's usage? It's a local LABEL used
by installation to locate things within the INF file.

--
Gary G. Little
Seagate Technologies, LLC
(e-mail address removed)

Jerry West said:
[Xscan.]

I noticed this delimiter within an INF file. I can't find any documentation
within the MSDN that states this is valid. Is anyone familiar with this type
of undecorated section? Can someone confirm it is valid?

Thanks!

JW
 
E

Eliyas Yakub [MSFT]

[Xscan.]
xrxwiadr.dll
xrxscnui.dll
xrxwbtmp.dll

I guess you are referring to this one. This is a bug. It should be
Xscan.CopyFiles. I think it got corrected in XP.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top