[Setup System]
AP Name = Setup Program
Show Setup Completed Message = 1
DLL File Name for Remove Previous Version = DelPrevV.DLL
DLL File Name for Add Device = RmUSBDev.DLL

[Background]
Small Font = 1
Product Company = Media Key     
Product Name =

[Initiation]
ReBoot System = 1
Replace Path = 1
Title Name = MediaKey
Install Name = MediaKey
DefDir = <ProgramFilesDir>\MediaKey
Copy File From SubDir = 1
SubDir 1 = OSDRC
SubDir 2 = Panel
SpeDir 1 = <Windows>\System32\Drivers
SpeDir 2 = <Windows>\Inf
Group 1 = MediaKey
Write INI 1 = <DefDir>\UnInst32.INI
Write INI 2 = <Windows>\MMKEYBD.UNI

[Replace File]
File 1 = UNINST32.EXE
File 2 = OSDUTL.DLL
File 3 = COMFNUTL.DLL
File 4 = LGKCUTL.DLL
File 5 = MIXERUTL.DLL
File 6 = CDROMUTL.DLL
File 7 = RGNMAKER.DLL
File 8 = SZUPFUTL.DLL
File 9 = WND2FILE.DLL
File 10 = MMKEYBD.EXE
File 11 = MMKEYBD.CFG
File 12 = DVHOOKKD.VXD
File 13 = USBKBKC.DLL
File 14 = USBKBFLT.SYS
File 15 = UKBFLTME.INF
File 16 = RMUSBDEV.DLL
File 17 = RMUSBDEV.CFG

[Windows]
File 1.1 = UNINST32.EXE

[DefDir]
File 1.1 = OSDUTL.DLL
File 1.2 = COMFNUTL.DLL
File 1.3 = LGKCUTL.DLL
File 1.4 = MIXERUTL.DLL
File 1.5 = CDROMUTL.DLL
File 1.6 = RGNMAKER.DLL
File 1.7 = SZUPFUTL.DLL
File 1.8 = WND2FILE.DLL
File 1.9 = MMKEYBD.EXE
File 1.10 = MMKEYBD.CFG
File 1.11 = DVHOOKKD.VXD
File 1.12 = USBKBKC.DLL
File 1.13 = RMUSBDEV.DLL
File 1.14 = RMUSBDEV.CFG

[SubDir 1]
File 1.1 = MUTE.BMP
File 1.2 = UNMUTE.BMP
File 1.3 = NEXT.BMP
File 1.4 = PLAYPAUS.BMP
File 1.5 = PREVIOUS.BMP
File 1.6 = STOP.BMP

[SubDir 2]
File 1.1 = MEDIAKEY.ICO
File 1.2 = NORPANEL.BMP
File 1.3 = SELPANEL.BMP

[SpeDir 1]
File 1.1 = USBKBFLT.SYS

[SpeDir 2]
File 1.1 = UKBFLTME.INF

[Group 1]
Item 1 = <DefDir>\MMKeybd.EXE, MediaKey, <DefDir>\Panel\MediaKey.ICO
Item 2 = <Windows>\UnInst32.exe MMKeybd.UNI, UnInstall

[Write INI 1]
Item 1 = System, Product Name, MediaKey
Item 2 = System, Reboot System, 1
Item 3 = Group By Shortcut, Group 1, MediaKey
Item 4 = UnRegister, Key 1, HKEY_LOCAL_MACHINE
Item 5 = UnRegister, SubKey 1, SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Item 6 = UnRegister, Key Class 1, NULL
Item 7 = UnRegister, Name 1.1, MediaKey
Item 8 = UnRegisterTree, Key 1, HKEY_LOCAL_MACHINE
Item 9 = UnRegisterTree, SubKey 1, Software\MMKeybd
Item 10 = UnRegisterTree, Key 2, HKEY_CURRENT_USER
Item 11 = UnRegisterTree, SubKey 2, Software\MMKeybd
Item 12 = UnRegisterDevice, Class Name, Keyboard
Item 13 = UnRegisterDevice, Device Name, MediaKey
Item 14 = RemoveDevice Library, File, RmUSBDev.DLL
Item 15 = Execute File, File 1, MMKeybd.EXE Destroy
Item 16 = Delete File, File 1, MMKeybd.UNI :@
Item 17 = Delete File, File 2, System32\Drivers\USBKBFlt.SYS :@
Item 18 = Delete File, File 3, Inf\UKBFltME.INF :@
Item 19 = Delete File, File 4, Inf\UKBFltME.PNF :@
Item 20 = Uninstall, Key, HKEY_LOCAL_MACHINE
Item 21 = Uninstall, SubKey, MediaKey

