home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / c / cybervisionv1.02reg.dms / cybervisionv1.02reg.adf / Install-ENG < prev    next >
Text File  |  1995-05-15  |  11KB  |  580 lines

  1. ;********************************************************************************
  2. ;*                                                                              *
  3. ;*            CyberVision Installationscript ©1995 Andreas Goiczyk             *
  4. ;*                                                                              *
  5. ;*                                                                              *
  6. ;*                                                                              * 
  7. ;********************************************************************************
  8.  
  9.  
  10.  
  11. (transcript "Installation for \"CyberVision64")
  12.  
  13.  
  14. (set #reboot
  15. (cat "\nThe installation of CyberVision64 is now complete.\n\n"
  16.      "To use the CyberVision, you must reboot your Amiga. After rebooting, "
  17.      "you must run the \"ScreenMode\" preferences editor and pick the "
  18.      "ScreenMode you wish to use.\n\n"
  19.      "Remove the \"CyberVision64\" disk from the floppy drive, "
  20.      "and select the \"Proceed\" gadget to reboot your Amiga."
  21. ))
  22.  
  23.  
  24. (set #reboot-def
  25. (cat "\nThe installation of the default monitorfile is now complete.\n\n"
  26.      "To use the monitorfile, you must reboot your Amiga. After rebooting, "
  27.      "you must run the \"ScreenMode\" preferences editor and pick the "
  28.      "ScreenMode you wish to use.\n\n"
  29.      "Remove the \"CyberVision64\" disk from the floppy drive, "
  30.      "and select the \"Proceed\" gadget to reboot your Amiga."
  31. ))
  32.  
  33. (set @hide15bit
  34. (cat "\"HIDE15BIT\"  "
  35.      "By setting this variable, the 15Bit screens in the screemode requester "
  36.      "are hidden, but useable !"
  37. ))
  38.   
  39.  
  40. (set @hirescrsr
  41. (cat "\"HIRESCRSR\"  "
  42.      "By setting this variable, the Lores-Sprites on non-AA-machines "
  43.      "become Hires-sprites (they are no longer doubled by "
  44.      "the Cybergraphics Software). "
  45. ))
  46.  
  47.  
  48.  
  49. (set INST
  50.  
  51.     (askchoice
  52.       (prompt "\nPlease select your Installation")
  53.       (help @install-help)
  54.           (choices "Firsttime Installation" "Set Monitorfile to default")
  55.     (default 0) 
  56.     )
  57. )
  58.  
  59.  
  60.  
  61. ;*********************************************************************************
  62. ;* Erstmalige Installtion                                                        *
  63. ;*********************************************************************************
  64.  
  65.  
  66. (if (= INST 0)
  67. (
  68.  
  69.         (set default-dest
  70.             (askdir
  71.                 (prompt "Please select where you wish to put the CyberVision")
  72.                 (help @askdir-help)
  73.                 (default "SYS:")
  74.             )
  75.         )
  76.  
  77.  
  78.         (makeassign "MYASS" default-dest)
  79.  
  80.         (makedir "MYASS:CyberVision64"
  81.             (prompt "A directory CyberVision64 will be created")
  82.             (help @makedir-help)
  83.             (infos)
  84.             (confirm)
  85.         )
  86.  
  87.         (makeassign "CyberVision64" "MYASS:CyberVision64")
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.         (makedir "MYASS:CyberVision64/Driver"
  100.             (prompt "A directory CyberVision64/Driver will be created")
  101.                (help @makedir-help)
  102.             (infos)
  103.             (confirm)
  104.         )
  105.  
  106.         (set ass1 (expandpath "MYASS:CyberVision64/Driver"))
  107.  
  108.         (copyfiles
  109.             (prompt "copying diver to CyberVision64/Driver")
  110.             (help @copyfiles-help)
  111.             (source "DF0:Treiber")
  112.             (dest ass1)
  113.             (all)
  114.                 (infos)
  115.                 (confirm)
  116.         )
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.         (makedir "MYASS:CyberVision64/Viewer"
  127.             (prompt "A directory called CyberVision64/Viewer will be created")
  128.             (help @makedir-help)
  129.             (infos)
  130.                 (confirm)
  131.         )
  132.  
  133.         (set ass2 (expandpath "MYASS:CyberVision64/Viewer"))
  134.  
  135.         (copyfiles
  136.             (prompt "copying the viewers to CyberVision64/Viewer")
  137.             (help @copyfiles-help)
  138.                 (source "DF0:Viewer")
  139.             (dest ass2)
  140.             (all)
  141.                 (infos)
  142.                 (confirm)
  143.         )
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.         
  153.         (makedir "MYASS:CyberVision64/CyberMode"
  154.             (prompt "A directory called CyberVision64/CyberMode will be created")
  155.             (help @makedir-help)
  156.             (infos)
  157.             (confirm)
  158.         )
  159.  
  160.         (set ass3 (expandpath "MYASS:CyberVision64/CyberMode"))
  161.  
  162.         (copyfiles
  163.             (prompt "copying CyberMode to CyberVision64/CyberMode")
  164.                 (help @copyfiles-help)
  165.                 (source "DF0:CyberMode")
  166.             (dest ass3)
  167.             (all)
  168.                 (infos)
  169.                 (files)
  170.                 (confirm)
  171.         )
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.         (set libdest
  182.             (askdir
  183.                 (prompt "Please select where you wish to put the libraries")
  184.                 (help @askdir-help)
  185.                 (default "LIBS:")
  186.             )
  187.         )
  188.  
  189.         (copylib
  190.             (prompt "copying cybergraphics.library to " libdest)
  191.             (help @copylib-help)
  192.             (source "DF0:cyberlibs/cybergraphics.library")
  193.             (dest libdest)
  194.             (confirm)
  195.         )
  196.  
  197.  
  198.         (copylib
  199.             (prompt "copying cyberintuition.library to " libdest)
  200.             (help @copylib-help)
  201.             (source "DF0:cyberlibs/cyberintuition.library")
  202.             (dest libdest)
  203.             (confirm)
  204.         )
  205.  
  206.         (copylib
  207.             (prompt "copying cyberlayers.library to " libdest)
  208.             (help @copylib-help)
  209.             (source "DF0:cyberlibs/cyberlayers.library")
  210.             (dest libdest)
  211.             (confirm)
  212.         )
  213.  
  214.         (copylib
  215.             (prompt "copying gtlayout.library to " libdest)
  216.             (help @copylib-help)
  217.             (source "DF0:cyberlibs/gtlayout.library")
  218.             (dest libdest)
  219.             (confirm)
  220.         )
  221.  
  222.  
  223.  
  224.         
  225.         (set ass4
  226.             (askdir
  227.                 (prompt "Please select where you wish to put the monitordriver")
  228.                 (help @askdir-help)
  229.                 (default "DEVS:MONITORS")
  230.             )
  231.         )
  232.  
  233.         (copyfiles
  234.             (prompt "copying the monitor to " ass4)
  235.             (help @copymon-help)
  236.             (source "DF0:Monitors")
  237.             (dest ass4)
  238.                 (all)
  239.         )
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.         (makedir "ENVARC:CyberGraphics"
  248.             (prompt "A directory called envarc:CyberGraphics will be created")
  249.             (help @makedir-help)
  250.             (confirm)
  251.         )
  252.  
  253.         (set ass5 (expandpath "ENVARC:CyberGraphics"))
  254.  
  255.  
  256.  
  257.  
  258.         (set mon
  259.  
  260.             (askchoice
  261.               (prompt "\nWhich monitorfile should be installed:")
  262.               (help @copylib-help)
  263.               (choices "15KHz" "31KHz" "38KHz" "48KHz" "57KHz" "65KHz" )
  264.             (default 0) 
  265.             
  266.     
  267.             )
  268.         )
  269.  
  270.  
  271.  
  272.         (if (= mon 0)
  273.  
  274.  
  275.  
  276.             (copyfiles
  277.                     (source "DF0:Mon15KHz")
  278.                        (dest ass5)
  279.                 (all)
  280.                         (infos)
  281.                         (files)
  282.         )
  283.  
  284.  
  285.         )
  286.  
  287.  
  288.  
  289.         (if (= mon 1)
  290.  
  291.  
  292.  
  293.             (copyfiles
  294.                 (source "DF0:Mon31KHz")
  295.                 (dest ass5)
  296.                 (all)
  297.                         (infos)
  298.                         (files)
  299.         
  300.             )
  301.         
  302.  
  303.         )
  304.  
  305.  
  306.         (if (= mon 2)
  307.  
  308.  
  309.  
  310.             (copyfiles
  311.                 (source "DF0:Mon38KHz")
  312.                 (dest ass5)
  313.                 (all)
  314.                         (infos)
  315.                         (files)
  316.         
  317.             )
  318.  
  319.  
  320.         )
  321.  
  322.  
  323.  
  324.         (if (= mon 3)
  325.  
  326.  
  327.  
  328.             (copyfiles
  329.                 (source "DF0:Mon48KHz")
  330.                 (dest ass5)
  331.                 (all)
  332.                         (infos)
  333.                         (files)
  334.         
  335.             )
  336.  
  337.  
  338.         )
  339.  
  340.  
  341.  
  342.         (if (= mon 4)
  343.  
  344.  
  345.  
  346.             (copyfiles
  347.                 (source "DF0:Mon57KHz")
  348.                 (dest ass5)
  349.                 (all)
  350.                         (infos)
  351.                         (files)
  352.         
  353.             )
  354.  
  355.  
  356.         )
  357.  
  358.  
  359.         (if (= mon 5)
  360.  
  361.  
  362.  
  363.             (copyfiles
  364.                     (source "DF0:Mon64KHz")
  365.                 (dest ass5)
  366.                 (all)
  367.                         (infos)
  368.                         (files)
  369.         
  370.             )
  371.  
  372.  
  373.         )
  374.  
  375.         (set HIDE15BIT   (askchoice  
  376.                                  (choices "Ja" "Nein")
  377.                              (prompt "\nDo you wish to Enable this feature?")
  378.                              (help   @hide15bit)
  379.                            (default 0)
  380.              )
  381.         )
  382.  
  383.  
  384.         (if (= HIDE15BIT 0)
  385.            (
  386.              (run "setenv envarc:cybergraphics/HIDE15BIT 1")
  387.            )
  388.         )
  389.  
  390.  
  391.         (set HIRESCRSR (askchoice
  392.                                (choices "Ja" "Nein")
  393.                            (prompt "\nDo you wish to Enable this feature?")
  394.                            (help   @hirescrsr)
  395.                              (default 0)
  396.                    )
  397.         )
  398.  
  399.  
  400.         (if (= HIRESCRSR 0)
  401.            (
  402.              (run "setenv envarc:cybergraphics/HIRESCRSR 1")
  403.            )
  404.         )
  405.  
  406.        
  407.  
  408. (user 2)
  409. (message #reboot)
  410. (run "Reboot")
  411.  
  412. ))
  413.  
  414.  
  415.  
  416. ;*********************************************************************************
  417. ;* Monitor auf Defaultwert setzen                                                *
  418. ;*********************************************************************************
  419.  
  420.  
  421. (if (= INST 1)
  422. (
  423.         (set ass5 (expandpath "ENVARC:CyberGraphics"))
  424.  
  425.         (set mon
  426.  
  427.             (askchoice
  428.              (prompt "\nWhich monitorfile should be installed ? :")
  429.              (help @copylib-help)
  430.               (choices "15KHz" "31KHz" "38KHz" "48KHz" "57KHz" "65KHz" )
  431.             (default 0) 
  432.             
  433.     
  434.             )
  435.         )
  436.  
  437.         (if (= mon 0)
  438.  
  439.  
  440.  
  441.             (copyfiles
  442.                     (source "DF0:Mon15KHz")
  443.                        (dest ass5)
  444.                 (all)
  445.                         (infos)
  446.                         (files)
  447.         )
  448.  
  449.  
  450.         )
  451.  
  452.  
  453.  
  454.         (if (= mon 1)
  455.  
  456.  
  457.  
  458.             (copyfiles
  459.                 (source "DF0:Mon31KHz")
  460.                 (dest ass5)
  461.                 (all)
  462.                         (infos)
  463.                         (files)
  464.         
  465.             )
  466.         
  467.  
  468.         )
  469.  
  470.  
  471.         (if (= mon 2)
  472.  
  473.  
  474.  
  475.             (copyfiles
  476.                 (source "DF0:Mon38KHz")
  477.                 (dest ass5)
  478.                 (all)
  479.                         (infos)
  480.                         (files)
  481.         
  482.             )
  483.  
  484.  
  485.         )
  486.  
  487.  
  488.  
  489.         (if (= mon 3)
  490.  
  491.  
  492.  
  493.             (copyfiles
  494.                 (source "DF0:Mon48KHz")
  495.                 (dest ass5)
  496.                 (all)
  497.                         (infos)
  498.                         (files)
  499.         
  500.             )
  501.  
  502.  
  503.         )
  504.  
  505.  
  506.  
  507.         (if (= mon 4)
  508.  
  509.  
  510.  
  511.             (copyfiles
  512.                 (source "DF0:Mon57KHz")
  513.                 (dest ass5)
  514.                 (all)
  515.                         (infos)
  516.                         (files)
  517.         
  518.             )
  519.  
  520.  
  521.         )
  522.  
  523.  
  524.         (if (= mon 5)
  525.  
  526.  
  527.  
  528.             (copyfiles
  529.                     (source "DF0:Mon64KHz")
  530.                 (dest ass5)
  531.                 (all)
  532.                         (infos)
  533.                         (files)
  534.         
  535.             )
  536.  
  537.  
  538.         )
  539.  
  540.         
  541.         (set HIDE15BIT   (askchoice  
  542.                                  (choices "Ja" "Nein")
  543.                              (prompt "\nDo you wish to Enable this feature?")
  544.                              (help   @hide15bit)
  545.                            (default 0)
  546.              )
  547.         )
  548.  
  549.  
  550.         (if (= HIDE15BIT 0)
  551.            (
  552.              (run "setenv envarc:cybergraphics/HIDE15BIT 1")
  553.            )
  554.         )
  555.  
  556.  
  557.         (set HIRESCRSR (askchoice
  558.                                (choices "Ja" "Nein")
  559.                            (prompt "\nDo you wish to Enable this feature?")
  560.                            (help   @hirescrsr)
  561.                              (default 0)
  562.                    )
  563.         )
  564.  
  565.  
  566.         (if (= HIRESCRSR 0)
  567.            (
  568.              (run "setenv envarc:cybergraphics/HIRESCRSR 1")
  569.            )
  570.         )
  571.  
  572.  
  573. (user 2)
  574. (message #reboot-def)
  575. (run "Reboot")
  576.  
  577.  
  578.  
  579.         
  580. ))