home *** CD-ROM | disk | FTP | other *** search
- .K ""
- ;
- ; CAinstall - installation script for Checkbook Accountant 2.0
- ;
- ;
- ; after unarchiving, but before installation:
- ; CAinstall
- ; CAinstall.info
- ; CAhelp/#?
- ; CAicons/2.0/#?
- ; CAicons/1.3/#?
- ; CAmisc/#?
- ; CAsupport/#?
- ;
- ; after installation:
- ; CA
- ; CA.info
- ; CAchanges1.0-2.0.txt
- ; CAchanges1.0-2.0.txt.info
- ; CAdefault.CAb
- ; CAdefault.CAb.info
- ; CAdefault.CAd
- ; CAdefault.CAd.info
- ; CAexample.CAc
- ; CAexample.CAc.info
- ; CAmanual.txt
- ; CAmanual.txt.info
- ; CAquickdocs.txt
- ; CAquickdocs.txt.info
- ; FR_User.DOC
- ; FR_User.DOC.info
- ; CAhelp/#?
-
-
-
-
- echo ""
- echo "Checkbook Accountant 2.0 installation"
- echo "-------------------------------------"
- echo ""
- echo "This script will install the Checkbook Accountant 2.0 system onto the"
- echo "current disk or directory. The minimum disk space requirements for a"
- echo "working installation are approximately 280,000 free bytes."
-
-
-
-
- echo ""
- ask "Do you want to continue? [Default = NO]"
- if WARN
- echo ""
- else
- echo ""
- echo "Exiting the installation. To install the program in a different"
- echo "location, move all files (and directories) in the current disk or"
- echo "directory to the disk or directory where you want the program to"
- echo "reside and double-click (or execute) the CAinstall icon (script)."
- skip exit
- endif
-
-
-
-
- if not EXISTS CAhelp
- echo " ERROR: Could not find CAhelp directory"
- skip incomplete
- endif
- if not EXISTS CAicons
- echo " ERROR: Could not find CAicons directory"
- skip incomplete
- endif
- if not EXISTS CAicons/2.0
- echo " ERROR: Could not find CAicons/2.0 directory"
- skip incomplete
- endif
- if not EXISTS CAicons/1.3
- echo " ERROR: Could not find CAicons/1.3 directory"
- skip incomplete
- endif
- if not EXISTS CAmisc
- echo " ERROR: Could not find CAmisc directory"
- skip incomplete
- endif
- if not EXISTS CAsupport
- echo " ERROR: Could not find CAsupport directory"
- skip incomplete
- endif
-
-
-
-
- echo "Copying support files..."
- if not EXISTS LIBS:kd_freq.library
- echo " Copying kd_freq.library to LIBS: directory..."
- if not EXISTS CAsupport/kd_freq.library
- echo " ERROR: Could not find CAsupport/kd_freq.library"
- skip incomplete
- endif
- copy CAsupport/kd_freq.library LIBS:kd_freq.library
-
- echo " Copying FR_User.DOC to this directory..."
- if not EXISTS CAsupport/FR_User.DOC
- echo " ERROR: Could not find CAsupport/FR_User.DOC"
- skip incomplete
- endif
- copy CAsupport/FR_User.DOC "" quiet
- else
- echo " kd_freq.library already exists in the LIBS: directory...No copying needed."
- if not EXISTS CAicons/2.0/FR_User.DOC.info
- echo " ERROR: Could not find CAicons/2.0/FR_User.DOC.info"
- skip incomplete
- endif
- delete CAicons/2.0/FR_User.DOC.info quiet
-
- if not EXISTS CAicons/1.3/FR_User.DOC.info
- echo " ERROR: Could not find CAicons/1.3/FR_User.DOC.info"
- skip incomplete
- endif
- delete CAicons/1.3/FR_User.DOC.info quiet
- endif
- delete CAsupport all quiet
-
-
-
-
- echo ""
- echo "Copying example and documentation files..."
- copy CAmisc "" all quiet
- delete CAmisc all quiet
-
-
-
-
- echo ""
- ask "Do you want icons generated? [Default = NO]"
- if WARN
- ask " Do you want 2.0 icons? [Default = NO]"
- if WARN
- echo " Copying 2.0 icons..."
- copy CAicons/2.0 "" all quiet
- else
- echo " Copying 1.3 icons..."
- copy CAicons/1.3 "" all quiet
- endif
-
- echo ""
- echo " To view these icons properly, close & reopen this disk or drawer."
- endif
- delete CAicons all quiet
-
-
-
-
- delete CAinstall quiet
- if EXISTS CAinstall.info
- delete CAinstall.info quiet
- endif
- skip complete
-
-
-
-
- LAB incomplete
- echo ""
- echo "Error during installation. Be sure to unarchive the CHKBKACCTNT2.0.LZH file"
- echo "as directed before retrying the installation procedure."
- skip exit
-
-
-
-
- LAB complete
- echo ""
- echo "Installation is complete."
-
-
-
-
- LAB exit
- echo ""
- ask "Press RETURN to exit."
-