[Write INI 2]
Install Path = System, Path
Item 1 = System, UnInstall Info File, UnInst32.INI

[Register]
Key 1 = HKEY_LOCAL_MACHINE
SubKey 1 = SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name 1.1 = MediaKey
Data 1.1 = <DefDir>\MMKeybd.EXE

; OSDUtl.DLL
Key 2 = HKEY_LOCAL_MACHINE
SubKey 2 = Software\MMKeybd\OnScreen
Name 2.1 = Color
Data 2.1 = 00FF00
Name 2.2 = Position
Data 2.2 = 9
Name 2.3 = Display Seconds
Data 2.3 = 1
Name 2.4 = Normal String Length
Data 2.4 = 18
Name 2.5 = RC Path
Data 2.5 = OSDRC
Name 2.6 = Background Color
Data 2.6 = FF

Key 3 = HKEY_LOCAL_MACHINE
SubKey 3 = Software\MMKeybd\OnScreen\Predefined\Mute
Name 3.1 = ID
Data 3.1 = 1
Name 3.2 = Position
Data 3.2 = 3
Name 3.3 = Bitmap
Data 3.3 = Mute.BMP

Key 4 = HKEY_LOCAL_MACHINE
SubKey 4 = Software\MMKeybd\OnScreen\Predefined\UnMute
Name 4.1 = ID
Data 4.1 = 2
Name 4.2 = Position
Data 4.2 = 3
Name 4.3 = Bitmap
Data 4.3 = UnMute.BMP

Key 5 = HKEY_LOCAL_MACHINE
SubKey 5 = Software\MMKeybd\OnScreen\Predefined\Volume
Name 5.1 = Volume ID
Data 5.1 = 3
Name 5.2 = Max Volume Bar Level
Data 5.2 = 10
Name 5.3 = Text
Data 5.3 = Volume

Key 6 = HKEY_LOCAL_MACHINE
SubKey 6 = Software\MMKeybd\OnScreen\Predefined\Play/Pause
Name 6.1 = ID
Data 6.1 = 102
Name 6.2 = Bitmap
Data 6.2 = PlayPaus.BMP

Key 7 = HKEY_LOCAL_MACHINE
SubKey 7 = Software\MMKeybd\OnScreen\Predefined\Stop
Name 7.1 = ID
Data 7.1 = 103
Name 7.2 = Bitmap
Data 7.2 = Stop.BMP

Key 8 = HKEY_LOCAL_MACHINE
SubKey 8 = Software\MMKeybd\OnScreen\Predefined\Next Track
Name 8.1 = ID
Data 8.1 = 107
Name 8.2 = Bitmap
Data 8.2 = Next.BMP

Key 9 = HKEY_LOCAL_MACHINE
SubKey 9 = Software\MMKeybd\OnScreen\Predefined\Previous Track
Name 9.1 = ID
Data 9.1 = 106
Name 9.2 = Bitmap
Data 9.2 = Previous.BMP

Key 10 = HKEY_LOCAL_MACHINE
SubKey 10 = Software\MMKeybd\OnScreen\Predefined\NO CD
Name 10.1 = Text
Data 10.1 = NO CD
Name 10.2 = ID
Data 10.2 = 300

Key 11 = HKEY_LOCAL_MACHINE
SubKey 11 = Software\MMKeybd\OnScreen\Predefined\Data CD
Name 11.1 = Text
Data 11.1 = Data CD
Name 11.2 = ID
Data 11.2 = 301

Key 12 = HKEY_LOCAL_MACHINE
SubKey 12 = Software\MMKeybd\OnScreen\Predefined\Audio CD
Name 12.1 = Text
Data 12.1 = Audio CD
Name 12.2 = ID
Data 12.2 = 302

