;Copyright(C) Canon Inc. All right reserved.
; Setup.ini
;
; LastModified: 24-Jan-2013
;
[Setup]
;-------------------------------------------------------------
; MUST
;-------------------------------------------------------------
; Product Name
ProductName=%NAME_PRODUCT%
; Default Target Directory
DefaultTargetDir=\CanonMF
; Default Device Directory
DefaultDeviceDir=%DIR_DEVICE%
;-------------------------------------------------------------
; OPTIONAL
;-------------------------------------------------------------
; VisualStyle(Windows XP or later)
; This value cannot use righthand variable.
EnableVisualStyle=1
; Region Default
RegionDefault=%REGION_DEFAULT%
; License Agreement
; License.<RegionDefault>=License.txt
; If License.1 or later EULA defined, show select dialog.
;
License.0=misc\%FILE_LICENSE_REGION0%

; Shortcut Directory (Default = "")
ProgramShortcutDir=%DIR_PROGRAMSHORTCUT%
; Readme File
Readme.WINNT5=%FILE_README_NAME%, %FILE_README_NAME0%, %FILE_README_NAME1%, %FILE_README_NAME2%, %FILE_README_NAME3%
Readme.WINNT5_x64=%FILE_README_NAME%, %FILE_README_NAME0%, %FILE_README_NAME1%, %FILE_README_NAME2%, %FILE_README_NAME3%
Readme.WINXP_x64=%FILE_README_NAME%, %FILE_README_NAME0%, %FILE_README_NAME1%, %FILE_README_NAME2%, %FILE_README_NAME3%

; Readme Shortcut (MUST Readme)
ReadmeShortcut=%NAME_READMESHORTCUT%.lnk, %NAME_READMESHORTCUT0%.lnk, %NAME_READMESHORTCUT1%.lnk, %NAME_READMESHORTCUT2%.lnk, %NAME_READMESHORTCUT3%.lnk
; Required Diskspace (MB)
; If you do not specified, installer use DRIVERDIRSIZE(70MB) + 10MB for checking.
Diskspace=290
Diskspace.WINXP_x64=290

;Models
ModelVariation=%MODEL_ALL%
;above flags are linked with Readme File(if it'll installed, value is 1)
;FILE_README_NAME0,FILE_README_NAME1,FILE_README_NAME2,...
;PRODUCT(0)+BDL(1)+SCANNER(2)+FAX(3)+PCL(4)+PS(5)+XPS(6)
;%MODEL_ALL%=1,1,1,1,1,1,0
;XPSINDEX=6
;PRODUCT(0)+BDL(1)+SCANNER(2)+FAX(3)+XPS(4)
%MODEL_ALL%=1,1,1,1,1
XPSINDEX=4

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

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

[NotCopyInf]
; Can use WIN9X, WINNT5
WINNT5=
WINNT5_x64=
WINXP_x64=

[NotCopyInfFileName]
WIN2K=%NOTCOPYINF_XPS_i386%
WINXP=%NOTCOPYINF_XPS_i386%
WINXP_x64=%NOTCOPYINF_XPS_amd64%
WINVISTA=
WINVISTA_x64=
WINVISTA_NONSP=%NOTCOPYINF_XPS_i386%
WINVISTA_x64_NONSP=%NOTCOPYINF_XPS_amd64%

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

[DriverVersion_2KXP]
%DRIVERNAME_1%=20.90.0.0
%DRIVERNAME_2%=8.90.0.0
%DRIVERNAME_3%=1.70.0.246


[Extension]
; Can be specified .x86, .x64
; Righthand value is <ExtensionID>,<DLLNAME>,<DLLEntryPoint>
; You can run extension directory by using /X<ExtensionID> commandline option.
;
%NAME_USB%=USB|DEFAULT
%NAME_NETWORK%=NET,misc\EXT\NiHelper.dll,HELPER_LaunchNetworkInstaller

[Extension.WIN2K3]
;-------------------------------------------------------------
; Windows Server 2003 only
;-------------------------------------------------------------
; Can be specified .x86, .x64
; Righthand value is <ExtensionID>,<DLLNAME>,<DLLEntryPoint>
; You can run extension directory by using /X<ExtensionID> commandline option.
;
%NAME_NETWORK%=NET,misc\EXT\NiHelper.dll,HELPER_LaunchNetworkInstaller

[Extension.WIN2K3_x64]
;-------------------------------------------------------------
; Windows Server 2003 only
;-------------------------------------------------------------
; Can be specified .x86, .x64
; Righthand value is <ExtensionID>,<DLLNAME>,<DLLEntryPoint>
; You can run extension directory by using /X<ExtensionID> commandline option.
;
%NAME_NETWORK%=NET,misc\EXT\NiHelper.dll,HELPER_LaunchNetworkInstaller

[Uninstaller]
;-------------------------------------------------------------
; OPTIONAL 
;  But if you set uninstallation information, set the 
;  following values.
;  Version, DisplayName, Files, TargetDir, and ProductGUID
;-------------------------------------------------------------
Version=4.1.0.1
DisplayName=%NAME_UNINSTALLER%
Files.WINNT5=misc\DelDrv.exe,misc\DelDrv.ini,misc\DelDrvRes.DLL,misc\SetupRes.ini,misc\Ext\PMon\MFPMUI.ex_,misc\Ext\PMon\MFPMIU.ini,misc\Ext\SUtil\MFSUUI.ex_,misc\Ext\SUtil\MFSUIU.ini
Files.WINNT5_x64=misc\DelDrv.exe,misc\DelDrv.ini,misc\DelDrvRes.DLL,misc\SetupRes.ini,misc\Ext\PMon\MFPMUI.ex_,misc\Ext\PMon\MFPMIU.ini,misc\Ext\SUtil\MFSUUI.ex_,misc\Ext\SUtil\MFSUIU.ini
Files.WINXP_x64=misc\DelDrv.exe,misc\DelDrv.ini,misc\DelDrvRes.DLL,misc\SetupRes.ini,misc\Ext\PMon\MFPMUI.ex_,misc\Ext\PMon\MFPMIU.ini,misc\Ext\SUtil\MFSUUI.ex_,misc\Ext\SUtil\MFSUIU.ini

TargetDir=CanonMF Uninstaller Information
ProductGUID=%GUID_UNINSTALLER%
CommandLine=/U:%GUID_UNINSTALLER% /L0x%__SELECTEDLANGID__%
Shortcut=%NAME_UNINSTALLERSHORTCUT%.lnk

[ExclusiveComponents]
Component=DDS, MpassDTM1x, MpassDTM2x, MpassDTM3x, Mpass4x, Mpass40
; 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=0x638

[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

[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=0x238

[Mpass40]
; MultiPASS Suite 4.0 series
Name=%NAME_MULTIPASS_DRIVER%
Installed=HKEY_LOCAL_MACHINE/\Software\Microsoft\Windows\CurrentVersion\Uninstall\{8A508AAA-3B69-4326-B89E-A6166FA05D3C}/Version/NE
OSFILTER=0x638

[LANGUAGES]
; LangID(Hex)=LanguageName, StringTableFile, ResourceDLL
; If the righthand value is "<SELECT>", display selection dialog.
; 0000 ---- Neutral(Default)
0000=,misc\SetupRes.ini,misc\IstDrvRes.dll

[OS]
Srv2008_Edition=0000022801010340

