; Copyright 2004 Samsung Electronics Co.,Ltd. All right reserved.
; TEST for SM INF installer

[Version]
Signature="$Chicago$"
Provider="Samsung"
OEMID=t221s,ScanMgr
LayoutFile=test.inf
DriverVer=01/20/2003, 1.13
Class=NonDevice

; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box

[Manufacturer]
%Samsung%

[TOSHIBA]
%SM% = SMfiles

[SMfiles]
CopyFiles=SCANMANAGER_FILES,CONTROLPANEL32_FILES,SSCAN2IO_FILES,ScanMgrA
SharedSection=SharedFiles
AddReg=ExtraInfo

[SMfiles.nt]
CopyFiles=SCANMANAGER_FILES,CONTROLPANEL32_FILES,SSCAN2IO_FILES,ScanMgrA
SharedSection=SharedFiles
AddReg=ExtraInfo
CopyFiles_Custom=WIN2K

[SMfiles.NTamd64]
CopyFiles=SCANMANAGER_FILES,CONTROLPANEL64_FILES,SSCAN2IO_FILES,ScanMgrA
SharedSection=SharedFiles
AddReg=ExtraInfo


[SCANMANAGER_FILES]
QFilter.dll
QJpgopt.dll     
QJpgEnc.dll
ssQscan.dll
ssQscan.exe
ssQScan.ini 
SecSNMP.dll
ssmgrDM.dll
ScanMgr.exe
ScanMgr_AB.dat   
ScanMgr_BP.dat   
ScanMgr_CP.dat   
ScanMgr_CT.dat
ScanMgr_CZ.dat   
ScanMgr_DN.dat   
ScanMgr_DT.dat   
ScanMgr_EL.dat
ScanMgr_EN.dat   
ScanMgr_FI.dat   
ScanMgr_FN.dat   
ScanMgr_GR.dat
ScanMgr_HB.dat   
ScanMgr_HU.dat   
ScanMgr_IT.dat   
ScanMgr_JP.dat
ScanMgr_NR.dat   
ScanMgr_PO.dat   
ScanMgr_PT.dat   
ScanMgr_RU.dat
ScanMgr_SP.dat   
ScanMgr_SW.dat   
ScanMgr_TK.dat 
ScanMgr_KR.dat 
SecSNMPR.dll

[CONTROLPANEL32_FILES]
tsmgr.cpl


[CONTROLPANEL64_FILES]
tsmgr64.cpl

[SSCAN2IO_FILES]
Email.ico
empty.ico
IMFilter.dll
JPEGEnc.dll
JPEGopt.dll
langinfo.ini
MapiMail.exe
MfcOle.dll
NetModule.dll
NetS2IO.dll
NetS2PC.ini
pname.ini
pname.in_
s2mail.dat
S2PC_EN.DAT 
S2PC_KR.DAT
S2STR_AB.DAT 
S2STR_BP.DAT
S2STR_CP.DAT   
S2STR_CT.DAT
S2STR_CZ.DAT    
S2STR_DN.DAT   
S2STR_DT.DAT    
S2STR_EL.DAT
S2str_en.dat  
S2STR_FI.DAT   
S2STR_FN.DAT    
S2STR_GR.DAT
S2STR_HB.DAT  
S2STR_HU.DAT  
S2STR_IT.DAT    
S2STR_JP.DAT
S2str_kr.dat   
S2STR_NR.DAT   
S2STR_PO.DAT   
S2STR_PT.DAT
S2STR_RU.DAT    
S2STR_SP.DAT    
S2STR_SW.DAT    
S2STR_TK.DAT
Scan2Mail.dat   
Scan2Pc.exe
ScanMail.dll
SCANOCR.exe
scanopt.ini   
scanopt.in_     
scantopc.dll
Sscan2io.exe
SSOle.dll
CloseApp.exe
fax2pc.dat
FAXMGR.DLL
FXDM2.dll
FXNW2.DLL
IOManager.DLL
IMFilter2.dll
NetDisc.DLL
NetModule2.dll

[ScanMgrA]
smgrinst.exe

[WIN2K]
FXNW2.DLL, FXNW2_win2k.DLL, 0x00000400

