
[PRE-INSTALL]
PRIORITY 3
; Dolphin Installation Program
; Control script for Pocket Synthesiser Access Manager

BETA 0
PRODUCT_NAME "Pocket Synthesiser Access Manager"
PRODUCT_LIST_NAME "Pocket Synthesiser Access Manager"
PRODUCT_VERSION "2.07"
PRODUCT_BUILD 32
PRODUCT_CODE SC3
DEFAULT_PRODFOLDER $r\DolphinMobile\Sam
DEFAULT_DOCFOLDER ""
ALLOW_DOCFOLDER 0
DEFAULT_STARTFOLDER "DolphinMobile"
ALLOW_STARTFOLDER 0
DEFAULT_STARTUP 0
ALLOW_STARTUP 0
LICENSE_DOC Sam_P\LIC00046.TXT
MIN_DISKSPACE 4096
MIN_MEMORY 8192
MIN_CPU 0
TOTAL_KBYTES 290
REGKEY c Mobile\SAM
ALLOWRUNNING 1

[INSTALL]
MKDIR "$f"
COPY ins00046.ini $f\ins00046.ini
COPY uns00046.ini $f\uns00046.ini
MKDIR "$f\PPC2003"
MKDIR "$f\PPC2003\ARMv4"
MKDIR "$f\PPC2003\ARMv4\Windows"
MKDIR "$f\Drivers"
MKDIR "$f\Drivers\easylink"
MKDIR "$f\Drivers\easylink\docs"
MKDIR "$f\Drivers\htsam"
MKDIR "$f\Drivers\htsam\docs"
MKDIR "$f\Drivers\orpheus"
MKDIR "$f\Drivers\orpheus\docs"
MKDIR "$f\Drivers\svario"
MKDIR "$f\Drivers\svario\docs"
MKDIR "$f\PPC2003\ARMv4\Drivers"
MKDIR "$f\PPC2003\ARMv4\Drivers\easylink"
MKDIR "$f\PPC2003\ARMv4\Drivers\htsam"
MKDIR "$f\PPC2003\ARMv4\Drivers\orpheus"
MKDIR "$f\PPC2003\ARMv4\Drivers\svario"
COPY "insutils\unststub.exe" "$f\uninst.exe"
COPY "insutils\uninst.exe" "$f\_uninst.exe"
COPY "Sam_P\PPC2003\ARMv4\sam32.dll" "$f\PPC2003\ARMv4\Windows\sam32.dll"
COPY "Sam_P\sam00044.ini" "$f\sam00044.ini"
COPY "Sam_P\sam00001.ini" "$f\sam00001.ini"
COPY "Sam_P\sam00046.ini" "$f\sam00046.ini"
COPY "Sam_P\Drivers\easylink\*.sdi" "$f\Drivers\easylink\*.sdi"
COPY "Sam_P\Drivers\easylink\*.ini" "$f\Drivers\easylink\*.ini"
COPY "Sam_P\Drivers\easylink\*.txt" "$f\Drivers\easylink\docs\*.txt"
COPY "Sam_P\Drivers\htsam\*.sdi" "$f\Drivers\htsam\*.sdi"
COPY "Sam_P\Drivers\htsam\*.ini" "$f\Drivers\htsam\*.ini"
COPY "Sam_P\Drivers\htsam\*.txt" "$f\Drivers\htsam\docs\*.txt"
COPY "Sam_P\Drivers\orpheus\*.sdi" "$f\Drivers\orpheus\*.sdi"
COPY "Sam_P\Drivers\orpheus\*.ini" "$f\Drivers\orpheus\*.ini"
COPY "Sam_P\Drivers\orpheus\*.txt" "$f\Drivers\orpheus\docs\*.txt"
COPY "Sam_P\Drivers\svario\*.sdi" "$f\Drivers\svario\*.sdi"
COPY "Sam_P\Drivers\svario\*.ini" "$f\Drivers\svario\*.ini"
COPY "Sam_P\Drivers\svario\*.txt" "$f\Drivers\svario\docs\*.txt"
COPY "Sam_P\PPC2003\ARMv4\sam.exe" "$f\PPC2003\ARMv4\sam.exe"
COPY "Sam_P\PPC2003\ARMv4\Drivers\easylink\*.*" "$f\PPC2003\ARMv4\Drivers\easylink\*.*"
COPY "Sam_P\PPC2003\ARMv4\Drivers\htsam\*.*" "$f\PPC2003\ARMv4\Drivers\htsam\*.*"
COPY "Sam_P\PPC2003\ARMv4\Drivers\orpheus\*.*" "$f\PPC2003\ARMv4\Drivers\orpheus\*.*"
COPY "Sam_P\PPC2003\ARMv4\Drivers\svario\*.*" "$f\PPC2003\ARMv4\Drivers\svario\*.*"
COPY "Sam_P\Sam00046.ces" "$f\Sam.ces"
COPY "Sam_P\PPC2003\ARMv4\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\DolphinMobile\Sam
INIFILE $W\WIN.INI Compatibility95 Sam 0x00000002
; SAM is always a network version
NETWORKVERSION
LOG REGTREE l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinMobileSAM
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinMobileSAM\DisplayName str "Dolphin Pocket Synthesiser Access Manager"
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinMobileSAM\UninstallString str "$f\uninst.exe"

END