Key 13 = HKEY_LOCAL_MACHINE
SubKey 13 = Software\MMKeybd\OnScreen\Predefined\Video CD
Name 13.1 = Text
Data 13.1 = Video CD
Name 13.2 = ID
Data 13.2 = 304

Key 14 = HKEY_LOCAL_MACHINE
SubKey 14 = Software\MMKeybd\OnScreen\Predefined\DVD
Name 14.1 = Text
Data 14.1 = DVD
Name 14.2 = ID
Data 14.2 = 306

; MediaKey Panel
Key 15 = HKEY_LOCAL_MACHINE
SubKey 15 = Software\MMKeybd\Settings\Panel
Name 15.1 = RC Path
Data 15.1 = Panel
Name 15.2 = Normal Bitmap
Data 15.2 = NorPanel.BMP
Name 15.3 = Selected Bitmap
Data 15.3 = SelPanel.BMP
Name 15.4 = MouseIn Bitmap
Data 15.4 =
Name 15.5 = Empty Bitmap
Data 15.5 = EmpPanel.BMP
Name 15.6 = LButton Click For Command
Data 15.6 = 0
Name 15.7 = Transparent Color
Data 15.7 = 00FF00
Name 15.8 = AP Name
Data 15.8 = MediaKey

Key 16 = HKEY_LOCAL_MACHINE
SubKey 16 = Software\MMKeybd\Settings\Panel\Panel-Minimize
Name 16.1 = Rectangle
Data 16.1 = 474,35,491,43

Key 17 = HKEY_LOCAL_MACHINE
SubKey 17 = Software\MMKeybd\Settings\Panel\Panel-Close
Name 17.1 = Rectangle
Data 17.1 = 475,8,490,23

Key 18 = HKEY_LOCAL_MACHINE
SubKey 18 = Software\MMKeybd\Settings\Panel\Browser Back
Name 18.1 = Rectangle
Data 18.1 = 21,31,42,47

Key 19 = HKEY_LOCAL_MACHINE
SubKey 19 = Software\MMKeybd\Settings\Panel\Browser Forward
Name 19.1 = Rectangle
Data 19.1 = 43,31,64,47

Key 20 = HKEY_LOCAL_MACHINE
SubKey 20 = Software\MMKeybd\Settings\Panel\Browser Stop
Name 20.1 = Rectangle
Data 20.1 = 65,31,86,47

Key 21 = HKEY_LOCAL_MACHINE
SubKey 21 = Software\MMKeybd\Settings\Panel\Browser Refresh
Name 21.1 = Rectangle
Data 21.1 = 87,31,108,47

Key 22 = HKEY_LOCAL_MACHINE
SubKey 22 = Software\MMKeybd\Settings\Panel\Browser Search
Name 22.1 = Rectangle
Data 22.1 = 130,31,151,47

Key 23 = HKEY_LOCAL_MACHINE
SubKey 23 = Software\MMKeybd\Settings\Panel\Browser Favorite
Name 23.1 = Rectangle
Data 23.1 = 152,31,172,47

Key 24 = HKEY_LOCAL_MACHINE
SubKey 24 = Software\MMKeybd\Settings\Panel\Browser Home
Name 24.1 = Rectangle
Data 24.1 = 108,31,129,47

Key 25 = HKEY_LOCAL_MACHINE
SubKey 25 = Software\MMKeybd\Settings\Panel\EMail
Name 25.1 = Rectangle
Data 25.1 = 174,31,195,47

Key 26 = HKEY_LOCAL_MACHINE
SubKey 26 = Software\MMKeybd\Settings\Panel\Previous Track
Name 26.1 = Rectangle
Data 26.1 = 269,31,290,47

Key 27 = HKEY_LOCAL_MACHINE
SubKey 27 = Software\MMKeybd\Settings\Panel\Stop
Name 27.1 = Rectangle
Data 27.1 = 202,31,224,47

Key 28 = HKEY_LOCAL_MACHINE
SubKey 28 = Software\MMKeybd\Settings\Panel\Play/Pause
Name 28.1 = Rectangle
Data 28.1 = 293,31,313,47

Key 29 = HKEY_LOCAL_MACHINE
SubKey 29 = Software\MMKeybd\Settings\Panel\Next Track
Name 29.1 = Rectangle
Data 29.1 = 315,31,336,47

