
[PRE-INSTALL]
PRIORITY 4
ORDER 4
; Dolphin Installation Program
; Control script for Orpheus Software Synthesiser (network version)

BETA 0
PRODUCT_NAME "Orpheus Software Synthesiser"
PRODUCT_VERSION "1.06"
PRODUCT_BUILD 18
PRODUCT_CODE ON3
DEFAULT_PRODFOLDER $r\Dolphin\Orpheus
DEFAULT_DOCFOLDER ""
ALLOW_DOCFOLDER 0
DEFAULT_STARTFOLDER "Orpheus"
ALLOW_STARTFOLDER 0
DEFAULT_STARTUP 0
ALLOW_STARTUP 0
LICENSE_DOC Orpheus\LIC00047.TXT
README_DOC Orpheus\rdm00047.TXT
MIN_DISKSPACE 4096
MIN_MEMORY 8192
MIN_CPU 0
TOTAL_KBYTES 2263
REGKEY c Orpheus
WINDOW_CLASS Orpheus
ALLOWRUNNING 1

[INSTALL]
MKDIR "$f"
MKDIR "$f\language"
MKDIR "$f\docs"
MKDIR "$f\sam"
MKDIR "$f\sfx"
MKDIR "$f\sfx\11kHz"
MKDIR "$f\sfx\22kHz"
COPY "insutils\unststub.exe" "$f\uninst.exe"
COPY "insutils\uninst.exe" "$f\_uninst.exe"
COPY "ins00001.ini" "$f\ins00001.ini"
COPY "ins00031.ini" "$f\ins00031.ini"
COPY "ins00033.ini" "$f\ins00033.ini"
COPY "ins00038.ini" "$f\ins00038.ini"
COPY "ins00039.ini" "$f\ins00039.ini"
COPY "ins00042.ini" "$f\ins00042.ini"
COPY "ins00044.ini" "$f\ins00044.ini"
COPY "ins00046.ini" "$f\ins00046.ini"
COPY "ins00047.ini" "$f\ins00047.ini"
COPY "ins00049.ini" "$f\ins00049.ini"
COPY "uns00001.ini" "$f\uns00001.ini"
COPY "uns00031.ini" "$f\uns00031.ini"
COPY "uns00033.ini" "$f\uns00033.ini"
COPY "uns00038.ini" "$f\uns00038.ini"
COPY "uns00039.ini" "$f\uns00039.ini"
COPY "uns00042.ini" "$f\uns00042.ini"
COPY "uns00044.ini" "$f\uns00044.ini"
COPY "uns00046.ini" "$f\uns00046.ini"
COPY "uns00047.ini" "$f\uns00047.ini"
COPY "uns00049.ini" "$f\uns00049.ini"
COPY "Orpheus\a3s.dll" "$f\a3s.dll" /b
COPY "Orpheus\Dolabf.dll" "$f\Dolabf.dll" /b
COPY "Orpheus\oconfig.exe" "$f\oconfig.exe" /b
COPY "Orpheus\Dolmix.exe" "$f\Dolmix.exe" /b
COPY "Orpheus\language\*.*" "$f\language\*.*" /b
COPY "Orpheus\ORP00001.WRI" "$f\docs\ORP00001.WRI"
COPY "Orpheus\ORP00031.WRI" "$f\docs\ORP00031.WRI"
COPY "Orpheus\ORP00033.WRI" "$f\docs\ORP00033.WRI"
COPY "Orpheus\ORP00038.WRI" "$f\docs\ORP00038.WRI"
COPY "Orpheus\ORP00039.WRI" "$f\docs\ORP00039.WRI"
COPY "Orpheus\ORP00042.WRI" "$f\docs\ORP00042.WRI"
COPY "Orpheus\ORP00044.WRI" "$f\docs\ORP00044.WRI"
COPY "Orpheus\ORP00046.WRI" "$f\docs\ORP00046.WRI"
COPY "Orpheus\ORP00047.WRI" "$f\docs\ORP00047.WRI"
COPY "Orpheus\ORP00049.WRI" "$f\docs\ORP00049.WRI"
COPY "Orpheus\ORP00001.INI" "$f\ORP00001.INI"
COPY "Orpheus\ORP00031.INI" "$f\ORP00031.INI"
COPY "Orpheus\ORP00033.INI" "$f\ORP00033.INI"
COPY "Orpheus\ORP00038.INI" "$f\ORP00038.INI"
COPY "Orpheus\ORP00039.INI" "$f\ORP00039.INI"
COPY "Orpheus\ORP00042.INI" "$f\ORP00042.INI"
COPY "Orpheus\ORP00044.INI" "$f\ORP00044.INI"
COPY "Orpheus\ORP00046.INI" "$f\ORP00046.INI"
COPY "Orpheus\ORP00047.INI" "$f\ORP00047.INI"
COPY "Orpheus\ORP00049.INI" "$f\ORP00049.INI"
COPY "Orpheus\ove00001.txt" "$f\docs\ove00001.txt"
COPY "Orpheus\ove00031.txt" "$f\docs\ove00031.txt"
COPY "Orpheus\ove00033.txt" "$f\docs\ove00033.txt"
COPY "Orpheus\ove00038.txt" "$f\docs\ove00038.txt"
COPY "Orpheus\ove00039.txt" "$f\docs\ove00039.txt"
COPY "Orpheus\ove00042.txt" "$f\docs\ove00042.txt"
COPY "Orpheus\ove00044.txt" "$f\docs\ove00044.txt"
COPY "Orpheus\ove00046.txt" "$f\docs\ove00046.txt"
COPY "Orpheus\ove00047.txt" "$f\docs\ove00047.txt"
COPY "Orpheus\ove00049.txt" "$f\docs\ove00049.txt"
COPY "Orpheus\rdm00001.txt" "$f\docs\rdm00001.txt"
COPY "Orpheus\rdm00031.txt" "$f\docs\rdm00031.txt"
COPY "Orpheus\rdm00033.txt" "$f\docs\rdm00033.txt"
COPY "Orpheus\rdm00038.txt" "$f\docs\rdm00038.txt"
COPY "Orpheus\rdm00039.txt" "$f\docs\rdm00039.txt"
COPY "Orpheus\rdm00042.txt" "$f\docs\rdm00042.txt"
COPY "Orpheus\rdm00044.txt" "$f\docs\rdm00044.txt"
COPY "Orpheus\rdm00046.txt" "$f\docs\rdm00046.txt"
COPY "Orpheus\rdm00047.txt" "$f\docs\rdm00047.txt"
COPY "Orpheus\rdm00049.txt" "$f\docs\rdm00049.txt"
COPY "Orpheus\sam\*.dll" "$f\sam\*.dll" /b
COPY "Orpheus\sam\*.ini" "$f\sam\*.ini" /b
COPY "Orpheus\sam\*.txt" "$f\sam\*.txt" /b
COPY "Orpheus\sfx\11kHz\*.*" "$f\sfx\11kHz\*.*" /b
COPY "Orpheus\sfx\22kHz\*.*" "$f\sfx\22kHz\*.*" /b

[POST-INSTALL]
INIFILE $W\WIN.INI Compatibility95 ORPHEUS 0x00000002
INIFILE $W\WIN.INI Compatibility95 DOLMIX 0x00000002
INIFILE $W\WIN.INI Compatibility95 OCONFIG 0x00000002

NETWORKVERSION
LOG REGISTRYKEY c SOFTWARE\Dolphin
LOG REGISTRYKEY l SOFTWARE\Dolphin
LOG _REGTREE c SOFTWARE\Dolphin\Orpheus
LOG _REGTREE l SOFTWARE\Dolphin\DolMix
LOG _REGTREE c SOFTWARE\Dolphin\Mixer
STARTMENU $s "Avinstallere Orpheus" "$f\UNINST.EXE" ""
STARTMENU $s "Orpheus Dokumentasjon" "$f\docs\ORP00047.WRI" ""
STARTMENU $s "Versjon Lesmeg" "$f\docs\OVE00047.TXT" ""
STARTMENU $s "Konfigurere Orpheus" "$f\OConfig.exe" ""
LOG REGTREE l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinOrpheus
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinOrpheus\DisplayName str "Orpheus Software Synthesiser"
REGISTRY l SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DolphinOrpheus\UninstallString str "$f\uninst.exe"
END






