home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Utilities / HDPP2.0 / UnInstall_HDPP < prev    next >
Text File  |  1999-04-06  |  2KB  |  63 lines

  1. ;HDPP UnInstaller
  2.  
  3. (complete 0)
  4. (welcome "Welcome to the HDPP v2.0 uninstallation utility. This utility\n"
  5.             "is designed to run with little or no interaction from you.")
  6. (message "Welcome to the HDPP UnInstall program\n\n"
  7.          "This program is automatic and the only input required from you "
  8.          "is the place where HDPP is currently installed.\n"
  9.          "The program will then delete that directory, and delete the "
  10.          "Prefs program from SYS:Prefs. Finally, it will remove the "
  11.          "LoadWB script that was installed and replace it with the "
  12.          "original LoadWB command which came with your Workbench disks.\n\n"
  13.          "HDPP is ©1998-9 Joker Developments Limited.")
  14.  
  15. (set #destdir
  16.  (askdir
  17.   (prompt "Select the directory which contains the HDPP executable.")
  18.   (help @askdir-help)
  19.   (default "")  
  20.  )
  21. )
  22.  
  23. (working "Removing font from FONTS:")
  24. (delete "FONTS:HDPP.font")
  25.  (prompt "Deleting HDPP.font from FONTS:")
  26.  (help @delete-help)
  27. )
  28. (working "Removing font from FONTS:")
  29. (delete "FONTS:HDPP/")
  30.  (prompt "Deleting HDPP/8 from FONTS:")
  31.  (help @delete-help)
  32.  (all)
  33. )
  34.  
  35. (working "Removing LoadWB script from C:")
  36. (delete "C:LoadWB"
  37.  (prompt "Deleting LoadWB script from C:")
  38.  (help "Deletes the LoadWB script so that the original command can be "
  39.        "re-copied into the C: directory.")
  40. )
  41.  
  42. (working "Re-installing LoadWB command (the original!)")
  43. (rename "C:IO.DEV" "C:LoadWB"
  44.  (prompt "Re-installing the ORIGINAL LoadWB command..")
  45.  (help "Without this command, the computer would not boot properly!")
  46. )
  47.  
  48. (working "Removing Prefs program from SYS:Prefs/ directory")
  49. (delete "SYS:Prefs/HDPP_Prefs2.0"
  50.  (prompt "Removing HDPP_Prefs2.0 from SYS:Prefs")
  51.  (help "This deletes the Prefs program from the preferences directory!")
  52.  (infos)
  53. )
  54. (set @default-dest #destdir)
  55.  
  56. (working "Removing main HDPP directory from "#destdir#"...")
  57. (delete #destdir
  58.  (prompt "Deleting files from"#destdir".")
  59.  (help "This just deletes the HDPP directory altogether!")
  60.  (all)
  61. )
  62. (complete 100)
  63.