source: branches/v2.9/old_inst/install.CMD@ 222

Last change on this file since 222 was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 1.2 KB
Line 
1/* rexx - Install the CW-Audio classes */
2
3call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
4call SysLoadFuncs
5
6curDir=DIRECTORY()
7
8
9call SysCls
10SAY ''
11SAY 'This skript will install the CWAudio classes.'
12SAY 'Do you want to continue?'
13SAY ''
14SAY 'Enter Y for yes and N for no.'
15SAY ''
16SAY '> '
17parse value SysCurPos() with aktzeile aktspalte
18newposition=SysCurPos(aktzeile-1,2)
19
20resp=LINEIN()
21IF TRANSLATE(resp)='N' THEN EXIT
22
23classDLL=DIRECTORY()||'\cwmm.dll'
24
25rc=SysRegisterObjectClass('CWAudio', classDLL)
26IF rc=0 THEN DO
27 SAY 'Error while registering the class.'
28 '@PAUSE'
29 Exit
30END
31'repclass MMAudio CWAudio'
32
33SAY 'Registering MP3-Class...'
34rc=SysRegisterObjectClass('CWMP3', classDLL)
35IF rc=0 THEN DO
36 SAY 'Error while registering the class.'
37 SAY 'Only the icon will be wrong now.'
38END
39
40
41SAY 'Registering Ogg-Class...'
42rc=SysRegisterObjectClass('CWOGG', classDLL)
43IF rc=0 THEN DO
44 SAY 'Error while registering the class.'
45 SAY 'Only the icon will be wrong now.'
46END
47
48SAY 'Registering CDTrack-Class...'
49rc=SysRegisterObjectClass('CWCDTrack', classDLL)
50IF rc=0 THEN DO
51 SAY 'Error while registering the class.'
52END
53
54'@PAUSE'
55EXIT
56
Note: See TracBrowser for help on using the repository browser.