Key 30 = HKEY_LOCAL_MACHINE
SubKey 30 = Software\MMKeybd\Settings\Panel\Media Select
Name 30.1 = Rectangle
Data 30.1 = 392,31,413,47

Key 31 = HKEY_LOCAL_MACHINE
SubKey 31 = Software\MMKeybd\Settings\Panel\Calculator
Name 31.1 = Rectangle
Data 31.1 = 414,31,435,47

Key 32 = HKEY_LOCAL_MACHINE
SubKey 32 = Software\MMKeybd\Settings\Panel\My Computer
Name 32.1 = Rectangle
Data 32.1 = 370,31,391,47

Key 33 = HKEY_LOCAL_MACHINE
SubKey 33 = Software\MMKeybd\Settings\Panel\Mute
Name 33.1 = Rectangle
Data 33.1 = 225,31,246,47

Key 34 = HKEY_LOCAL_MACHINE
SubKey 34 = Software\MMKeybd\Settings\Panel\Volume Increment
Name 34.1 = Rectangle
Data 34.1 = 338,31,359,47

Key 35 = HKEY_LOCAL_MACHINE
SubKey 35 = Software\MMKeybd\Settings\Panel\Volume Decrement
Name 35.1 = Rectangle
Data 35.1 = 247,31,268,47

Key 36 = HKEY_LOCAL_MACHINE
SubKey 36 = Software\MMKeybd\Settings\Panel\User Defined
Name 36.1 = Rectangle
Data 36.1 = 445,31,466,47

;MediaKey
Key 37 = HKEY_LOCAL_MACHINE
SubKey 37 = Software\MMKeybd\Settings
Name 37.1 = Enable Legacy Keyboard
Data 37.1 = 1
Name 37.2 = Enable USB Keyboard
Data 37.2 = 0
Name 37.3 = Enable USB Keyboard Filter
Data 37.3 = 1
Name 37.4 = AP Name
Data 37.4 = MediaKey
Name 37.5 = Icon File
Data 37.5 = Panel\MediaKey.Ico
Name 37.6 = Help File
Data 37.6 = 
Name 37.7 = Video Player
Data 37.7 = 
Name 37.8 = Show All Volume OSD
Data 37.8 = 0
Name 37.9 = Show Volume OSD By Key Pressed
Data 37.9 = 0
Name 37.10 = MediaSelect FileType
Data 37.10 = cda,mp3,avi,wav,mpg,mid,wma,wmv,wmx,asf,wvx,aif

Key 38 = HKEY_LOCAL_MACHINE
SubKey 38 = Software\MMKeybd\Settings\Buttons\Browser Back
Name 38.1 = Command
Data 38.1 =
Name 38.2 = Command Type
Data 38.2 = 3
Name 38.3 = Label
Data 38.3 = Back
Name 38.4 = Remote Code
Data 38.4 = 0700
Name 38.5 = Description
Data 38.5 = Browser Back
Name 38.6 = Configable
Data 38.6 = 1

Key 39 = HKEY_LOCAL_MACHINE
SubKey 39 = Software\MMKeybd\Settings\Buttons\Browser Forward
Name 39.1 = Command
Data 39.1 =
Name 39.2 = Command Type
Data 39.2 = 3
Name 39.3 = Label
Data 39.3 = Forward
Name 39.4 = Remote Code
Data 39.4 = 0701
Name 39.5 = Description
Data 39.5 = Browser Forward
Name 39.6 = Configable
Data 39.6 = 1

Key 40 = HKEY_LOCAL_MACHINE
SubKey 40 = Software\MMKeybd\Settings\Buttons\Browser Stop
Name 40.1 = Command
Data 40.1 =
Name 40.2 = Command Type
Data 40.2 = 3
Name 40.3 = Label
Data 40.3 = Stop
Name 40.4 = Remote Code
Data 40.4 = 703
Name 40.5 = Description
Data 40.5 = Browser Stop
Name 40.6 = Configable
Data 40.6 = 1

Key 41 = HKEY_LOCAL_MACHINE
SubKey 41 = Software\MMKeybd\Settings\Buttons\Browser Refresh
Name 41.1 = Command
Data 41.1 =
Name 41.2 = Command Type
Data 41.2 = 3
Name 41.3 = Label
Data 41.3 = Refresh
Name 41.4 = Remote Code
Data 41.4 = 702
Name 41.5 = Description
Data 41.5 = Browser Refresh
Name 41.6 = Configable
Data 41.6 = 1

