; HotKey.INF  -- Windows Still Image Setup File for the DDK
; Copyright (c) 1997 Microsoft Corporation

; Leave thse lines as they are
[Version]
Signature="$CHICAGO$"
;;;Class=Image
;;;ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
LayoutFile=layout.inf, layout1.inf

[ControlFlags]
; remove comment from this line for PnP devices
; ExcludeFromSelect.WIN=*
ExcludeFromSelect=*

[SourceDisksNames]
1116=%ProductDesc%,,,

[SourceDisksFiles]
Dummy.txt=1116
RunDRV.DLL=1116
RunDRV16.DLL=1116
RunDRV95.DLL=1116
RunDRV98.DLL=1116
RunDRVNT.DLL=1116
RunDRV2K.DLL=1116
LFBMP90N.DLL=1116
LFCMP90n.DLL=1116
LTFIL90N.DLL=1116
LTKRN90N.DLL=1116

;Hotkey Button File
CloseHK.EXE=1116
HKSrcENG.ini=1116
HK_ENG.inf=1116
HK_Eng.ini=1116
HK_ENG.reg=1116
HK_ENG.Exe=1116
CopyDi.bmp=1116
CopyFo.bmp=1116
CopySe.bmp=1116
CopyUp.bmp=1116
EmailDi.bmp=1116
EmailFo.bmp=1116
EmailSe.bmp=1116
EmailUp.bmp=1116
ScanDi.bmp=1116
ScanFo.bmp=1116
ScanSe.bmp=1116
ScanUp.bmp=1116

;Detector Help & Manual 
Eng.pdf=1116
HK_ENG.CNT=1116
HK_ENG.Hlp=1116
RO32_Eng.DLL=1116
ftsrch.dll=1116
Soft_Eng.pdf=1116

;;9000/9020
Nta.dll=1116
P90_48r.lut=1116
Pmx9000n.lut=1116
Pmx9000r.lut=1116
Pmx9000t.lut=1116

;;;先智Colormatching 8900 &8920
Nta.dll=1116	
Pmx8900n.lut=1116
Pmx8900r.lut=1116
Pmx8900t.lut=1116

;;;;Colormatching 9200
Nta.dll=1116
Pmx9220n.lut=1116
pmx9220r.lut=1116
pmx9220t.lut=1116


[DestinationDirs]
DefaultDestDir=11               ; LDID_SYS that is, \windows\system
TwainTrunk.CopyFiles=10
CopyFiles.HotKey=10, Twain_32\%TwainDir%
CopyFiles.Inf=10, Twain_32\%TwainDir%
CopyFiles.CloseHK=10, Twain_32\%TwainDir%
CopyFiles.HotKey.REG= 10, Twain_32\%TwainDir%
CopyFiles.DummyFile= 10, Twain_32\%TwainDir%\Temp
CopyFiles.HKBMPFile= 10, Twain_32\%TwainDir%\Bitmap
CopyFiles.ProfilesFile=10,Twain_32\%TwainDir%\Profiles

[Manufacturer]
%Mfg%=Models

[DefaultInstall]
CopyFiles=CopyFiles.HotKey,CopyFiles.Inf,CopyFiles.CloseHK,CopyFiles.HotKey.REG,CopyFiles.DummyFile,CopyFiles.HKBMPFile,CopyFiles.ProfilesFile
Uninstall=DefaultUnInstall
UpdateInis=Group.Add.Ini
RunPreSetupCommands = PreSetupCommandSection
RunPostSetupCommands = PostSetupCommandsSection
AddReg=HotKey.Add.Reg

[DefaultInstall.NTX86]
CopyFiles=CopyFiles.HotKey,CopyFiles.Inf,CopyFiles.CloseHK,CopyFiles.HotKey.REG,CopyFiles.DummyFile,CopyFiles.HKBMPFile,CopyFiles.ProfilesFile
Uninstall=DefaultUnInstall.NTX86
UpdateInis=Group.Add.Ini
RunPreSetupCommands = PreSetupCommandSection
RunPostSetupCommands = PostSetupCommandsSection_NTX86
AddReg=HotKey.Add.Reg

[PreSetupCommandSection]
CloseHK.EXE

[PostSetupCommandsSection]
RegEdit.exe /s %10%\Twain_32\%TwainDir%\HotKey.Reg


[PostSetupCommandsSection_NTX86]
RegEdit.exe /s %10%\Twain_32\%TwainDir%\HotKey.Reg
Attrib.exe -R %10%\Twain_32\%TwainDir%\*.* /S



[CopyFiles.HKBMPFile]
Dummy.txt
CopyDi.bmp
CopyFo.bmp
CopySe.bmp
CopyUp.bmp
EmailDi.bmp
EmailFo.bmp
EmailSe.bmp
EmailUp.bmp
ScanDi.bmp
ScanFo.bmp
ScanSe.bmp
ScanUp.bmp

