
[PRE-INSTALL]
PRIORITY 8
ORDER 8
; Dolphin Installation Program
; Control script for Pocket Acapela Synthesiser Driver Beta 1 PPC2003\ARMv4

BETA 1
PRODUCT_NAME "Pocket Acapela Synthesiser Driver"
PRODUCT_VERSION "1.02"
PRODUCT_BUILD 102
PRODUCT_CODE XCC
DEFAULT_PRODFOLDER "$r\DolphinMobile\Acapela"
DEFAULT_STARTFOLDER "DolphinMobile"
ALLOW_STARTFOLDER 1
DEFAULT_STARTUP 0
MIN_DISKSPACE 8192
MIN_MEMORY 16384
MIN_CPU 0
ALLOW_STARTUP 0
TOTAL_KBYTES 18206
REGKEY c "Mobile\Acapela"
README_DOC "Acapela00044_P\DOCS\R3200044.TXT"
LICENSE_DOC "Acapela00044_P\LIC$g.TXT"

[INSTALL]
MKDIR "$f"
; Online manuals
MKDIR "$f\Drivers"
MKDIR "$f\Drivers\acapela"
MKDIR "$f\PPC2003"
MKDIR "$f\PPC2003\ARMv4"
MKDIR "$f\PPC2003\ARMv4\drivers"
MKDIR "$f\PPC2003\ARMv4\drivers\acapela"
MKDIR "$f\PPC2003\ARMv4\Windows"
MKDIR "$f\language"
MKDIR "$f\language\00044"
MKDIR "$f\language\00044\LUCY"
MKDIR "$f\language\00044\NLP"
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 "Acapela00044_P\Drivers\acapela\*.sdi" "$f\Drivers\acapela\*.sdi"
COPY "Acapela00044_P\Drivers\acapela\*.ini" "$f\Drivers\acapela\*.ini"
COPY "Acapela00044_P\PPC2003\ARMv4\*.*" "$f\PPC2003\ARMv4\*.*"
COPY "Acapela00044_P\PPC2003\ARMv4\drivers\acapela\*.*" "$f\PPC2003\ARMv4\drivers\acapela\*.*"
COPY "Acapela00044_P\PPC2003\ARMv4\Windows\*.*" "$f\PPC2003\ARMv4\Windows\*.*"
COPY "Acapela00044_P\language\00044\*.*" "$f\language\00044\*.*"
COPY "Acapela00044_P\language\00044\LUCY\*.*" "$f\language\00044\LUCY\*.*"
COPY "Acapela00044_P\language\00044\NLP\*.*" "$f\language\00044\NLP\*.*"
COPY "Acapela00044_P\Acapela00044.ces" "$f\Acapela.ces"
COPY "Acapela00044_P\language\Acapela00044.ces" "$f\language\Acapela00044.ces"
COPY "Acapela00044_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

LOG REGTREE l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Acapela_P
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Acapela_P\DisplayName str "Dolphin Acapela Synthesiser Beta 1"
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Acapela_P\UninstallString str "$f\uninst.exe"
END
