home *** CD-ROM | disk | FTP | other *** search
- ;; $VER: Install_cdxSizer 3.20b (23.9.1995)
- ;;
- ;; Install cdxSizer to system
- ;; (c)1995 by Codex Design Software
-
- ;; ============================================
-
- (set @default-dest "SYS:Commodities")
- (set @pretend 0)
- (set @user-level 2)
- (set #docdir "HELP:")
- (set #chkwindir "SYS:Utilities")
-
- ;; ============================================ HELLO
-
- (welcome "·C·O·D·E·X· ·D·E·S·I·G·N· ·S·O·F·T·W·A·R·E·\n"
- "presents:\n"
- "cdxSizer V3.20b\n"
- "welcome to its installation utility\n")
-
- (complete 10)
-
- ;; ============================================ COPY WHERE ?
-
- (if (askbool (prompt "\n"
- "Do you want that\n"
- "\n"
- "* cdxSizer V3.20b *\n"
- "\n"
- "will automatically be started when\n"
- "the Workbench is being loaded ?")
- (help "Please decide whether you want to start "
- "cdxSizer automatically when your "
- "Workbench is been loaded.\n"
- "Therefore this program will copy cdxSizer\n"
- "to SYS:WBStartup\n"
- "IF YOU do not want to install cdxSizer "
- "to your SYS:WBStartup, select <none> !\n\n"
- @askchoice-help)
- (choices "Yep !" "Nope !")
- (default 1)
- )
- (set @default-dest "SYS:WBStartup")
- (set @default-dest (askdir (prompt "Where do you want to install\n"
- "cdxSizer ?")
- (help "Please select a destination where\n"
- "to put cdxSizer in...\n\n"
- @askdir-help)
- (newpath)
- (default @default-dest)
- )
- )
- )
-
- ;; ============================================ COPY PALIS ?
-
- (complete 20)
-
- (if (exists "C:PALIS" (noreq))
- (set #palis FALSE)
- (set #palis (askbool (prompt "cdxSizer will make use of PALIS\n"
- "to avoid conflicts with other\n"
- "programs which may patch libraries.\n"
- "YOU ARE STRONGLY RECOMMENDED TO\n"
- "INSTALL PALIS NOW !!!!!\n"
- "See the manual for more information !")
- (help "PALIS is a _very_ little program that\n"
- "is used to perform a simple but very\n"
- "important feature:\n"
- "It will track all patches made to\n"
- "any library and will take appropiate\n"
- "steps to manage such things as save as\n"
- "possible.\n"
- "Since PALIS will also cooperate with\n"
- "alien programs it will _not_ cause\n"
- "any trouble to your system !\n"
- "You are not able to quit cdxSizer if\n"
- "you do not install PALIS !!!!!!!!!\n"
- "\n"
- @askbool-help)
- (choices "Yes, that's cool" "No - I'm a fool")
- (default 1)
- )
- )
- )
-
-
- ;; ============================================ WHAT ELSE TO COPY
-
- (complete 30)
-
- (set #opts (askoptions (prompt "Which optional parts of cdxSizer do yo\n"
- "want to install ?\n"
- "Click at 'help' for further information !")
- (help "cdxSizer manual - the documentation...\n"
- " I guess it would be wise to install\n"
- " this one ;-)\n"
- "Settings tester: A little program that\n"
- " allows you to open a little window\n"
- " showing the results of the settings\n"
- " you are defining (5700 bytes).\n"
- "Mouseptr changes: Feature to change the\n"
- " mousepointer when you size a window.\n"
- " Looks much nicer... (360 bytes)\n"
- "Default settings: Settings I'm using.\n"
- " You should copy these, too, and edit\n"
- " them later (refer to the docs !).\n"
- "\n"
- @askoptions-help)
- (choices "cdxSizer manual"
- "Settings tester"
- "Mouseptr changes"
- "Default settings")
- (default 15)
- )
- )
-
- (if (<> 0 (AND #opts 1))
- ( ( set #docdir (askdir (prompt "Where do you want to copy the\n"
- "manual (amigaguide) ?")
- (help @askdir-help)
- (newpath)
- (default #docdir)
- )
- )
- (set #docs TRUE)
- )
- (set #docs FALSE)
- )
-
- (if (<> 0 (AND #opts 2))
- (set #test TRUE)
- (set #test FALSE)
- )
-
- (if (<> 0 (AND #opts 4))
- (set #mptr TRUE)
- (set #mptr FALSE)
- )
-
- (if (<> 0 (AND #opts 8))
- (set #defset TRUE)
- (set #defset FALSE)
- )
-
- ;; ============================================ ADDITIONAL SOFTWARE...
-
- (complete 40)
-
- (set #opts (askoptions (prompt "Which additional programs do you\n"
- "want to install ?\n"
- "Click at 'help' for further information !")
- (help "chkWin V1.00 will help you to generate\n"
- " user-settings for special windows by\n"
- " saying you which process controls\n"
- " a window...\n"
- "\n"
- @askoptions-help)
- (choices "chkWin V1.00")
- (default 1)
- )
- )
-
- (if (<> 0 (AND #opts 8))
- ( (set #chkwindir (askdir (prompt "Where do you want to copy\n"
- "ChkWin V1.00 ?")
- (help @askdir-help)
- (default #chkwindir)
- (newpath)
- )
- )
- (set #chkwin TRUE)
- )
- (set #chkwin FALSE)
- )
-
- ;; ============================================ READY... COPYING
-
- (complete 60)
-
- (copyfiles (prompt "Copying cdxSizer V3.20b...")
- (help "Fine, isn't it ;-)")
- (dest @default-dest)
- (source "cdxSizer")
- (files) (infos) (optional "askuser" "force")
- )
- (makedir "S:cdxSizerData" (prompt "Creating data directory...")
- (help "cdxSizer will store several data here.")
- (safe)
- )
-
- (complete 65)
-
- (if #palis ( (copyfiles (prompt "Copying PALIS V1.00...")
- (help "That's cool, man...")
- (dest "C:")
- (source "palis/Palis")
- (files) (optional "askuser" "force")
- )
- (startup "PALIS" (prompt "Installing PALIS V1.00...")
- (help "PALIS is needed to be started\n"
- "before _any_ program attempts\n"
- "to patch a library and which\n"
- "you may want to terminate later.\n"
- "\n"
- "Palis will be copied to C:PALIS !")
- (command "C:Palis")
- )
- )
- )
-
- (complete 70)
-
- (if #docs (copyfiles (prompt "Copying manual...")
- (help "You should read this one !")
- (dest #docdir)
- (source "doc/cdxSizer.guide")
- (files) (infos) (optional "askuser" "force" "nofail")
- )
- )
-
- (complete 75)
-
- (if #test ( (makedir "S:cdxSizerData/modules"
- (prompt "Creating modules directory...")
- (help "cdxSizer will load several data from here.")
- (safe)
- )
- (copyfiles (prompt "Copying module 'test'...")
- (help "Click at the '?' in the main-window to\n"
- "start the test-program !")
- (dest "S:cdxSizerData/modules")
- (source "cdxSizerData/modules/cdxTest")
- (files) (optional "oknodelete" "force" "nofail")
- )
- )
- )
-
- (complete 80)
-
- (if #mptr ( (makedir "S:cdxSizerData/pointers"
- (prompt "Creating pointers directory...")
- (help "cdxSizer will load the images from here.")
- (safe)
- )
- (copyfiles (prompt "Copying pointers...")
- (help "nice gfx...")
- (dest "S:cdxSizerData/pointers")
- (source "cdxSizerData/pointers")
- (all)
- (files) (optional "oknodelete" "force" "nofail")
- )
- )
- )
-
- (complete 85)
-
- (if #defset (copyfiles (prompt "Copying default user-settings...")
- (help "Modify them, if you don't like them !")
- (dest "S:cdxSizerData")
- (source "cdxSizerData/settings.dat")
- (files) (optional "oknodelete" "force" "nofail")
- )
- )
-
- (complete 90)
-
- (if #chkwin (copyfiles (prompt "Copying ChkWin V1.00 ...")
- (help "Start it and press the hotkey !")
- (dest #chkwindir)
- (source "utils/chkwin")
- (infos) (files) (optional "force" "nofail")
- )
- )
-
- ;; ============================================ READY... COPYING
-
- (complete 100)
-
- (if #palis
- (message "\n"
- "cdxSizer V3.20B is now installed !\n"
- "\n"
- "Please note that you should reboot your machine before\n"
- "you start PALIS.\n"
- "cdxSizer can now be started from the archive but\n"
- "it will (of course) warn you that PALIS is not been\n"
- "found.\n"
- "You may ignore that message now since it will be\n"
- "found if you reboot your machine.\n"
- "\n"
- "** PALIS shouldn't be started now !!!!!!!! **\n"
- "\n"
- "Have fun, anyhow ;^)"
- )
- )
-
- (exit "Thank you for installing\n"
- "a\n"
- "·C·O·D·E·X· ·D·E·S·I·G·N· ·S·O·F·T·W·A·R·E·\n"
- "production !\n\n"
- "Statements etc welcome at:\n"
- "codex@stern.mathematik.hu-berlin.de")
-