(welcome (message "\nNOTICE 1:\nThis installer script will NOT work if you booted from this floppy!")
(message "\nNOTICE 2:\nIf you chose NOVICE user the system assumes Amiga-CDTV Install!")
)
(transcript "ParBENCH installation on \"SYS:ParNET\"...") ;Begin to hate
;parenthesis..
(complete 0)
(set package ;Begin set
(askchoice ;begin ask
(Prompt "What package do you want installed now?") ;
(help "Amiga to CDTV installs just the files for the Hypermedia Concepts CDROM. Amiga to Amiga installs all the files needed to communicate betweeen 2 Amigas. Both is simply.. Both! :)")
(choices "Amiga to CDTV" "Amiga to Amiga" "Both") ;
(default 0 ) ;
) ;end ask
) ;end set
(makedir "SYS:ParNET" ;Begin Makedir
(prompt "Making the directory \"SYS:ParNET\"") ;
(help @makedir-help) ;
(infos) ;
(confirm) ;
) ;End Makedir
(complete 10)
; Ok Ok, so its really clumsy but I dont know how to do multiple
; operators without it shifting to ELSE!!! Grrr...
(if (= package 2) ;Begin if
(copyfiles ;Begin Copy
(Prompt "Copying Both packages to ParNET Drawer.") ;
(help @copyfiles-help) ;
(source "ParBENCH:ParNET") ;
(dest "SYS:ParNET/") ;
(files) ;
(infos) ;
(pattern "boot.#?")
) ;end copy
) ;end if
(if (= package 2) ;Begin if
(copyfiles ;Begin Copy
(Prompt "Copying Both packages to ParNET Drawer.") ;
(help @copyfiles-help) ;
(source "ParBENCH:ParNET") ;
(dest "SYS:ParNET/") ;
(infos) ;
(pattern "CDTV.Connect") ;
) ;End copy
) ;end if
(if (= package 1) ;Begin if
(copyfiles ;Begin Copy
(Prompt "Copying Amiga-Amiga package to ParNET Drawer.");
(help @copyfiles-help) ;
(source "ParBENCH:ParNET") ;
(dest "SYS:ParNET/") ;
(files) ;
(infos) ;
(pattern "boot.#?") ;
) ;End copy
) ;end if
(if (= package 0) ;Begin if
(copyfiles ;Begin Copy
(Prompt "Copying Amiga-CDTV Files to ParNET Drawer.") ;
(help @copyfiles-help) ;
(source "ParBENCH:ParNET") ;
(dest "SYS:ParNET/") ;
(infos) ;
(pattern "CDTV.Connect") ;
) ;End copy
) ;end if
(complete 25)
; The following 3 files get copied no matter which package is chosen:
(copyfiles ;Begin copy
(source "Parbench:Parnet") ;
(dest "SYS:ParNET/") ;
(infos) ;
(pattern "#?net#?") ;
) ;End Copy
(copyfiles ;Begin copy
(source "Parbench:Parnet") ;
(dest "SYS:ParNET/") ;
(infos) ;
(pattern "DefSysDisk") ;
) ;End Copy
(copyfiles ;Begin copy
(source "Parbench:Parnet") ;
(dest "SYS:ParNET/") ;
(pattern "node.rinfo") ;
) ;End Copy
(complete 40)
(copyfiles
(Prompt "Copying commands to your C directory.")
(help @copyfiles-help)
(source "ParBENCH:C/")
(dest "SYS:C/")
(pattern "#?net#?")
; (Files)
(confirm)
)
(complete 60)
(copyfiles
(prompt "Copying ParNET handlers.")
(help @copyfiles-help)
(source "ParBENCH:l/NetPNet-handler")
(dest "SYS:L")
(confirm)
)
(complete 65)
(copylib
(prompt "Copying PNET Keys mouse-handler to your L: directory.")
(help @copylib-help)
(source "ParBENCH:l/mouse-handler")
(dest "SYS:L")
(confirm)
)
(complete 70)
(copyfiles
(Prompt "Copying Drivelist to your S: directory.")
(help @copyfiles-help)
(source "ParBENCH:S/")
(dest "SYS:S/")
(pattern "#?net#?")
(Files)
(confirm)
)
(complete 80)
(copyfiles
(Prompt "Copying Mountlists to your DEVS: directory.")
(help @copyfiles-help)
(source "ParBENCH:Devs/")
(dest "SYS:DEVS/")
(pattern "Mountlist.Parnet.#?")
(Files)
(confirm)
)
(complete 90)
(copylib
(prompt "Copying ParNET.device to your DEVS: directory.")