;---------------------------------------------------------------------
; Apfiltr.inf
;
; Alps Pointing-device Driver for Windows XP/Vista Installation
; Copyright(C) 1999-2010 Alps Electric Co., Ltd.
;---------------------------------------------------------------------

[Version]
Signature		= "$Windows NT$"
Provider		= %Provider%
Class			= Mouse
ClassGUID		= {4D36E96F-E325-11CE-BFC1-08002BE10318}
CatalogFile		= Apfiltr.cat
DriverVer		= 04/28/2010, 7.5.529.105
DriverPackageDisplayName	= "Touch Pad Driver"

[SourceDisksNames]
1 = %DiskID%,,,

[SourceDisksFiles]
Apfiltr.sys		= 1,,
Vxdif.dll		= 1,,
Apoint.exe		= 1,,
ApntEx.exe		= 1,,
Ezcapt.exe		= 1,,
Apvfb.exe		= 1,,
Apoint.dll		= 1,,
ApRes.dll		= 1,,
EzLaunch.dll	= 1,,
Elprop.dll		= 1,,
EzAuto.dll		= 1,,
ApointJP.chm	= 1,,
ApointUS.chm	= 1,,
ApointGR.chm	= 1,,
ApointFR.chm	= 1,,
ApointIT.chm	= 1,,
ApointSP.chm	= 1,,
ApointKR.chm	= 1,,
ApointCS.chm	= 1,,
ApointCT.chm	= 1,,
ApointNL.chm	= 1,,
ApointRU.chm	= 1,,
Uninstap.exe	= 1,,
ApInst.dll		= 1,,
ApMsgFwd.exe	= 1,,
WdfCoinstaller01009.dll	= 1,,
ApointJP.pop	= 1,,
ApointUS.pop	= 1,,
ApointGR.pop	= 1,,
ApointFR.pop	= 1,,
ApointIT.pop	= 1,,
ApointSP.pop	= 1,,
ApointKR.pop	= 1,,
ApointCS.pop	= 1,,
ApointCT.pop	= 1,,
ApointNL.pop	= 1,,
ApointRU.pop	= 1,,
player.exe		= 1,,
PinchZoom.avi		= 1,,
Flick.avi		= 1,,
PivotRotate.avi		= 1,,

[DestinationDirs]
DefaultDestDir					= 12					; DIRID_DRIVERS System32\Drivers
MouFilter_CopyFilesDll			= 11					; System32
MouFilter_CopyFiles_CoInstaller = 11
MouFilter_CopyFilesHome			= 16422, %Apoint_Path%	; %Program Files%\Apoint
MouFilter_CopyFilesHome_XP		= 16422, %Apoint_Path%	; \Program Files\Apoint
MouFilter_CopyFilesHome_Vista		= 16422, %Apoint_Path%	; \Program Files\Apoint

; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg,NT.5,NT.6,NTamd64

[CompanyMfg.NTamd64] 	; for 64Bit OS (not supporting)
[CompanyMfg] 			; for 2000, XP (not supporting)
; Not supporting Windows 2000,XP,64-bit OS

[CompanyMfg.NT.5]    ; for XP 32-bit
%*sny9001.DevDesc%= MouFilter_Inst9001_XP, *SNY9001,ACPI\SNY9001	;Alps Pointing-device
%*sny9002.DevDesc%= MouFilter_Inst9002_XP, *SNY9002,ACPI\SNY9002	;Alps Pointing-device
%*sny9006.DevDesc%= MouFilter_Inst9006_XP, *SNY9006,ACPI\SNY9006	;Alps Pointing-device (Film)
%*sny9009.DevDesc%= MouFilter_Inst9001_XP, *SNY9009,ACPI\SNY9009	;Alps Pointing-device (Wide/Standard size)
%*sny900A.DevDesc%= MouFilter_Inst9001_XP, *SNY900A,ACPI\SNY900A	;Alps Pointing-device (Wide/Compact size)
%*sny900C.DevDesc%= MouFilter_Inst900C_XP, *SNY900C,ACPI\SNY900C	;Alps Pointing-device (Wide/Compact size)
%*sny9011.DevDesc%= MouFilter_Inst9011_XP, *SNY9011,ACPI\SNY9011	;Alps Pointing-device
%*snyalp0012.DevDesc%= MouFilter_Inst9011_XP, *SNYALP0012,ACPI\SNYALP0012	;Alps Pointing-device
%*pnp0f03.DevDesc%= MouFilter_Inst_XP, *PNP0F13,ACPI\PNP0F13,*PNP0F03,ACPI\PNP0F03,*PNP0F0E,ACPI\PNP0F0E,*PNP0F0B,ACPI\PNP0F0B,*PNP0F12,ACPI\PNP0F12			;PS/2 mouse

