home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
pmdiff40.zip
/
pmdiff
/
UNINST.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1996-01-28
|
1KB
|
30 lines
/* Uninstall PMdiff */
call rxfuncadd 'sysloadfuncs', 'rexxutil', 'sysloadfuncs'
call sysloadfuncs
say "Do you really want to uninstall PMdiff? (y/n)"
pull response
if (response = "y") | (response = "Y") then do
say
say "Uninstalling PMdiff: please wait..."
say "Deregistering any PMdiff class objects..."
if SysDestroyObject("<WP_PMdiffObject>") then say " PMdiff object deleted"
if SysDestroyObject("<WP_PMDiffObject>") then say " PMDiff object deleted"
if SysDeregisterObjectClass('PMdiffSM') then say " PMdiffSM class deregistered"
if SysDeregisterObjectClass('PMDiffSM') then say " PMDiffSM class deregistered"
say "Removing any PMdiff entries from OS/2 user ini files..."
call SysIni , 'PMdiff/2', 'DELETE:'
if result \= Error then say " PMdiff/2 entry removed"
call SysIni , 'PMdiff', 'DELETE:'
if result \= Error then say " PMdiff entry removed"
say
say "PMdiff has been uninstalled. You may now delete any"
say "PMdiff program files from your disk."
say
say "If you have any suggestions or comments about PMdiff"
say "please e-mail them to pmdiff@arac.demon.co.uk"
end