home *** CD-ROM | disk | FTP | other *** search
- .K ""
- echo "This script will install the following libraries, after first checking"
- echo "to see if you already have one installed:"
- echo ""
- echo " reqtools.library"
- echo " nofrag.library"
- echo " powerpacker.library"
- echo ""
- echo "If you have one installed, it will check the version number of the"
- echo "installed one and ask if you wish to update it."
- echo ""
-
- FailAt 20
-
- ask "Do you wish to continue with the installation? [y/n]"
- if not warn
- skip NoInstall
- endif
-
- if not exists libs:nofrag.library
- echo "No existing nofrag.library, installing version 2.2..."
- copy libs/nofrag.library libs:nofrag.library
- else
- failat 20
- echo "Found " noline
- version nofrag.library 2 2
- if warn
- ask "Do you wish to update libs:nofrag.library to version 2.2? [y/n]"
- if warn
- echo "Updating libs:nofrag.library..."
- protect libs:nofrag.library rwed
- copy libs/nofrag.library libs:nofrag.library
- else
- echo "libs:nofrag.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
-
- if not exists libs:powerpacker.library
- echo "No existing powerpacker.library, installing version 35.344..."
- copy libs/powerpacker.library libs:powerpacker.library
- else
- failat 20
- echo "Found " noline
- version powerpacker.library 35 344
- if warn
- ask "Do you wish to update libs:powerpacker.library to version 35.344? [y/n]"
- if warn
- echo "Updating libs:powerpacker.library..."
- protect libs:powerpacker.library rwed
- copy libs/powerpacker.library libs:powerpacker.library
- else
- echo "libs:powerpacker.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
-
- if not exists libs:reqtools.library
- echo "No existing reqtools.library, installing version 38.693..."
- copy libs/reqtools.library libs:reqtools.library
- else
- failat 20
- echo "Found " noline
- version reqtools.library 38 693
- if warn
- ask "Do you wish to update libs:reqtools.library to version 38.693? [y/n]"
- if warn
- echo "Updating libs:reqtools.library..."
- protect libs:reqtools.library rwed
- copy libs/reqtools.library libs:reqtools.library
- else
- echo "libs:reqtools.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
-
- lab NoInstall
- echo "*nAll Done. Click close gadget to get rid of window."
- endcli > nil:
-