(message "Welcome to the Go Portscan! 0.8 Installation Utility\n By Ian Chapman\n\nGo Portscan! is a TCP/UDP Portscanner\nwith service lookup and many other features.")
(set @default-dest
(askdir
(prompt "Where would you like to install Go Portscan! 0.8?\n(Note: A new directory called GoPortscan! will be created, if it does not exist.)")
(help "The installer is asking where you would like Go Portscan! and related files to be installed. A new directory called GoPortscan! will be created for you, if it does not already exist. Currently no backups are made of an existing installation.")
(prompt "Go Portscan! has two versions for different processors. Please choose one.")
(help "The installer is asking what version of the Go Portscan! executable you would like to install. If your machine has a 68000 or 68010 installed you should choose this version. For all other processors choose the 68020 version")
(choices "68000 version (010)" "68020 version (030/040/060)")
)
)
(if
(= 0 #processor)
(copyfiles
(source "exes/GoPortscan!.68000")
(newname "GoPortscan!")
(dest @default-dest)
)
)
(if
(= 1 #processor)
(copyfiles
(source "exes/GoPortscan!.68020")
(newname "GoPortscan!")
(dest @default-dest)
)
)
(set #docdir @default-dest)
(askdir
(prompt "Where would you like me to place the documentation?\n(Currently documentation is only in English)")
(help "The installer is asking where you would like the Go Portscan! documentation installed. If you are unsure then choose the default location. Note: If you wish to use online help then you must install the documentation in the default location")
(default #docdir)
)
(copyfiles
(infos)
(source "docs/GoPortscan!_en.guide")
(dest #docdir)
)
(copyfiles
(prompt "Where would you like me to install the example AREXX scripts?")
(infos)
(all)
(source "arexx")
(dest #arexxdir)
(help "The installer is asking which AREXX scripts you would like to install, and where you would like to install them. If you are unsure, it is recommended that you choose the default")
(confirm)
)
(copylib
(prompt "About to install reqtools.library")
(source "libs/reqtools.library")
(dest "libs:")
(help "Reqtools is a required library for use with Go Portscan!. You must have it installed in order to use Go Portscan!")
(confirm)
)
(copylib
(prompt "About to install Busy.mcc")
(source "libs/Busy.mcc")
(dest "MUI:libs/mui")
(help "This is a required MUI library. You must have it installed in order to use Go Portscan!")
(confirm)
)
(copylib
(prompt "About to install Busy.mcp")
(source "libs/Busy.mcp")
(dest "MUI:libs/mui")
(help "This is a required MUI library. You must have it installed in order to use Go Portscan!")
(confirm)
)
; THIS LINE SHOULD BE COMMENTED OUT TO PRODUCE A PRE OS3.5 VERSION
;(closemedia #logo)
; THIS LINE SHOULD BE COMMENTED OUT TO PRODUCE A PRE OS3.5 VERSION
(help "The installer is asking which set of icons you would like installed.\n\n'NewIcons' require the NewIcons patched installed, or OS3.5+ with NewIcons enabled.\n\n'GlowIcons' required OS3.5+\n\nThe standard 8 colour icons will work with any setup.\n\nNote: If you have any important tooltypes set on your current installation you should choose not to install the icons, otherwise they will be overwritten. You can still install the icons manually, later")
(default 0)
)
)
; THIS LINE SHOULD BE COMMENTED OUT TO PRODUCE A PRE OS3.5 VERSION
;(closemedia #iconpic)
(if
(= #iconchoice 0)
(p_copy35icons)
)
(if (= #iconchoice 1)
(p_copynicons)
)
; THIS LINE SHOULD BE COMMENTED OUT TO PRODUCE A PRE OS3.5 VERSION