home *** CD-ROM | disk | FTP | other *** search
- ;$Movieguide Pro V1.1 Update Installer
- ;; (C) Simon Ravn 1995
- ;; Revision 1.0
-
- (set @user-level 2)
- (user 2)
- (set instdir
- (askdir
- (prompt "Please tell me where MovieGuide Pro is installed! "
- "State full pathname, e.g. DH0:Tools/MovieGuide")
- (help @askdir-help)
- (default "SYS:MovieGuide")
- (newpath)
- (disk)
- )
- )
- (
- (
- (if ( = (exists instdir (noreq)) 0) ;if selected path doesn't exist...
- ;then create dir
- (makedir instdir
- (prompt ("creating directory \"%s\"" instdir))
- (help @makedir-help)
- (infos)
- (confirm)
- )
- ;else directory is already there - use it.
- ;()
- )
- )
- (askdisk sourcedisk
- (prompt "\nPlease insert disk \"MovieGuide Pro 1.1 Update\" in any drive.")
- (help @askdisk-help)
- (dest "MGPro_1.1")
- (assigns)
- )
- (copyfiles
- (source "MGPro_1.1:c/Lharc")
- (dest instdir)
- )
- )
- (set DeArcher (tackon instdir "lharc"))
- (
- (
- (set @execute-dir instdir)
- (
- (working "Updating MovieGuide Pro to V1.1...")
- (run
- ("%s\ -f x \MGPro_1.1:bin.lha \ >nil:" DeArcher)
- )
-
- )
- )
- )
-
- (delete DeArcher)
-
- (exit)
-
- ;(set @default-dest instdir)
-