source: branches/v2.9/old_inst/uninst.CMD

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

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

File size: 1.0 KB
Line 
1/* rexx - Uninstall the CW-Audio classes */
2
3call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
4call SysLoadFuncs
5
6call SysCls
7SAY ''
8SAY 'This skript will remove the CWAudio classes.'
9SAY 'Do you want to continue?'
10SAY ''
11SAY 'Enter Y for yes and N for no.'
12SAY ''
13SAY '> '
14parse value SysCurPos() with aktzeile aktspalte
15newposition=SysCurPos(aktzeile-1,2)
16
17resp=LINEIN()
18IF TRANSLATE(resp)='N' THEN EXIT
19
20
21rc=SysDeRegisterObjectClass('CWMP3')
22IF rc=0 THEN DO
23 SAY 'Error while deregistering the MP3-class.'
24END
25ELSE
26 SAY 'MP3-class deregistered.'
27
28rc=SysDeRegisterObjectClass('CWOGG')
29IF rc=0 THEN DO
30 SAY 'Error while deregistering the Ogg-class.'
31END
32ELSE
33 SAY 'Ogg-class deregistered.'
34
35rc=SysDeRegisterObjectClass('CWCDTrack')
36IF rc=0 THEN DO
37 SAY 'Error while deregistering the CDTrack-class.'
38END
39ELSE
40 SAY 'CDTrack-class deregistered.'
41
42'repclass MMAudio CWAudio u'
43rc=SysDeRegisterObjectClass('CWAudio')
44IF rc=0 THEN DO
45 SAY 'Error while deregistering the CWAudio replacement class.'
46END
47'@PAUSE'
48Exit
49
Note: See TracBrowser for help on using the repository browser.