home *** CD-ROM | disk | FTP | other *** search
- ; InstallerFX script
-
- (onerror (CLEANUP))
-
- ; Cleanup any temporary mess we created
- (procedure CLEANUP
- ; Nothing to cleanup
- (delete "t:Logopic")
- ) ; CLEANUP
-
- (set @user-level 0)
-
- ;(set Opt 3)
- ;(complete 0)
-
- (copyfiles
- (source "InstallerFX/MagicSelector.iff")
- (dest "t:")
- (newname "Logopic")
- )
-
- (run "run InstallerFX/InstallerFX t:logopic")
-
- (set @user-level 2)
-
- ;Get directory to install test to:
- (set destdir
- (askdir
- (prompt "In which drawer should testfiles be installed?")
- (help @askdir-help)
- (default ("t:"))
- )
- )
-
- (complete 10)
-
- (set installfiles
- (askoptions
- (prompt "Which of the following optional programs/helpfile should be installed ?")
- (help @askoptions-help)
- (choices "InstallerFX")
- (default Opt)
- )
- )
-
- (complete 50)
-
- ;Copy program files to destination.
-
- (if (BITAND installfiles 1)
- (copyfiles
- (source "InstallerFX")
- (dest destdir)
- (all)
- )
- )
-
- (set installfiles
- (askoptions
- (prompt "Which of the following optional programs/helpfile should be installed ?")
- (help @askoptions-help)
- (choices "InstallerFX")
- (default Opt)
- )
- )
-
-
- (if (BITAND installfiles 1)
- (copyfiles
- (source "InstallerFX")
- (dest destdir)
- (all)
- )
- )
-
- (complete 100)
-
- (CLEANUP)
- (exit)
-