Key 42 = HKEY_LOCAL_MACHINE
SubKey 42 = Software\MMKeybd\Settings\Buttons\Browser Search
Name 42.1 = Command
Data 42.1 =
Name 42.2 = Command Type
Data 42.2 = 3
Name 42.3 = Label
Data 42.3 = Search
Name 42.4 = Remote Code
Data 42.4 = 704
Name 42.5 = Description
Data 42.5 = Browser Search
Name 42.6 = Configable
Data 42.6 = 1

Key 43 = HKEY_LOCAL_MACHINE
SubKey 43 = Software\MMKeybd\Settings\Buttons\Browser Favorite
Name 43.1 = Command
Data 43.1 =
Name 43.2 = Command Type
Data 43.2 = 3
Name 43.3 = Label
Data 43.3 = Favorite
Name 43.4 = Remote Code
Data 43.4 = 705
Name 43.5 = Description
Data 43.5 = Browser Favorite
Name 43.6 = Configable
Data 43.6 = 1

Key 44 = HKEY_LOCAL_MACHINE
SubKey 44 = Software\MMKeybd\Settings\Buttons\Browser Home
Name 44.1 = Command
Data 44.1 =
Name 44.2 = Command Type
Data 44.2 = 3
Name 44.3 = Label
Data 44.3 = Home
Name 44.4 = Remote Code
Data 44.4 = 0706
Name 44.5 = Description
Data 44.5 = Internet Explorer
Name 44.6 = Configable
Data 44.6 = 1

Key 45 = HKEY_LOCAL_MACHINE
SubKey 45 = Software\MMKeybd\Settings\Buttons\EMail
Name 45.1 = Command
Data 45.1 =
Name 45.2 = Command Type
Data 45.2 = 3
Name 45.3 = Label
Data 45.3 = Email
Name 45.4 = Remote Code
Data 45.4 = 0141
Name 45.5 = Description
Data 45.5 = E-Mail
Name 45.6 = Configable
Data 45.6 = 1

Key 46 = HKEY_LOCAL_MACHINE
SubKey 46 = Software\MMKeybd\Settings\Buttons\Previous Track
Name 46.1 = Command
Data 46.1 =
Name 46.2 = Command Type
Data 46.2 = 3
Name 46.3 = Label
Data 46.3 = 
Name 46.4 = Remote Code
Data 46.4 = 0611
Name 46.5 = Description
Data 46.5 = Previous Track
Name 46.6 = Configable
Data 46.6 = 1

Key 47 = HKEY_LOCAL_MACHINE
SubKey 47 = Software\MMKeybd\Settings\Buttons\Stop
Name 47.1 = Command
Data 47.1 =
Name 47.2 = Command Type
Data 47.2 = 3
Name 47.3 = Label
Data 47.3 = 
Name 47.4 = Remote Code
Data 47.4 = 0602
Name 47.5 = Description
Data 47.5 = Stop
Name 47.6 = Configable
Data 47.6 = 1

Key 48 = HKEY_LOCAL_MACHINE
SubKey 48 = Software\MMKeybd\Settings\Buttons\Play/Pause
Name 48.1 = Command
Data 48.1 =
Name 48.2 = Command Type
Data 48.2 = 3
Name 48.3 = Label
Data 48.3 = 
Name 48.4 = Remote Code
Data 48.4 = 0604
Name 48.5 = Description
Data 48.5 = Play/Pause
Name 48.6 = Configable
Data 48.6 = 1

Key 49 = HKEY_LOCAL_MACHINE
SubKey 49 = Software\MMKeybd\Settings\Buttons\Next Track
Name 49.1 = Command
Data 49.1 =
Name 49.2 = Command Type
Data 49.2 = 3
Name 49.3 = Label
Data 49.3 = 
Name 49.4 = Remote Code
Data 49.4 = 0610
Name 49.5 = Description
Data 49.5 = Next Track
Name 49.6 = Configable
Data 49.6 = 1