[CompanyMfg.NT.6]    ; for Vista 32-bit 
%*sny9001.DevDesc%= MouFilter_Inst9001, *SNY9001,ACPI\SNY9001	;Alps Pointing-device
%*sny9002.DevDesc%= MouFilter_Inst9002, *SNY9002,ACPI\SNY9002	;Alps Pointing-device
%*sny9006.DevDesc%= MouFilter_Inst9006, *SNY9006,ACPI\SNY9006	;Alps Pointing-device (Film)
%*sny9009.DevDesc%= MouFilter_Inst9001, *SNY9009,ACPI\SNY9009	;Alps Pointing-device (Wide/Standard size)
%*sny900A.DevDesc%= MouFilter_Inst9001, *SNY900A,ACPI\SNY900A	;Alps Pointing-device (Wide/Compact size)
%*sny900C.DevDesc%= MouFilter_Inst900C, *SNY900C,ACPI\SNY900C	;Alps Pointing-device (Wide/Compact size)
%*sny9011.DevDesc%= MouFilter_Inst9011, *SNY9011,ACPI\SNY9011	;Alps Pointing-device
%*snyalp0012.DevDesc%= MouFilter_Inst9011, *SNYALP0012,ACPI\SNYALP0012	;Alps Pointing-device
%*pnp0f03.DevDesc%= MouFilter_Inst, *PNP0F13,ACPI\PNP0F13,*PNP0F03,ACPI\PNP0F03,*PNP0F0E,ACPI\PNP0F0E,*PNP0F0B,ACPI\PNP0F0B,*PNP0F12,ACPI\PNP0F12			;PS/2 mouse