;=================== DestinationDirs ===========================
[DestinationDirs]
DefaultDestDir=11
SSCAN2IO_FILES = 10,Twain_32\%COMPANY_NAME%\%FOLDER_NAME%
SCANMANAGER_FILES = 10,Twain_32\%COMPANY_NAME%
CONTROLPANEL32_FILES = 11
CONTROLPANEL64_FILES = 11
ScanMgrA = 10,Twain_32\%COMPANY_NAME%
WIN2K = 10,Twain_32\%COMPANY_NAME%\%FOLDER_NAME%

FileRootDir=32800, %COMPANY_NAME%\%FOLDER_NAME%

[SourceDisksNames]
1 = %DISK_NAME%,,,

[SourceDisksFiles]
;== Scan Manager Files ==================================================
QFilter.dll = 1,\ScanMgr    
QJpgopt.dll = 1,\ScanMgr          
QJpgEnc.dll = 1,\ScanMgr          
tsmgr.cpl = 1,\ScanMgr
tsmgr64.cpl = 1,\ScanMgr      
ssQscan.dll = 1,\ScanMgr    
ssQscan.exe = 1,\ScanMgr    
ssQScan.ini = 1,\ScanMgr 
SecSNMP.dll = 1,\ScanMgr 
ssmgrDM.dll = 1,\ScanMgr 
ScanMgr.exe = 1,\ScanMgr 
ScanMgr_AB.dat = 1,\ScanMgr
ScanMgr_BP.dat = 1,\ScanMgr
ScanMgr_CP.dat = 1,\ScanMgr
ScanMgr_CT.dat = 1,\ScanMgr
ScanMgr_CZ.dat = 1,\ScanMgr
ScanMgr_DN.dat = 1,\ScanMgr
ScanMgr_DT.dat = 1,\ScanMgr
ScanMgr_EL.dat = 1,\ScanMgr
ScanMgr_EN.dat = 1,\ScanMgr
ScanMgr_FI.dat = 1,\ScanMgr
ScanMgr_FN.dat = 1,\ScanMgr
ScanMgr_GR.dat = 1,\ScanMgr
ScanMgr_HB.dat = 1,\ScanMgr   
ScanMgr_HU.dat = 1,\ScanMgr   
ScanMgr_IT.dat = 1,\ScanMgr   
ScanMgr_JP.dat = 1,\ScanMgr
ScanMgr_NR.dat = 1,\ScanMgr   
ScanMgr_PO.dat = 1,\ScanMgr   
ScanMgr_PT.dat = 1,\ScanMgr   
ScanMgr_RU.dat = 1,\ScanMgr
ScanMgr_SP.dat = 1,\ScanMgr   
ScanMgr_SW.dat = 1,\ScanMgr   
ScanMgr_TK.dat = 1,\ScanMgr 
ScanMgr_KR.dat = 1,\ScanMgr 
SecSNMPR.dll = 1,\ScanMgr

