home *** CD-ROM | disk | FTP | other *** search
- ; This is the installer script for The Designer V1.0
-
- (transcript "Designer installation...")
-
- (set destdir
- (askdir
- (prompt "Where do you wish to put The Designer ?")
- (help "Choose location for Designer and Producers.")
- (default @default-dest)
- (disk)
- )
- )
-
- (set @default-dest destdir)
-
- (
- if (exists "DesignerV1_50_Disk1:" (noreq))
- (
- (set srcdir1 "DesignerV1_50_Disk1:")
- (set srcdir2 "DesignerV1_50_Disk2:")
- )
- (
- (set srcdir1 "")
- (set srcdir2 "")
- )
- )
-
- (copyfiles
- (prompt "Copying Designer to destination.")
- (help @copyfiles-help)
- (source srcdir1)
- (dest destdir)
- (choices "ReadMe" "Designer")
- (infos)
- (confirm)
- )
-
- (copyfiles
- (prompt "Copying demos to destination.")
- (help @copyfiles-help)
- (source srcdir1)
- (dest destdir)
- (pattern "#?Demo#?")
- (infos)
- (confirm)
- )
-
- (
- if (= srcdir1 scrdir2)
- (copyfiles
- (prompt "Copying more demos to destination.")
- (help @copyfiles-help)
- (source srcdir2)
- (dest destdir)
- (pattern "#?Demo#?")
- (infos)
- (confirm)
- )
- )
-
- (copyfiles
- (prompt "Copying Designer.Guide to destination.")
- (help @copyfiles-help)
- (source srcdir2)
- (dest destdir)
- (pattern "Designer.Guide")
- (infos)
- (confirm)
- )
-
- (copyfiles
- (prompt "Copying Producers to destination.")
- (help @copyfiles-help)
- (source srcdir2)
- (dest destdir)
- (pattern "#?Producer")
- (infos)
- (confirm)
- )
-
- (copyfiles
- (prompt "Copying Developer files to destination.")
- (help @copyfiles-help)
- (source srcdir2)
- (dest destdir)
- (pattern "Developer")
- (infos)
- (confirm)
- )
-
- (copylib
- (prompt "Copying Producer Library to Libs:.")
- (help @copylib-help)
- (source ("%sproducer.library" srcdir2))
- (dest "Libs:")
- (confirm)
- )
-
- (startup "Designer"
- (prompt
- "Do you wish to add the directory to your path in \"S:user-startup\" so that your system will be properly configured to use The Designer ?")
- (help "This will make using The Designer far easier from the CLI.")
- (command ("path \"%s\" add" destdir))
- )
-