[Setup]
;-------------------------------------------------------------
; MUST
;-------------------------------------------------------------
; Product Name
ProductName=%NAME_PRODUCT%
; Default Target Directory
DefaultTargetDir=\CanonMP
; Default Device Directory
DefaultDeviceDir=%DIR_DEVICE%
;-------------------------------------------------------------
; OPTIONAL
;-------------------------------------------------------------
; VisualStyle(Windows XP or later)
; This value cannot use righthand variable.
EnableVisualStyle=0
; Region Default
RegionDefault=%REGION_DEFAULT%
; License Agreement
; License.<RegionDefault>=License.txt
; If License.1 or later EULA defined, show select dialog.
;
License.0=%FILE_LICENSE_REGION0%
License.1=%FILE_LICENSE_REGION1%
License.2=%FILE_LICENSE_REGION2%
License.3=%FILE_LICENSE_REGION3%
; Shortcut Directory (Default = "")
ProgramShortcutDir=%DIR_PROGRAMSHORTCUT%
; Readme File
Readme=%FILE_README%
; Readme Shortcut (MUST Readme)
ReadmeShortcut=%NAME_READMESHORTCUT%.lnk
; Required Diskspace (MB)
; If you do not specified, installer use DRIVERDIRSIZE + 5MB for checking.
Diskspace=130
; Screen Caps
Resolution.X=800
Resolution.Y=600
ColorDepth=15

[DirOS]
; Can use WIN9X, WINNT5, WINNT5_x64
WIN9X=..\%DIR_WIN9X%
WINNT5=..\%DIR_WINNT5%
WINNT5_x64=..\%DIR_WINNT5_X64%

[TargetOS]
..\%DIR_WIN9X%=%NAME_OS_WIN9X%
..\%DIR_WINNT5%=%NAME_OS_WINNT5%
..\%DIR_WINNT5_X64%=%NAME_OS_WINNT5_X64%
;-------------------------------------------------------------
; OPTIONAL
;-------------------------------------------------------------
Delimiter=%NAME_DELIMITER%

[NotCopyInf]
; Can use WIN9X, WINNT5, WINNT5_x64
WIN98=
WINME=%FILE_EXCLUSIVE_INF_ME%
WINNT5=
WINNT5_x64=

[ServicePacks]
; Cannot use WINNT5, WINNT5_x64
WIN2K=0
WINXP=0
WINXP_x64=0

[ReplaceFiles9X]
;-------------------------------------------------------------
; OPTIONAL
; (Windows 9X only)
; Windows 2000 or later NT based Windows is must support
; Hardware First Installation. So, It is should not support
; Installer replace system files.
;-------------------------------------------------------------
UsbPrint=\System\MpUsbPrt.sys
Storage=\System32\Drivers\MpUsbStr.sys

[InstallFiles]
;-------------------------------------------------------------
; Windows NTx86, NTamd64
;-------------------------------------------------------------
..\DrvSetup=\Twain_32\%SG_NAME%\_SETSCN_.INI

[InstallFiles.WIN9X]
;-------------------------------------------------------------
; Windows 9X only
;-------------------------------------------------------------
..\DrvSetup=\Twain_32\%SG_NAME%\_SETSCN_.INI
.=\System\CJTHK16.DLL
.=\System\CJTHK32.DLL
Scan\CNCSG112=\System\MSVCRT.DLL

[AdditionalSetup]
; Can be specified .x86, .x64
Update\UpdtLncr.ex_ /q=%STR_ADDITIONAL_UPDTLNCR%

[Uninstaller]
;-------------------------------------------------------------
; OPTIONAL 
;  But if you set uninstallation information, set the 
;  following values.
;  Version, DisplayName, Files, TargetDir, and ProductGUID
;-------------------------------------------------------------
Version=1.0.1.0
DisplayName=%NAME_UNINSTALLER%
Files.WIN9X=DelDrv.exe,DelDrv.ini,CNCIDD16.DLL,CNCIDD32.DLL,RES\DLL\DelDrv*.DLL,RES\STRING\*.ini
Files.WINNT5=DelDrv.exe,DelDrv.ini,RES\DLL\DelDrv*.DLL,RES\STRING\*.ini
Files.WINNT5_x64=DelDrv.exe,DelDrv.ini,RES\DLL\DelDrv*.DLL,RES\STRING\*.ini
TargetDir=CanonMP Uninstaller Information
ProductGUID=%GUID_UNINSTALLER%
CommandLine=/U:%GUID_UNINSTALLER% /L0x%__SELECTEDLANGID__%
Shortcut=%NAME_UNINSTALLERSHORTCUT%.lnk