; -------------- PS/2 Mouse --------------
;	-------- Default Setting (for Vista) --------
[MouFilter_Inst.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	-------- Default Setting (for XP) --------
[MouFilter_Inst_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9001 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst9001.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst9001.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9001.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9001.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9001.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9001 Setting (for XP)--------
;	--------------------------------------------
[MouFilter_Inst9001_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst9001_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9001_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9001_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9001_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


;	--------------------------------------------
;	-------- SNY9002 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst9002.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst9002.AddReg

[MouFilter_Inst9002.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9002.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst9002.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9002.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9002.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9002 Setting (for XP)--------
;	--------------------------------------------
[MouFilter_Inst9002_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst9002.AddReg

[MouFilter_Inst9002_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9002_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst9002.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9002_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9002_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9006 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst9006.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst9006.AddReg

[MouFilter_Inst9006.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9006.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst9006.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9006.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9006.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9006 Setting (for XP)--------
;	--------------------------------------------
[MouFilter_Inst9006_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst9006.AddReg

[MouFilter_Inst9006_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9006_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst9006.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9006_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9006_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller



;	--------------------------------------------
;	-------- SNY900C Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst900C.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst900C.AddReg

[MouFilter_Inst900C.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst900C.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst900C.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst900C.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst900C.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY900C Setting (for XP)--------
;	--------------------------------------------
[MouFilter_Inst900C_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst900C.AddReg

[MouFilter_Inst900C_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst900C_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, MouFilter_Inst900C.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst900C_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst900C_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9011 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst9011.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_Vista
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst9011.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9011.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9011.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9011.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- SNY9011 Setting (for XP)--------
;	--------------------------------------------
[MouFilter_Inst9011_XP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_XP
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst9011_XP.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9011_XP.NT.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst9011_XP.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst9011_XP.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


;--------------- Files Copy Section

[MouFilter_CopyFiles]
Apfiltr.sys				; *

[MouFilter_CopyFilesDll]
Vxdif.dll

[MouFilter_CopyFilesHome]
Apoint.exe
ApntEx.exe
Ezcapt.exe
Apvfb.exe
Apoint.dll
ApRes.dll
EzLaunch.dll
Elprop.dll
EzAuto.dll
Uninstap.exe
ApInst.dll
ApMsgFwd.exe
player.exe
PinchZoom.avi
Flick.avi
PivotRotate.avi

[MouFilter_CopyFilesHome_XP]
ApointJP.pop
ApointUS.pop
ApointGR.pop
ApointFR.pop
ApointIT.pop
ApointSP.pop
ApointKR.pop
ApointCS.pop
ApointCT.pop
ApointNL.pop
ApointRU.pop

[MouFilter_CopyFilesHome_Vista]
ApointJP.chm
ApointUS.chm
ApointGR.chm
ApointFR.chm
ApointIT.chm
ApointSP.chm
ApointKR.chm
ApointCS.chm
ApointCT.chm
ApointNL.chm
ApointRU.chm

[MouFilter_CopyFiles_CoInstaller]
WdfCoinstaller01009.dll

;--------------- AddRegistry Section

[MouFilter_Inst.HW.AddReg] 
HKR,,"UpperFilters",		0x00010000,"ApfiltrService"

[MouFilter_CoInstaller_AddReg]
HKR,,"CoInstallers32",		0x00010000, "WdfCoinstaller01009.dll,WdfCoInstaller"

[MouFilter_Inst9002.AddReg]   ; #### for SNY9002 Settings ####
HKLM,%SetParamsMin%,	"CornerTapOffsetX",		0x00010001, 0x00000032
HKLM,%SetParamsMin%,	"CornerTapOffsetY",		0x00010001, 0x00000032
HKLM,%SetParamsMax%,	"CornerTapOffsetX",		0x00010001, 0x00000096
HKLM,%SetParamsMax%,	"CornerTapOffsetY",		0x00010001, 0x00000096

[MouFilter_Inst9006.AddReg]  ; #### for SNY9006 Settings ####
HKLM,%SetParamsMin%,	"CornerTapOffsetX",		0x00010001, 0x00000032
HKLM,%SetParamsMin%,	"CornerTapOffsetY",		0x00010001, 0x00000032
HKLM,%SetParamsMax%,	"CornerTapOffsetX",		0x00010001, 0x00000096
HKLM,%SetParamsMax%,	"CornerTapOffsetY",		0x00010001, 0x00000096
HKR,,"Enable_ForceCompensation",			0x00010001,0x00000001 ;

[MouFilter_Inst900C.AddReg]	; #### for SNY900C Setting ####
HKLM,%SetGesture%,		"LockAreaSet",			0x00010001, 0x00000000
HKLM,%SetGesture%,		"CornerTapOffsetY",		0x00010001, 0x00000032
HKLM,%SetParamsDef%,	"LockAreaSet",			0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"CornerTapOffsetY",		0x00010001, 0x00000032
HKR,,"LockAreaSet",							0x00010001,0x00000000
HKR,,"CornerTapOffsetY",					0x00010001,0x00000032

[MouFilter_Inst.AddReg]		; ### for Default Settings ####
HKCR,CLSID\%APOINT_GUID%\InProcServer32,,0x00020000,%%ProgramFiles%%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\%APOINT_GUID%\InProcServer32,ThreadingModel,0,Apartment
HKLM,%SHELLPROP%\Alps 1Apoint Page,,0,%APOINT_GUID%

HKLM,%UNINST%,		"UninstallString",			0x00020000, %%ProgramFiles%%\%Apoint_Path%\Uninstap.exe ADDREMOVE
HKLM,%UNINST%,		"DisplayName",				0x00000000, "Alps Pointing-device for VAIO"
HKLM,%UNINST%,		"DisplayIcon",				0x00020000, %%ProgramFiles%%\%Apoint_Path%\Apoint.exe
HKLM,%UNINST%,		"Publisher",				0x00000000, "ALPS ELECTRIC CO., LTD."
HKLM,%UNINST%,		"InstallLocation",			0x00020000, %%ProgramFiles%%\%Apoint_Path%
HKLM,%UNINST%,		"VersionMajor",				0x00010001,	0x00000007
HKLM,%UNINST%,		"VersionMinor",				0x00010001,	0x000000CA

; Auto Run Apoint.exe
HKLM,%RUN%,			"Apoint",					0x00020000, %%ProgramFiles%%\%Apoint_Path%\Apoint.exe

; Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",			0x00020000,	%%ProgramFiles%%\%Apoint_Path%
HKLM,%SetApoint%,	"ProductVer",				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"DisableSpeedControl",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"EnableMultiUser",			0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001,	0x00000532
HKLM,%SetApoint%,	"Install_Flag",				0x00010001,	0x00000001
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"SupportLanguage",			0x00010001,	0x004009ff	; RU/NL/KR/CT/CS/IT/SP/GR/FR/US/JP
HKLM,%SetApoint%,	"HideLogo",					0x00010001,	0x00000001
HKLM,%SetApoint%,	"ApMsgFwd_Flags", 			0x00010001, 0x000000FF
HKLM,%SetApoint%,	"SupportMultiGesture", 		0x00010001,	0x00000000
HKLM,%SetApoint%,	"ShowMultiGestureUI",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"CursorChangeType", 			0x00010001,0x00001212

; Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	"ButtonFunction",			0x00010001, 0x00548500
HKLM,%SetButton%,	"DoubleClkSpeed",			0x00010001, 0x00000006
HKLM,%SetButton%,	"EnableWheel",				0x00010001, 0x0000000B
HKLM,%SetButton%,	"USB_Button_Swap",			0x00010001, 0x00000000

; Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",			0x00010001, 0x00000020
HKLM,%SetMotion%,	"VertSensitivity",			0x00010001, 0x00000020
HKLM,%SetMotion%,	"Acceleration",				0x00010001, 0x00000004
HKLM,%SetMotion%,	"SnapTo",					0x00010001, 0x00000000

; Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	"Tapping",					0x00010001, 0x00000001
HKLM,%SetTapping%,	"TapSettings",				0x00010001, 0x00000010
HKLM,%SetTapping%,	"TapTyping",				0x00010001, 0x00000001
HKLM,%SetTapping%,	"TapTypingDelay",			0x00010001, 0x00000001
HKLM,%SetTapping%,	"AutoRelease",				0x00010001, 0x00000001
HKLM,%SetTapping%,	"TypingDetect",				0x00010001, 0x00000002

; Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",					0x00010001, 0x00000000
HKLM,%SetGesture%,	"EnableFB",					0x00010001, 0x00000000
HKLM,%SetGesture%,	"LockAreaSet",				0x00010001, 0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",			0x00010001, 0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",			0x00010001, 0x00000064
HKLM,%SetGesture%,	"UseVisual",				0x00010001, 0x00000001
HKLM,%SetGesture%,	"EnableWheel",					0x00010001, 0x0000000B
HKLM,%SetGesture%,	"SupportCircularScroll", 			0x00010001, 0x00000001
HKLM,%SetGesture%,	"SupportZoom", 				0x00010001, 0x00000001
HKLM,%SetGesture%,	"PanSupport",				0x00010001, 0x00000000
HKLM,%SetGesture%,	"PinchSupport",				0x00010001, 0x00000001
HKLM,%SetGesture%,	"TwistSupport",				0x00010001, 0x00000001
HKLM,%SetGesture%,	"FlickSupport",				0x00010001, 0x00000001
HKLM,%SetGesture%,	"PanFunc",				0x00010001, 0x00000000
HKLM,%SetGesture%,	"PinchFunc",				0x00010001, 0x00000002
HKLM,%SetGesture%,	"TwistFunc",				0x00010001, 0x00000003
HKLM,%SetGesture%,	"FlickFunc",				0x00010001, 0x00000004
HKLM,%SetGesture%,	"PanShow",				0x00010001, 0x00000000
HKLM,%SetGesture%,	"PinchShow",				0x00010001, 0x00000008
HKLM,%SetGesture%,	"TwistShow",				0x00010001, 0x00000008
HKLM,%SetGesture%,	"FlickShow",				0x00010001, 0x00000008
HKLM,%SetGesture%,	"FingerSizeShow",			0x00010001, 0x00000001
HKLM,%SetGesture%, 	"EnablePan", 				0x00010001, 0x00000000
HKLM,%SetGesture%, 	"PanSetting", 				0x00010001, 0x00000003
HKLM,%SetGesture%, 	"EnablePinch", 				0x00010001, 0x00000001
HKLM,%SetGesture%, 	"PinchSetting",				0x00010001, 0x00000001
HKLM,%SetGesture%, 	"EnableTwist", 				0x00010001, 0x00000001
HKLM,%SetGesture%, 	"EnableFlick", 				0x00010001, 0x00000001
HKLM,%SetGesture%, 	"FlickSetting", 			0x00010001, 0x00000000
HKLM,%SetGesture%, 	"EnableCover", 				0x00010001, 0x00000000
HKLM,%SetGesture%, 	"EnableSweep", 				0x00010001, 0x00000000
HKLM,%SetGesture%, 	"CoverSetting", 			0x00010001, 0x00000000
HKLM,%SetGesture%, 	"SweepSetting", 			0x00010001, 0x00000000
HKLM,%SetGesture%, 	"GestureSens", 				0x00010001, 0x00000003
HKLM,%SetGesture%, 	"EnableFlick", 				0x00010001, 0x00000001
HKLM,%SetGesture%, 	"FlickSetting", 			0x00010001, 0x00000000
HKLM,%SetGesture%,	"SupportFB", 				0x00010001, 0x00000000
HKLM,%SetGesture%, 	"EnableMultiTouch",			0x00010001, 0x00000001
HKLM,%SetGesture%, 	"MultiTouchMemory",			0x00010001, 0x00000000



; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,	"TrayIcon",					0x00020000,	TRUE
HKLM,%SetOther%,	"UseSound",					0x00010001,	0x00000000
HKLM,%SetOther%,	"UseIMECap",				0x00010001,	0x00000000

; Set HKLM\Software\Alps\EasyLauncher
HKLM,%SetLauncher%,	"ComIndex",					0x00010001,	0x00000004
HKLM,%SetLauncher%,	"Option",					0x00010001,	0x00000126
HKLM,%SetLauncher%,	"C01",						0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"C02",						0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"C03",						0x00020000,	"START"
HKLM,%SetLauncher%,	"C04",						0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"I01",						0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"I02",						0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"I03",						0x00020000,	"START"
HKLM,%SetLauncher%,	"I04",						0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"T01",						0x00020000,	""
HKLM,%SetLauncher%,	"T02",						0x00020000,	""
HKLM,%SetLauncher%,	"T03",						0x00020000,	""
HKLM,%SetLauncher%,	"T04",						0x00020000,	""

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000006
HKR,,"Tapping",					0x00010001,0x00000001
HKR,,"TapSettings",				0x00010001,0x00000010
HKR,,"Controls",				0x00010001,0x00000003
HKR,,"Swap",					0x00010001,0x00000000
HKR,,"M_Assign",				0x00010001,0x00000003
HKR,,"Acceleration",			0x00010001,0x00000004
HKR,,"HorizSensitivity",		0x00010001,0x00000020
HKR,,"VertSensitivity",			0x00010001,0x00000020
HKR,,"Rotation",				0x00010001,0x00000000
HKR,,"EasyScroll",				0x00010001,0x7A980014
HKR,,"AutoTime",				0x00010001,0x000001F4
HKR,,"LockAreaSet",				0x00010001,0x00000001
HKR,,"XOffset",					0x00010001,0x00000080
HKR,,"YOffset",					0x00010001,0x00000080
HKR,,"XResolution",				0x00010001,0x00000420
HKR,,"YResolution",				0x00010001,0x00000320
HKR,,"EasyX",					0x00010001,0x00000000
HKR,,"CornerTapOffsetX",		0x00010001,0x00000064
HKR,,"CornerTapOffsetY",		0x00010001,0x00000064
HKR,,"EnableWheel",				0x00010001,0x0000000B
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0x00548500
HKR,,"LR_Timelag",				0x00010001,0x0000000A
HKR,,"TapTyping",				0x00010001,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000001
HKR,,"AutoRelease",				0x00010001,0x00000001
HKR,,"EnableFB",				0x00010001,0x00000000
HKR,,"SelectDevice",			0x00010001,0x00000003
HKR,,"SPTapping",				0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",				0x00010001,0x00548500
HKR,,"SPScroll",				0x00010001,0x00000002
HKR,,"ScrollCancelThreshold_X",	0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",	0x00010001,0x00000005
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x00000064
HKR,,"LocusThreshold",			0x00010001,0x00000064
HKR,,"DataModeSwitchTime",		0x00010001,0x00000064
HKR,,"WatchDog_Flag",			0x00010001,0x00000001
HKR,,"OfficeScrollSrc",			0x00010001,0x00000001
HKR,,"ResendCmdSet",			0x00010001,0x00000001
HKR,,"ZoomSensitivity",			0x00010001,0x00000032
HKR,,"MT_BoxArray_0",					0x00010001, 0x0032000A
HKR,,"MT_BoxArray_1",					0x00010001, 0x0028000A
HKR,,"MT_BoxArray_2",					0x00010001, 0x001E000A
HKR,,"MT_BoxArray_3",					0x00010001, 0x0014000A
HKR,,"MT_BoxArray_4",					0x00010001, 0x000A000A
HKR,,"PinnacleAG_X_wide_thresh",			0x00010001, 0x008A0003
HKR,,"PinnacleAG_Z_thresh_cnst",			0x00010001, 0x008A0023
HKR,,"MT_RecogStopDist", 		0x00010001, 0x02800380
HKR,,"EnableCursorJumpFilter",				0x00010001, 0x00000001
HKR,,"MT_Flick_type",				0x00010001, 0x00000002
HKR,,"Publisher",				0x00000000, "Alps"
HKR,,"MT_Pan_init_move",				0x00010001, 0x0050FFFF
HKR,,"MT_Pan_resolution",				0x00010001, 0x0032FFFF
HKR,,"RawModeFilterLevel",  				0x00010001, 0xFFF56514
HKR,,"PinnacleAG_enable_filter",  			0x00010001, 0x00000000

; Set HKLM\Software\Alps\Apoint\EasyCapture
HKLM,%SetCapture%,		"PenColor",				0x00010001, 0x00000000
HKLM,%SetCapture%,		"PenWidth",				0x00010001, 0x00000002
HKLM,%SetCapture%,		"CanvasWidth",			0x00010001, 0x000000B4
HKLM,%SetCapture%,		"CanvasHeight",			0x00010001, 0x00000078
HKLM,%SetCapture%,		"PastCmd",				0x00010001, 0x00000000
HKLM,%SetCapture%,		"HoldImage",			0x00010001, 0x00000000

; Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	"PP97FrameClass",			0x00020000,	""
HKLM,%SetExceptions%,	"PP9FrameClass",			0x00020000,	""
HKLM,%SetExceptions%,	"PP10FrameClass",			0x00020000,	""
HKLM,%SetExceptions%,	"PP11FrameClass",			0x00020000,	""
HKLM,%SetExceptions%,	"OpusApp",					0x00020000,	""
HKLM,%SetExceptions%,	"XLMAIN",					0x00020000,	""
HKLM,%SetExceptions%,	"IEFrame",					0x00020000,	""
HKLM,%SetExceptions%,	"CabinetWClass",			0x00020000,	""
HKLM,%SetExceptions%,	"ShImgVW:CPreviewWnd",		0x00020000,	""
HKLM,%SetExceptions%,	"MSPhotoEditor32MainClass",	0x00020000,	""
HKLM,%SetExceptions%,	"WinCalWnd",				0x00020000, ""

; Set Parameters (CPL)
HKLM,%SetParamsDef%,	"HorizSensitivity",		0x00010001, 0x0000000a
HKLM,%SetParamsDef%,	"VertSensitivity",		0x00010001, 0x0000000a
HKLM,%SetParamsDef%,	"CornerTapOffsetX",		0x00010001, 0x00000064
HKLM,%SetParamsDef%,	"CornerTapOffsetY",		0x00010001, 0x00000064
HKLM,%SetParamsDef%,	"LockAreaSet",			0x00010001, 0x00000001
HKLM,%SetParamsDef%,	"EasyX",				0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"MouseSensitivity_0",	0x00010001,	10
HKLM,%SetParamsDef%,	"MouseSpeed_0",			0x00010001,	1
HKLM,%SetParamsDef%,	"MouseThreshold1_0",	0x00010001,	7
HKLM,%SetParamsDef%,	"MouseThreshold2_0",	0x00010001,	0
HKLM,%SetParamsDef%,	"MouseSensitivity_1",	0x00010001,	10
HKLM,%SetParamsDef%,	"MouseSpeed_1",			0x00010001,	1
HKLM,%SetParamsDef%,	"MouseThreshold1_1",	0x00010001,	6
HKLM,%SetParamsDef%,	"MouseThreshold2_1",	0x00010001,	10
HKLM,%SetParamsDef%,	"WheelScrollLines_0",	0x00010001,	2
HKLM,%SetParamsDef%,	"SnapToDefaultButton_0",0x00010001,	0
HKLM,%SetParamsDef%,	"WheelScrollLines_1",	0x00010001,	2		; for WinXp
HKLM,%SetParamsDef%,	"SnapToDefaultButton_1",0x00010001,	0		; for WinXp
HKLM,%SetParamsDef%,    "EnableFB", 0x00010001, 0
HKLM,%SetParamsDef%,	"EnableWheel",			0x00010001,0x0000000B
HKLM,%SetParamsDef%,	"EnableWheelWin7",	0x00010001,0x0000000b
HKLM,%SetParamsDef%,	"UseVisual",				0x00010001, 0x00000001

HKLM,%SetParamsDef%,	"EnablePan", 			0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"PanSetting", 		0x00010001, 0x00000003
HKLM,%SetParamsDef%,	"EnablePinch", 		0x00010001, 0x00000001
HKLM,%SetParamsDef%,	"PinchSetting",		0x00010001, 0x00000001
HKLM,%SetParamsDef%,	"EnableFlick", 		0x00010001, 0x00000001
HKLM,%SetParamsDef%,	"FlickSetting",		0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"EnableTwist", 		0x00010001, 0x00000001
HKLM,%SetParamsDef%,	"EnableCover", 		0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"EnableSweep", 		0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"CoverSetting", 		0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"SweepSetting", 		0x00010001, 0x00000000
HKLM,%SetParamsDef%,	"GestureSens", 		0x00010001, 0x00000003
HKLM,%SetParamsDef%, 	"EnableMultiTouch",	0x00010001, 0x00000001


HKLM,%SetParamsMin%,	"HorizSensitivity",		0x00010001, 0x00000001
HKLM,%SetParamsMin%,	"VertSensitivity",		0x00010001, 0x00000001
HKLM,%SetParamsMin%,	"CornerTapOffsetX",		0x00010001, 0x0000002a
HKLM,%SetParamsMin%,	"CornerTapOffsetY",		0x00010001, 0x0000002a

HKLM,%SetParamsMax%,	"HorizSensitivity",		0x00010001, 0x00000014
HKLM,%SetParamsMax%,	"VertSensitivity",		0x00010001, 0x00000014
HKLM,%SetParamsMax%,	"CornerTapOffsetX",		0x00010001, 0x000000c8
HKLM,%SetParamsMax%,	"CornerTapOffsetY",		0x00010001, 0x000000c8

HKLM,%SetParamsPos%,	"CornerX",				0x00010001, 0x0000000f
HKLM,%SetParamsPos%,	"CornerY",				0x00010001, 0x00000011
HKLM,%SetParamsPos%,	"WebX",					0x00010001, 0x00000038
HKLM,%SetParamsPos%,	"WebY",					0x00010001, 0x00000011
HKLM,%SetParamsPos%,	"VScrollX",				0x00010001, 0x0000006f
HKLM,%SetParamsPos%,	"VScrollY",				0x00010001, 0x00000011
HKLM,%SetParamsPos%,	"HScrollX",				0x00010001, 0x0000000f
HKLM,%SetParamsPos%,	"HScrollY",				0x00010001, 0x0000004e

;--------------- Service Section
[filter_Service_Inst]
DisplayName		= %Filter.SvcDesc%
ServiceType		= 1					; SERVICE_KERNEL_DRIVER
StartType		= 3					; SERVICE_DEMAND_START
ErrorControl	= 0					; SERVICE_ERROR_IGNORE
LoadOrderGroup	= Pointer Port
ServiceBinary	= %12%\Apfiltr.sys

[MouFilter_Inst_wdfsect]
KmdfLibraryVersion = 1.9

; ------------- Localizable strings ------------------------
[Strings]
Provider		= "Alps"								; Provider
Filter.SvcDesc	= "Alps Pointing-device Filter Driver"
Mfg.Desc		= "Alps Electric"						; Manufacture

*sny9001.DevDesc	= "Alps Pointing-device for VAIO"		; Device Name
*sny9002.DevDesc	= "Alps Pointing-device for VAIO"		; Device Name
*sny9006.DevDesc	= "Alps Film Pointing-device for VAIO"	; Device Name
*sny9009.DevDesc	= "Alps Wide Pointing-device for VAIO"	; Device Name
*sny900A.DevDesc	= "Alps Wide Pointing-device for VAIO"	; Device Name
*sny900C.DevDesc	= "Alps Wide Pointing-device for VAIO"	; Device Name
*sny9011.DevDesc	= "Alps Pointing-device"		; Device Name
*snyalp0012.DevDesc	= "Alps Pointing-device"		; Device Name
*pnp0f03.DevDesc	= "Alps Pointing-device"				; Device Name

; Alps internals
Apoint_Path			= "Apoint"
DiskID				= "Alps Pointing-device Driver for Windows Vista Setup Disk"

; Registry Strings
SetApoint			= "Software\Alps\Apoint"
SetLauncher			= "Software\Alps\Apoint\EasyLauncher"
SetCapture			= "Software\Alps\Apoint\EasyCapture"
SetExceptions		= "Software\Alps\Apoint\Exceptions"
SetParamsDef		= "Software\Alps\Apoint\Params\Default"
SetParamsMin		= "Software\Alps\Apoint\Params\Min"
SetParamsMax		= "Software\Alps\Apoint\Params\Max"
SetParamsPos		= "Software\Alps\Apoint\Params\Pos"
SetButton			= "Software\Alps\Apoint\Button"
SetMotion			= "Software\Alps\Apoint\Motion"
SetTapping			= "Software\Alps\Apoint\Tapping"
SetGesture			= "Software\Alps\Apoint\Gesture"
SetOther			= "Software\Alps\Apoint\Other"

APOINT_GUID			= "{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}"
SHELLPROP			= "Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers"
RUN					= "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
UNINST				= "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9F72EF8B-AEC9-4CA5-B483-143980AFD6FD}"
ProductVersion		= "Version 7.5.529.105"

; ------------- Standard defs ----------------------------
;REG_EXPAND_SZ		= 0x00020000
;REG_DWORD			= 0x00010001
;REG_SZ				= 0x00000000
