home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
System
/
EASys
/
InstallPack_47
/
Remove_EASys!
< prev
next >
Wrap
Text File
|
2000-07-08
|
2KB
|
67 lines
failat 30
stack 20000
; 000625 T.Neidhardt, ft112@fen.baynet.de, EasySystem
; AmigaShell script
; removes quick a misinstalled EASys! from harddisk.
; Call by shell: execute remove_EASys!.script
if exists SYS:EASys!/SysDatabase
echo "*ec*n*n*e[1m Removing*e[0m EASys! from SYS: (10 secs from now) ...*n"
wait 10
SYS:EASys!/bin/cliexchange MultiNotify KILL
SYS:EASys!/bin/cliexchange ToolManager KILL
assign >NIL: EASys!_bin: exists
if not warn
path EASys!_bin: REMOVE
path SYS:EASys!/bin REMOVE
path EASys!:bin REMOVE
assign EASys!_bin: C: REMOVE
assign EASys!_bin: EASys!:bin REMOVE
assign EASys!_bin: SYS:EASys!/bin REMOVE
assign EASys!_bin: T:
assign EASys!: T:
assign EASys!_rexx: T:
endif
wait 4
echo "*ec*n*n Removing current EASys! system (will take about 1 Minute)...*n"
delete SYS:EASys! FORCE ALL QUIET
endif
if exists SYS:StartSys
echo "*ec*n*n Reconstructing startup*n"
if exists SYS:StartSys
path SYS:StartSys REMOVE
path SYS:StartSys/bin REMOVE
endif
assign >NIL: Profile: exists
if not warn
assign Profile: REMOVE
endif
if exists SYS:StartSys/StartupStandard
execute SYS:StartSys/StartupStandard
else
if exists s:startup-sequence.before_modas
protect s:startup-sequence +wd
copy s:startup-sequence.before_modas s:startup-sequence CLONE QUIET
endif
if exists s:user-startup.before_modas
protect s:user-startup +wd
copy s:user-startup.before_modas s:user-startup CLONE QUIET
endif
endif
delete SYS:StartSys#? FORCE ALL QUIET
delete SYS:ShutDown#? FORCE ALL QUIET
endif
endif
echo "*n*n Deinstallation done. Please reboot or reinstall."
wait 5