[ExclusiveComponents]
Component=DDS, MpassDTM1x, MpassDTM2x, MpassDTM3x, Mpass330, Mpass340, Mpass350, Mpass4x, MP100

; Following section is used for detecting an older version. (for Ver1.01 or later)
[MP100]
Name=%NAME_PRODUCT%
Installed=HKEY_LOCAL_MACHINE/\Software\Microsoft\Windows\CurrentVersion\Uninstall\%GUID_UNINSTALLER%/Version/1.0.0.0
OSFILTER=0xE38

[DDS]
; MultiSpot Document Distribution System
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\SOFTWARE\Canon Information Systems\Installed MFD Software/Installed Software/MultiSpot Document Distribution System
OSFILTER=0x638

[MpassDTM1x]
; MultiPASS Desktop Manager 1.x series
Name=%NAME_MULTIPASS_DRIVER%
Installed=mpass.ini/Common/Version/V1.*
OSFILTER=0x638

[MpassDTM2x]
; MultiPASS Desktop Manager 2.x series
Name=%NAME_MULTIPASS_DRIVER%
Installed=mpass.ini/Common/Version/2.*
OSFILTER=0x638

[MpassDTM3x]
; MultiPASS Desktop Manager 3.x series
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\SOFTWARE\Canon Information Systems\MultiPASS Desktop Manager\Shared\Common\Installed/*/1
OSFILTER=0x638

[Mpass330]
; MultiPASS 3.30
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\SOFTWARE\Canon Information Systems\MultiPASS\Shared\Common\Version/*/3.30
OSFILTER=0x638

[Mpass340]
; MultiPASS 3.40
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\SOFTWARE\Canon Information Systems\MultiPASS\Shared\Common\Version/*/3.40
OSFILTER=0x638

[Mpass350]
; MultiPASS 3.50
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\SOFTWARE\Canon Information Systems\MultiPASS\Shared\Common\Version/*/3.50
OSFILTER=0x638

[Mpass4x]
; MultiPASS Suite 4.x series
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\Software\Microsoft\Windows\CurrentVersion\Uninstall\{8A508AAA-3B69-4326-B89E-A6166FA05D3C}/UninstallString/*
OSFILTER=0x638

[LANGUAGES]
; LangID(Hex)=LanguageName, StringTableFile, ResourceDLL
; If the righthand value is "<SELECT>", display selection dialog.
; 0000 ---- Neutral(Default)
0000=<SELECT>
0009=English,RES\STRING\Setup0009.ini,RES\DLL\IstDrvUS.dll
000C=French,RES\STRING\Setup000C.ini,RES\DLL\IstDrvFR.dll
0007=German,RES\STRING\Setup0007.ini,RES\DLL\IstDrvDE.dll
0010=Italian,RES\STRING\Setup0010.ini,RES\DLL\IstDrvIT.dll
000A=Spanish,RES\STRING\Setup000A.ini,RES\DLL\IstDrvES.dll
0016=Portuguese,RES\STRING\Setup0016.ini,RES\DLL\IstDrvPT.dll
0013=Dutch,RES\STRING\Setup0013.ini,RES\DLL\IstDrvNL.dll
0015=Polish,RES\STRING\Setup0015.ini,RES\DLL\IstDrvPL.dll
0019=Russian,RES\STRING\Setup0019.ini,RES\DLL\IstDrvRU.dll
0804=Simplified Chinese,RES\STRING\Setup0804.ini,RES\DLL\IstDrvCN.dll
0404=Traditional Chinese,RES\STRING\Setup0404.ini,RES\DLL\IstDrvTW.dll
0012=Korean,RES\STRING\Setup0012.ini,RES\DLL\IstDrvKR.dll
0011=Japanese,RES\STRING\Setup0011.ini,RES\DLL\IstDrvJP.dll

[EXIF_Default]
; External Interface (Default)
; Always set installer lang as printer lang.
SetPrinterLang=1