Key 50 = HKEY_LOCAL_MACHINE
SubKey 50 = Software\MMKeybd\Settings\Buttons\Media Select
Name 50.1 = Command
Data 50.1 =
Name 50.2 = Command Type
Data 50.2 = 3
Name 50.3 = Label
Data 50.3 = 
Name 50.4 = Remote Code
Data 50.4 = 06B9
Name 50.5 = Description
Data 50.5 = Media Select
Name 50.6 = Configable
Data 50.6 = 1

Key 51 = HKEY_LOCAL_MACHINE
SubKey 51 = Software\MMKeybd\Settings\Buttons\Calculator
Name 51.1 = Command
Data 51.1 = Calc.EXE
Name 51.2 = Command Type
Data 51.2 = 3
Name 51.3 = Label
Data 51.3 = Calculator
Name 51.4 = Remote Code
Data 51.4 = 0143
Name 51.5 = Description
Data 51.5 = Calculator
Name 51.6 = Configable
Data 51.6 = 1
Name 51.7 = SubCommand Type
Data 51.7 = 1

Key 52 = HKEY_LOCAL_MACHINE
SubKey 52 = Software\MMKeybd\Settings\Buttons\My Computer
Name 52.1 = Command
Data 52.1 =
Name 52.2 = Command Type
Data 52.2 = 3
Name 52.3 = Label
Data 52.3 = My Computer
Name 52.4 = Remote Code
Data 52.4 = 0131
Name 52.5 = Description
Data 52.5 = My Computer
Name 52.6 = Configable
Data 52.6 = 1

Key 53 = HKEY_LOCAL_MACHINE
SubKey 53 = Software\MMKeybd\Settings\Buttons\Mute
Name 53.1 = Command
Data 53.1 =
Name 53.2 = Command Type
Data 53.2 = 3
Name 53.3 = Label
Data 53.3 = 
Name 53.4 = Remote Code
Data 53.4 = 0500
Name 53.5 = Description
Data 53.5 = Mute
Name 53.6 = Configable
Data 53.6 = 1

Key 54 = HKEY_LOCAL_MACHINE
SubKey 54 = Software\MMKeybd\Settings\Buttons\Volume Increment
Name 54.1 = Command
Data 54.1 =
Name 54.2 = Command Type
Data 54.2 = 3
Name 54.3 = Label
Data 54.3 = 
Name 54.4 = Remote Code
Data 54.4 = 0501
Name 54.5 = Description
Data 54.5 = Volume Increment
Name 54.6 = Configable
Data 54.6 = 1

Key 55 = HKEY_LOCAL_MACHINE
SubKey 55 = Software\MMKeybd\Settings\Buttons\Volume Decrement
Name 55.1 = Command
Data 55.1 =
Name 55.2 = Command Type
Data 55.2 = 3
Name 55.3 = Label
Data 55.3 = 
Name 55.4 = Remote Code
Data 55.4 = 0502
Name 55.5 = Description
Data 55.5 = Volume Decrenemt
Name 55.6 = Configable
Data 55.6 = 1

Key 56 = HKEY_LOCAL_MACHINE
SubKey 56 = Software\MMKeybd\Settings\Buttons\User Defined
Name 56.1 = Command
Data 56.1 =
Name 56.2 = Command Type
Data 56.2 = 3
Name 56.3 = Label
Data 56.3 = 
Name 56.4 = Remote Code
Data 56.4 = F500
Name 56.5 = Description
Data 56.5 = Non Default Setting
Name 56.6 = Configable
Data 56.6 = 1

Key 57 = HKEY_LOCAL_MACHINE
SubKey 57 = Software\MMKeybd\Settings\TaskBar Icon
Name 57.1 = Icon File
Data 57.1 = Panel\MediaKey.Ico
Name 57.2 = Support Help MenuItem
Data 57.2 = 0

Key 58 = HKEY_LOCAL_MACHINE
SubKey 58 = Software\MMKeybd\Settings\About
Name 58.1 = Description
Data 58.1 = Taiwan Tai-Hao/Clicker MediaKey Th0110

[UnInstall]
Key = HKEY_LOCAL_MACHINE
SubKey = MEDIAKEY
DisplayName = MediaKey
UninstallString = <Windows>\UnInst32.exe MMKEYBD.UNI