[CopyFiles.HotKey]
LFBMP90N.DLL
LFCMP90n.DLL
LTFIL90N.DLL
LTKRN90N.DLL

;Hotkey Button File
HotKey.Exe,HK_ENG.Exe
source.ini,HKSrcENG.ini
HotKey.ini,HK_Eng.ini

;Detector Help & Manual 
HotKey.CNT,HK_ENG.CNT
HotKey.Hlp,HK_ENG.Hlp
Manual.PDF,ENG.PDF
;Software.pdf,Soft_Eng.pdf
ROBOEX32.DLL,RO32_Eng.DLL
ftsrch.dll


[CopyFiles.ProfilesFile]
;;;Dummy.txt

;;9000/9020
;;Nta.dll
;;P90_48r.lut
;;Pmx9000n.lut
;;Pmx9000r.lut
;;Pmx9000t.lut


;;;先智Colormatching 8900 8920 如果有開啟該機種的下列文件請記住需在Scan_XXX.inf里的[RemoveDirsSection]里加入%10%\Twain_32\%TwainDir%\Profiles 2002/12/03 by Pingyuan 
;;;Nta.dll
;;;Pmx8900n.lut
;;;Pmx8900r.lut
;;;Pmx8900t.lut

;;;;Colormatching 9200
;;;;Nta.dll
;;;;Pmx9220n.lut
;;;;pmx9220r.lut
;;;;pmx9220t.lut


[CopyFiles.CloseHK]
CloseHK.EXE

[CopyFiles.Inf]
HotKey.inf,HK_ENG.inf

[CopyFiles.HotKey.REG]
HotKey.Reg,HK_ENG.reg
RunDRV.DLL
RunDRV16.DLL
RunDRV95.DLL
RunDRV98.DLL
RunDRVNT.DLL
RunDRV2K.DLL

[CopyFiles.DummyFile]
Dummy.txt

[DefaultUnInstall.NTX86]
DelFiles=CopyFiles.HotKey,CopyFiles.CloseHK,CopyFiles.HotKey.REG,CopyFiles.Inf,CopyFiles.DummyFile,CopyFiles.HKBMPFile,CopyFiles.ProfilesFile
UpdateInis=Group.Del.Ini
DelReg=HotKey.Add.Reg
RunPreSetupCommands = Uninstall.PreSetupCommand

[DefaultUnInstall]
DelFiles=CopyFiles.HotKey,CopyFiles.CloseHK,CopyFiles.HotKey.REG,CopyFiles.Inf,CopyFiles.DummyFile,CopyFiles.HKBMPFile,CopyFiles.ProfilesFile
UpdateInis=Group.Del.Ini
DelReg=HotKey.Add.Reg
RunPreSetupCommands = Uninstall.PreSetupCommand

[Uninstall.PreSetupCommand]
%10%\Twain_32\%TwainDir%\CloseHK.EXE

[Group.Add.Ini]
setup.ini, progman.groups,, "group1=""%HotKeyGroup%"""
setup.ini, group1,, """%Utility%"",""""""%10%\Twain_32\%TwainDir%\HotKey.exe"""""",,,,""%10%\Twain_32\%TwainDir%"",""HotKey.exe"""
setup.ini, group1,, """%Manual%"",""""""%10%\twain_32\%TwainDir%\Manual.pdf"""""",,,,""%10%\twain_32\%TwainDir%"",""Manual.pdf"""
;; 將電子軟件手冊加到CD中
;setup.ini, group1,, """%Software%"",""""""%10%\twain_32\%TwainDir%\Software.pdf"""""",,,,""%10%\twain_32\%TwainDir%"",""Software.pdf"""

[Group.Del.Ini]
setup.ini, progman.groups,, "group1=""%HotKeyGroup%"""
setup.ini, group1,, """%Utility%"""
setup.ini, group1,, """%Manual%"""
;setup.ini, group1,, """%Software%"""

[HotKey.Add.Reg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run","HotKey",,%10%\Twain_32\%TwainDir%\HotKey.exe
HKCU,"Software\OneTouchHotKey"
HKCU,"Software\OneTouchHotKey","InstallRoot",,"%10%\Twain_32\%TwainDir%"
HKCU,"Software\OneTouchHotKey","TempFolder",,"%10%\Twain_32\%TwainDir%\Temp"


[Strings]
HotKeyGroup= "Uniscan A30"
Msft=Scanner
Mfg=Scanner

Utility="Uniscan A30 Utility"
TwainUIName="Uniscan A30" 
Product="Uniscan A30"
ProductDesc="Uniscan A30"
TwainDir="A30" 
Manual= "User Manual"
;Software="Software Manual"