home *** CD-ROM | disk | FTP | other *** search
- ;
- ; $PROJECT: WBStartup+
- ;
- ; (C) Copyright 1995 John Hughes. All Rights Reserved.
- ;
-
-
- (
- (working "Installing WBStartup+")
-
-
- (if (exists "SYS:WBStartup/WBStartup+")
- ( ; UPGRADE PREVIOUS VERSION
- (message "A previous version of WBStartup+ has been found. I will upgrade your version.")
- )
- ( ; INSTALL FOR THE FIRST TIME
- ; Moving the WBStartup files safely
- (
- (rename "SYS:WBStartup" "SYS:WBStartup.temp")
- (makedir "SYS:WBStartup")
- (rename "SYS:WBStartup.temp" "SYS:WBStartup/WBStartup (Enabled)")
- )
-
- ; Creating Disabled Directory
- (makedir "SYS:WBStartup/WBStartup (Disabled)")
- )
- )
-
- ; Copying icon
- (copyfiles
- (prompt "Copying the Enabled icon")
- (source "icons/WBStartup (Enabled).info")
- (dest "SYS:WBStartup")
- )
-
- ; Copying icon
- (copyfiles
- (prompt "Copying the Enabled icon")
- (source "icons/WBStartup (Disabled).info")
- (dest "SYS:WBStartup")
- )
-
- ; Copy WBStartup+
- (copyfiles
- (prompt "Copying the WBStartup+ Executable")
- (help @copyfiles-help)
- (source "WBStartup+")
- (dest "SYS:WBStartup")
- (infos)
- )
-
- ; Copy WBStartup+Prefs
- (copyfiles
- (prompt "Copying the WBStartup+Prefs Executable\nThis requires AmigaDOS 3.x.")
- (help @copyfiles-help)
- (source "WBStartup+Prefs")
- (dest "SYS:Prefs")
- (confirm)
- (infos)
- )
-
- ; install AmigaGuide file
- (copyfiles
- (prompt "Copying AmigaGuide file")
- (help @copyfiles-help)
- (source "WBStartup+.guide")
- (dest "AmigaGuide:")
- (confirm)
- )
-
- (set @default-dest "SYS:WBStartup")
- )
-