;== SSCAN2IO Files ==================================================
Email.ico = 1,\SSCAN2IO
empty.ico = 1,\SSCAN2IO
IMFilter.dll = 1,\SSCAN2IO
JPEGEnc.dll = 1,\SSCAN2IO
JPEGopt.dll = 1,\SSCAN2IO
langinfo.ini = 1,\SSCAN2IO
MapiMail.exe = 1,\SSCAN2IO
MfcOle.dll = 1,\SSCAN2IO
NetModule.dll = 1,\SSCAN2IO
NetS2IO.dll = 1,\SSCAN2IO
NetS2PC.ini = 1,\SSCAN2IO
pname.ini = 1,\SSCAN2IO
pname.in_ = 1,\SSCAN2IO
s2mail.dat = 1,\SSCAN2IO
S2PC_EN.DAT = 1,\SSCAN2IO 
S2PC_KR.DAT = 1,\SSCAN2IO
S2STR_AB.DAT = 1,\SSCAN2IO 
S2STR_BP.DAT = 1,\SSCAN2IO
S2STR_CP.DAT = 1,\SSCAN2IO   
S2STR_CT.DAT = 1,\SSCAN2IO
S2STR_CZ.DAT = 1,\SSCAN2IO    
S2STR_DN.DAT = 1,\SSCAN2IO   
S2STR_DT.DAT = 1,\SSCAN2IO    
S2STR_EL.DAT = 1,\SSCAN2IO
S2str_en.dat = 1,\SSCAN2IO  
S2STR_FI.DAT = 1,\SSCAN2IO  
S2STR_FN.DAT = 1,\SSCAN2IO    
S2STR_GR.DAT = 1,\SSCAN2IO
S2STR_HB.DAT = 1,\SSCAN2IO  
S2STR_HU.DAT = 1,\SSCAN2IO  
S2STR_IT.DAT = 1,\SSCAN2IO    
S2STR_JP.DAT = 1,\SSCAN2IO
S2str_kr.dat = 1,\SSCAN2IO   
S2STR_NR.DAT = 1,\SSCAN2IO   
S2STR_PO.DAT = 1,\SSCAN2IO   
S2STR_PT.DAT = 1,\SSCAN2IO
S2STR_RU.DAT = 1,\SSCAN2IO    
S2STR_SP.DAT = 1,\SSCAN2IO    
S2STR_SW.DAT = 1,\SSCAN2IO    
S2STR_TK.DAT = 1,\SSCAN2IO
Scan2Mail.dat = 1,\SSCAN2IO   
Scan2Pc.exe = 1,\SSCAN2IO    
ScanMail.dll = 1,\SSCAN2IO  
SCANOCR.exe = 1,\SSCAN2IO   
scanopt.ini = 1,\SSCAN2IO   
scanopt.in_ = 1,\SSCAN2IO     
scantopc.dll = 1,\SSCAN2IO     
Sscan2io.exe = 1,\SSCAN2IO   
SSOle.dll = 1,\SSCAN2IO
CloseApp.exe = 1,\SSCAN2IO
fax2pc.dat = 1,\SSCAN2IO
FAXMGR.DLL = 1,\SSCAN2IO
FXDM2.dll = 1,\SSCAN2IO
FXNW2.DLL = 1,\SSCAN2IO
IOManager.DLL = 1,\SSCAN2IO
IMFilter2.dll = 1,\SSCAN2IO
NetDisc.DLL = 1,\SSCAN2IO
NetModule2.dll = 1,\SSCAN2IO
;==============================
smgrinst.exe = 1,
FXNW2_win2k.DLL = 1,\SSCAN2IO\WIN2K

[ShortcutIcons]
;숏컷.  숏컷 언어파일, 파일목록 섹션, INI 섹션 이름, 번역문구 key 이름
;ExeName = Parameters, SectionInINF, InfoFileName, DataFileLocatioin, SectionInOtherfile

;ScanMgr.exe = ,SCANMANAGER_FILES,set_LC.trs, setlang, tooltip, SMARTPANEL

[RefClass]
"Samsung ScanMgr"

;설치 및 재설치후
[ExecuteFile]
smgrinst.exe = ScanMgrA, /m"""%COMPANY_NAME%""" /n"""%MODELN%""" /l"""$LANG_ABBR$"""
Scan2pc.exe = SSCAN2IO_FILES

;삭제 / 재설치전
[ExeInUninstall]
CloseApp.exe = SSCAN2IO_FILES
smgrinst.exe = ScanMgrA, /u /m"""%COMPANY_NAME%""" /n"""%MODELN%""" /l"""$LANG_ABBR$"""

[ExtraInfo]
;레지스트리 추가
;HKLM, "Software\Microsoft\Windows\CurrentVersion\Run", "ELBERT_S2P", FLG_ADDREG_TYPE_SZ, "@RCPdata\Scan2pc.exe"
;HKLM, "SOFTWARE\ScanManager\Samsung", Default, 0x0000000, "Samsung SCX-5x30 Series"
;HKLM, "SOFTWARE\SPanel\Samsung\Samsung SCX-5x30 Series", HTMLHelpPath, 0x0000000, @SCANMANAGER_FILES\SM
;HKLM, "SOFTWARE\SPanel\Samsung\Samsung SCX-5x30 Series", NotifyError, 0x00010001, 1

[ConditionedSection]
ScanMgrA
SCANMANAGER_FILES
CONTROLPANEL32_FILES
CONTROLPANEL64_FILES

[ConditionalDel]
;삭제 여부를 판단할 레지스트리 키 작성
HKLM, "SOFTWARE\TOSHIBA\ScanManager"

[Strings]
SAMSUNG = "TOSHIBA"
SM = "TOSHIBA e-STUDIO221S"
DISK_NAME = "TOSHIBA Scan Manager Installation Disk"
COMPANY_NAME = "TOSHIBA"
MODELN = "TOSHIBA e-STUDIO221S"
;twain folder name
FOLDER_NAME = "eS221S"