
[PRE-INSTALL]
PRIORITY 5
ORDER 5
; Dolphin Installation Program
; Control script for Dolphin Keyboard Driver PPC2003\ARMv4

BETA 0
PRODUCT_NAME "Dolphin Keyboard Driver"
PRODUCT_VERSION "1.01"
PRODUCT_BUILD 210
PRODUCT_CODE XC3
DEFAULT_PRODFOLDER "$r\DolphinMobile\Keyboard"
DEFAULT_STARTFOLDER "DolphinMobile"
ALLOW_STARTFOLDER 1
DEFAULT_STARTUP 0
MIN_DISKSPACE 8192
MIN_MEMORY 16384
MIN_CPU 0
ALLOW_STARTUP 0
TOTAL_KBYTES 283
REGKEY c "Mobile\Keyboard"
README_DOC "Keyboard_P\DOCS\R3200044.TXT"
LICENSE_DOC "Keyboard_P\LIC$g.TXT"

[INSTALL]
MKDIR "$f"
; Online manuals
MKDIR "$f\PPC2003"
MKDIR "$f\PPC2003\ARMv4"
MKDIR "$f\PPC2003\ARMv4\Microsoft"
MKDIR "$f\PPC2003\ARMv4\Widcomm"
MKDIR "$f\PPC2003\ARMv4\Windows"
COPY "insutils\unststub.exe" "$f\uninst.exe"
COPY "insutils\uninst.exe" "$f\_uninst.exe"
COPY "ins00044.ini" "$f\ins00044.ini"
COPY "ins00001.ini" "$f\ins00001.ini"
COPY "ins00046.ini" "$f\ins00046.ini"
COPY "uns00044.ini" "$f\uns00044.ini"
COPY "uns00001.ini" "$f\uns00001.ini"
COPY "uns00046.ini" "$f\uns00046.ini"
COPY "Keyboard_P\PPC2003\ARMv4\*.exe" "$f\PPC2003\ARMv4\*.exe"
COPY "Keyboard_P\PPC2003\ARMv4\Microsoft\DolBluetooth.dll" "$f\PPC2003\ARMv4\Microsoft\DolBluetooth.dll"
COPY "Keyboard_P\PPC2003\ARMv4\Widcomm\DolBluetooth.dll" "$f\PPC2003\ARMv4\Widcomm\DolBluetooth.dll"
COPY "Keyboard_P\PPC2003\ARMv4\Windows\*.*" "$f\PPC2003\ARMv4\Windows\*.*"
COPY "Keyboard_P\KEYBOARD00044.ces" "$f\KEYBOARD.ces"
COPY "Keyboard_P\Ver.ini" "$f\NewInstall.cei"

[POST-INSTALL]
LOG REGISTRYKEY c SOFTWARE\Dolphin
LOG REGISTRYKEY l SOFTWARE\Dolphin
LOG REGISTRYKEY c SOFTWARE\DolphinMobile
LOG REGISTRYKEY l SOFTWARE\DolphinMobile
LOG REGISTRYKEY c SOFTWARE\Dolphin\Beta
LOG REGISTRYKEY l SOFTWARE\Dolphin\Beta
INIFILE $W\WIN.INI Compatibility95 KEYBOARD 0x00000002

LOG REGTREE l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinKbd
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinKbd\DisplayName str "Dolphin Keyboard Driver"
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinKbd\UninstallString str "$f\uninst.exe"
END
