;;;;
;;;;
;;;; UnInstall_RB - RunBar uninstallation script for Installer
;;;;
;;;; Copyright © 1996 Sergej Kravchenko
;;;;                  All Right reserved.
;;;;                  email dlife@pub.osf.lt
;;;;
;;;;     Installer and Installer project icon
;;;;     (c) Copyright 1991-93 Commodore-Amiga, Inc.  All Rights Reserved.
;;;;     Reproduced and distributed under license from Commodore.
;;;;
;;;;     INSTALLER SOFTWARE IS PROVIDED "AS-IS" AND SUBJECT TO CHANGE;
;;;;     NO WARRANTIES ARE MADE.  ALL USE IS AT YOUR OWN RISK.  NO LIABILITY
;;;;     OR RESPONSIBILITY IS ASSUMED.
;;;;
(complete 0)


(set #welcome           (cat "\n\nWelcome to the RunBar 2.2 uninstallation\n."))
(set #msg               (cat "\n\nFor complite uninstalation you must\ndelete RunBar.guide and UnInstall\n script by hand."))
;=============================================================================
(message #welcome)
(welcome)


;========================================================================
;

(complete 0)

(if (> (exists ("SYS:WBStartup/RunBar")) 0)
 (delete "SYS:WBStartup/RunBar")
)

(complete 10)

(if (> (exists ("SYS:WBStartup/RunBar.info")) 0)
 (delete "SYS:WBStartup/RunBar.info")
)

(complete 20)

(if (> (exists ("SYS:Prefs/RunBarPrefs")) 0)
 (delete "SYS:Prefs/RunBarPrefs")
)

(complete 30)

(if (> (exists ("SYS:Prefs/RunBarPrefs.info")) 0)
 (delete "SYS:Prefs/RunBarPrefs.info")
)

(complete 40)

(if (> (exists ("SYS:Utilities/RBClock")) 0)
 (delete "SYS:Utilities/RBClock")
)

(complete 50)

(if (> (exists ("SYS:Utilities/RBClock.info")) 0)
 (delete "SYS:Utilities/RBClock.info")
)

(complete 60)

(if (> (exists ("SYS:Utilities/RBFind")) 0)
 (delete "SYS:Utilities/RBFind")
)

(complete 70)

(if (> (exists ("SYS:Utilities/RBFind.info")) 0)
 (delete "SYS:Utilities/RBFind.info")
)

(complete 80)

(if (> (exists ("ENVARC:RunBar.prefs")) 0)
 (delete "ENVARC:RunBar.prefs")
)

(complete 90)

(if (> (exists ("L:RunBar.key")) 0)
 (delete "L:RunBar.key"
 (prompt "\n\nDelete keyfile?")
 (help No help.)
 (confirm)
 )
)

(complete 99)
(message #msg)
(exit)

