home *** CD-ROM | disk | FTP | other *** search
- ;HDPP Installer
-
- (welcome "Welcome to the HDPP v2.0 installation utility. This utility\n"
- "is designed to require little if no interaction from you.")
- (message "Welcome to the HDPP installation program.\n\n"
- "This process is automatic and the only input required from you "
- "is the place which you want to install the program.\n\n"
- "HDPP is ©1998-9 Joker Developments Limited.")
-
- (set #destdir
- (askdir
- (prompt "Select a directory to install HDPP to (a directory will be created.)")
- (help "HDPP needs to have it's own directory if it is going to be "
- "installed successfully. The installer will create the directory "
- "called HDPP on it's own, so don't worry.")
- (default "Workbench:Tools")
- )
- )
-
- (set #dest
- (tackon #destdir "HDPP/")
- )
- (set @default-dest #dest)
- (makedir #dest
- (prompt "Creating directory "#dest".")
- (help @makedir-help)
- (infos)
- )
- (set #docdest
- (tackon #dest "Docs/")
- )
- (makedir #docdest
- (prompt "Creating directory "#docdest".")
- (help @makedir-help)
- (infos)
- )
-
- (working "Installing main executable to "#dest"...")
- (copyfiles
- (prompt "Copying main executable to "#dest"...")
- (help @copyfiles-help)
- (source "HDPP2.0")
- (dest #dest)
- (infos)
- (nogauge)
- )
-
- (working "Installing Prefs program to "#dest"...")
- (copyfiles
- (prompt "Copying Prefs program to "#dest"...")
- (help @copyfiles-help)
- (source "HDPP_Prefs2.0")
- (dest #dest)
- (infos)
- (nogauge)
- )
-
- (working "Installing sound files to "#dest"...")
- (copyfiles
- (prompt "Copying default sound files to "#dest"...")
- (help @copyfiles-help)
- (source "Granted.snd")
- (dest #dest)
- (infos)
- (nogauge)
- )
-
- (working "Installing sound files to "#dest"...")
- (copyfiles
- (prompt "Copying default sound files to "#dest"...")
- (help @copyfiles-help)
- (source "Denied.snd")
- (dest #dest)
- (infos)
- (nogauge)
- )
-
- (working "Installing documentation to "#dest"...")
- (copyfiles
- (prompt "Copying documentation to "#dest"...")
- (help @copyfiles-help)
- (source "Docs/")
- (dest #docdest)
- (infos)
- (all)
- (nogauge)
- )
- (working "Installing removal script...")
- (copyfiles
- (prompt "Copying UnInstall-HDPP...")
- (help @copyfiles-help)
- (source="UnInstall-HDPP")
- (dest #dest)
- (infos)
- )
- (working "Installing font to FONTS: ...")
- (copyfiles
- (prompt "Copying font to FONTS: ...")
- (help "The HDPP font is just a load of asterisks (*)!")
- (source "Fonts/")
- (dest "FONTS:")
- (all)
- (nogauge)
- )
-
- (rename "C:LoadWB" "C:IO.DEV"
- (prompt "Renaming C:LoadWB to C:IO.DEV...")
- (help "HDPP requires the LoadWB command to be called IO.DEV so that the "
- "script file can be put in as LoadWB. This ensures that there are "
- "no modifications to your startup-sequence itself.")
- )
-
- (working "Creating a new LoadWB script in C: ...")
- (textfile
- (prompt "Creating a new LoadWB script in C: ...")
- (help "This new script will launch HDPP and then load the workbench as "
- "usual. This way, people fiddling with your startup-sequence will "
- "see nothing unusual. This is how HDPP buries itself in the "
- "system.")
- (dest "C:LoadWB")
- (append "Assign HDPP: "#dest"\n"
- "HDPP:HDPP2.0\n"
- "Assign HDPP: Remove\n"
- "C:IO.DEV >NIL:")
- )
- (protect "C:LoadWB" "+s")
-
- (working "Installing Prefs program to SYS:Prefs ...")
- (copyfiles
- (prompt "Installing the Prefs program to SYS:Prefs ...")
- (help "The HDPP Prefs program allows you to change your password 'on the "
- "fly' and is extremely easy to use.")
- (source "HDPP_Prefs2.0")
- (dest "SYS:Prefs")
- (infos)
- (nogauge)
- )
-