home *** CD-ROM | disk | FTP | other *** search
/ Program Metropolis - Software Boutique 95 / SOFTWARECD.iso / pm5 / disk1 / net / maxnet.sr~ / MAXNET.SRC
Encoding:
Text File  |  1993-06-17  |  12.4 KB  |  481 lines

  1. /********************************************************************
  2.  * PC installer (aldsetup) control file for PageMaker 5.0  1.44mb Disks
  3.  * MAX
  4.  * Copyright (C) 1992 - 1993 Aldus Corporation.  All rights reserved.
  5.  * Control file administrator: Dave Perkins
  6.  ********************************************************************/
  7.  
  8. PRODUCT "PageMaker 5.0 Network Installation"
  9.  
  10. VERSIONREQ "2.3"
  11.  
  12. ALDUSDIRECTORY "Aldus" "AldusDirectory" "C:\ALDUS"
  13.  
  14.  
  15. /********   DBUILD SECTION  ***********/
  16.  
  17.  
  18. DISK "PM5\USER"
  19.    {
  20.    (C)ALDUS.'93         62,
  21.    PKWTUTOR.INI          521,
  22.    DINGWIN.CHA        3293 CHECKDATE,
  23.    EXPWIN.CHA         4900 CHECKDATE,
  24.    KERNWIN.CHA        4900 CHECKDATE,
  25.    ALDLEARN.DLL      28672 CHECKDATE,
  26.    ALDUKN.UD~         1024 NOREPLACE,
  27.    ALDUKN.BP~        32313 CHECKDATE,
  28.    ALDUKN00.NF~         65 CHECKDATE,
  29.    ALDUKN00.VP~     258048 CHECKDATE,
  30.    ALDUKN01.NF~         65 CHECKDATE,
  31.    ALDUKN01.VP~     290816 CHECKDATE,
  32.    ALDUKN02.NF~         65 CHECKDATE,
  33.    ALDUKN02.VP~     367616 CHECKDATE,
  34.    ALDUSN.BP~        32319 CHECKDATE,
  35.    ALDUSN.MS~         1024 CHECKDATE,
  36.    ALDUSN00.VP~     339968 CHECKDATE,
  37.    ALDUSN.NF~           66 CHECKDATE,
  38.    ALDUSN.UD~         1024 NOREPLACE,
  39.    PXENGWIN.DLL     236734 CHECKDATE,
  40.    TWAIN.DLL         22944 NOREPLACE,
  41.    PANOSE.DAT        85153 NOREPLACE,
  42.    PCDLIB.DLL        83040 NOREPLACE,
  43.    PCDIMP.HLP         4725 CHECKDATE,
  44.    CHREXPC.TBL        3811 NOREPLACE,
  45.    CHRIMPC.TBL        3785 NOREPLACE,
  46.    PM5RES.RS~       280208 VITAL,
  47.    PM5RES.AU~       280208 VITAL,
  48.    PRXLNGST.RSL     3072   CHECKDATE
  49.    }
  50.  
  51. /*********** DBUILD END ******************/
  52.  
  53. /*****   DIALOG & VARIABLE INITIALIZATION  *****/
  54.  
  55. DIALOG LicWarn    "&OK" 
  56. {
  57.     CAPTION "Network License Agreement"
  58.     TEXT
  59.     {
  60.     "Please make sure your network administrator knows"
  61.     "you are installing this software. The administrator"
  62.     "must keep track of the total number of users for"
  63.     "licensing purposes.  You will need a product serial"
  64.     "number from the administrator in order to install"
  65.     "PageMaker 5.0 on your hard disk."
  66.     }
  67. }
  68. DIALOG AldusLocation "OK" "Cancel" 
  69. {
  70.     CAPTION "Aldus Directory Creation"
  71.     TEXT
  72.     {
  73.     "Type the drive letter and subdirectory where"
  74.     "you want to install the Aldus files.  This"
  75.     "directory will be used by all Aldus products"
  76.     "to store files such as dictionaries and filters."
  77.     }
  78. }
  79.  
  80. DIALOG BuffersWarning "&Continue" "&Exit"
  81. {
  82.     CAPTION "Low BUFFERS setting"
  83.     TEXT
  84.     {
  85.     "Aldus Setup has detected that the BUFFERS setting in your "
  86.     "CONFIG.SYS file is below 20.  You can successfully install "
  87.     "with the current settings, but the installation process may"
  88.     "be slowed considerably.  Increasing the value of this setting"
  89.     "and rebooting your computer will speed up the installation time."
  90.     }
  91. }
  92.  
  93. DIALOG KeyboardSelect "&UK" "U&S"
  94. {
  95.     CAPTION "International Keyboard Selection"
  96.     TEXT
  97.     {
  98.     "Which English keyboard layout are you using?"
  99.     " "
  100.     "(Keyboard shortcuts in PageMaker 5.0 may vary depending on your"
  101.     "keyboard layout.  If you live in New Zealand, Australia or Latin"
  102.     "America, for example, you are probably using the US keyboard"
  103.     "layout.  If you live in the United Kingdom or Ireland, you are"
  104.     "probably using the UK keyboard layout.)"
  105.     }
  106. }
  107.  
  108. DIALOG PrintInfo "&OK"
  109. {
  110.     CAPTION "Must install Drivers"
  111.     TEXT
  112.     {
  113.     "If you will be using a PostScript printer with PageMaker"
  114.     "or a HP LaserJet III, please install the drivers from the"
  115.     "current directory.  To install; Click Browse, then"
  116.     "OK to set the correct path to install the printer driver."
  117.     " "
  118.     "If newer versions of the drivers are available, use"
  119.     "them instead."
  120.     " "
  121.     "The Windows Control Panel will start when you click"
  122.     "OK."
  123.     }
  124. }
  125.  
  126. DIALOG PPDwarning "&OK"
  127. {
  128.     CAPTION "Selecting PPDs (PostScript ONLY)"
  129.     TEXT
  130.     {
  131.     "If you will be using a PostScript printer, you will need to"
  132.     "install a PostScript Printer Description (PPD) file for each"
  133.     "printer.  Select only the printers you need.  Installing more"
  134.     "PPDs than you need (ten or more) may slow the performance of"
  135.     "PageMaker's ""Print"" dialog."
  136.     " "
  137.     "The printer files you select work with the Windows Postscript"
  138.     "driver supplied on the PageMaker disk set.  At the end of this"
  139.     "installation, you will be asked to install a printer driver."
  140.     }
  141. }
  142.  
  143. DIALOG AldusGroup "&Continue"
  144. {
  145.     CAPTION "Aldus Group"
  146.     TEXT
  147.     {
  148.     "The Aldus Setup program has created the Aldus"
  149.     "group window."
  150.     " "
  151.     "Aldus PageMaker 5.0, Table Editor, Dictionary Editor and"
  152.     "Learning PageMaker 5.0 have been added to the Aldus Group."
  153.     "To start any one of these applications double-click on the"
  154.     "program icon."
  155.     }
  156. }
  157.  
  158. DIALOG MoreInfo "&OK"
  159. {
  160.     CAPTION "Installer Diagnostics"
  161.     TEXT
  162.     {
  163.     " "
  164.     "You may now exit this program or choose to read the Aldus"
  165.     "PageMaker 5.0 READTHIS.TXT file, which has been added to the" 
  166.     "View menu.  You may also choose to examine other information"
  167.     "provided from the Diagnostics or View menus in Aldus Setup."
  168.     " "
  169.     "Thank you for purchasing Aldus PageMaker 5.0. Your installation"
  170.     "is complete.  Please fill out and send in your registration card."
  171.     }
  172. }
  173.  
  174. DIALOG SucRead "&OK"
  175. {
  176.     CAPTION "Setup complete"
  177.     TEXT
  178.     {
  179.     "All items you selected have been"
  180.     "successfully installed."
  181.     }
  182. }
  183.  
  184. DIALOG SucNoRead "&OK"
  185. {
  186.     CAPTION "Setup complete"
  187.     TEXT
  188.     {
  189.     "All items you selected have been successfully installed."
  190.     " "
  191.     "You may now exit this program or choose to examine the"
  192.     "information provided from the Diagnostics or View menu"
  193.     "in Aldus Setup."
  194.     }
  195. }
  196.  
  197.  
  198. /*********** INITIALIZATION END *************/
  199.  
  200.  
  201. /*****   PACKAGE DEFINITION SECTION *********/
  202.  
  203.  
  204. PACKAGE PROLOGUE "" SELECTED INVISIBLE
  205. {
  206. /***** Global Variable Declarations & System Min. Config Checks *****/
  207. GETALDDIR AldDir AldusLocation
  208. /*>*/
  209. GETBOOTDRIVE BootDrive
  210. SET ExeInstalled "FALSE"
  211. SET PrinterDrivers "FALSE"
  212. SET Serialize "FALSE"
  213. GETWINDIR WinDir
  214. GETWINSYSDIR WinSysDir
  215.  
  216. CONCAT BootDrive "CONFIG.SYS" ConfigFullName
  217.  
  218. GETSYSVARVALUE ConfigFullName "BUFFERS" BufferAmount
  219. IF BufferAmount LT 20 
  220.     {
  221.     DISPLAY BuffersWarning BufferResponse
  222.     IF  BufferResponse EQS "&Exit" 
  223.         {
  224.         EXIT
  225.         }
  226.     }
  227.  
  228. DISPLAY LicWarn
  229.  
  230. }   /** End PROLOGUE **/
  231.  
  232.  
  233. PACKAGE PageMaker "Install PageMaker 5.0" SELECTED
  234.     {
  235.     SET Serialize "TRUE"
  236.  
  237.     CONCAT AldDir "UKENGLSH" EngDir
  238.         CONCAT EngDir "ADDITION" UserAADDitionDir
  239.  
  240.     CONCAT NetAldusDir "UKENGLSH" NetEngDir
  241.         CONCAT NetEngDir "PPD4" APPD4Dir
  242.         CONCAT NetEngDir "PM5USER" UserDir
  243.         CONCAT NetEngDir "FILTERS" AFiltDir
  244.         CONCAT NetEngDir "COLOUR" AColorDir
  245.         CONCAT NetEngDir "ADDITION" AADDitionDir
  246.                CONCAT AADDitionDir "TEMPLATE" TemplateDir
  247.         CONCAT NetEngDir "UTILITY" AUtilDir
  248.  
  249.     CONCAT NetAldusDir "PM5" PM5Dir
  250.         CONCAT PM5Dir "LEARNPM5" LearnDir
  251.         CONCAT PM5Dir "TUTORIAL" TutRootDir
  252.             CONCAT TutRootDir "EXPLORE" TutExpDir
  253.             CONCAT TutRootDir "LESSON1" TutLess1Dir
  254.             CONCAT TutRootDir "LESSON2" TutLess2Dir
  255.  
  256.     DISPLAY KeyboardSelect KeyChoice
  257.  
  258.     /**** File Subdirectory Assignments *****/
  259.  
  260.     FILES WinDir
  261.         {
  262.         ALDLEARN.DLL
  263.         PKWTUTOR.INI
  264.         PXENGWIN.DLL
  265.         PCDLIB.DLL
  266.         PCDIMP.HLP
  267.         TWAIN.DLL
  268.         PANOSE.DAT
  269.         CHREXPC.TBL
  270.         CHRIMPC.TBL
  271.         }
  272.  
  273.     IF KeyChoice EQS "&UK"
  274.         {
  275.         FILES EngDir
  276.             {
  277.             PM5RES.RS~
  278.             }
  279.         }
  280.     IF KeyChoice EQS "U&S"
  281.         {
  282.         FILES EngDir
  283.             {
  284.             "PM5RES.AU~\PM5RES.RSL"
  285.             }
  286.         }
  287.  
  288.     FILES UserAADDitionDir
  289.         {
  290.         DINGWIN.CHA
  291.         EXPWIN.CHA
  292.         KERNWIN.CHA
  293.         }
  294.  
  295.     SELECT2 LANGUAGES "Select Dictionaries" AldDir NOSELECTALL
  296.     {
  297.     TEXT
  298.         {
  299.         "You can install only one dictionary type per language."
  300.         }
  301.     ITEMS MIN 1
  302.         {
  303.         ALDUKN.BP~+ALDUKN.UD~+"ALDUKN00.NF~\ALDUKN.NFO"+ALDUKN00.VP~ "UK English Standard" "UKENGLSH" "6",
  304.         ALDUKN.BP~+ALDUKN.UD~+"ALDUKN01.NF~\ALDUKN.NFO"+ALDUKN01.VP~ "UK English Legal" "UKENGLSH" "6",
  305.         ALDUKN.BP~+ALDUKN.UD~+"ALDUKN02.NF~\ALDUKN.NFO"+ALDUKN02.VP~ "UK English Medical" "UKENGLSH" "6",
  306.         ALDUSN.BP~+ALDUSN.MS~+ALDUSN.UD~+ALDUSN.NF~+ALDUSN00.VP~ "US English Standard" "USENGLSH" "1"
  307.         }
  308.     HELP
  309.         {
  310.         "Select the dictionaries you want to install."
  311.         "You can only install one of the dictionaries in the list."
  312.         "Both the Medical and Legal dictionaries contain the base"
  313.         "UK English dictionary."
  314.         "Clicking the Cancel button will bring you back to the"
  315.         "Main Window and allow you to begin the installation again."
  316.         }
  317.     }
  318.  
  319.     /**** INI Initializations ****/
  320.  
  321.     CONCAT PM5Dir "pm5.exe ^.pt5" PT5_ExtText
  322.     CONCAT PM5Dir "pm5.exe ^.pm5" PM5_ExtText
  323.     CONCAT PM5Dir "te.exe ^.tbl"  TE_ExtText
  324.  
  325.  
  326.     /**** INI Settings ****/
  327.  
  328.     ALDUSINI
  329.         {
  330.         "ATG" "Templates" TemplateDir,
  331.         "Bullets" "Bullet1" "149,12,18,Times New Roman",
  332.         "Bullets" "Bullet2" "110,12,18,Wingdings",
  333.         "Bullets" "Bullet3" "111,12,18,Wingdings",
  334.         "Bullets" "Bullet4" "168,12,2,Symbol",
  335.         "Bullets" "Bullet5" "214,12,18,Symbol",
  336.         "PageMaker5" "Maximise" "1",          
  337.         "PageMaker5" "AltTextWrap" "0",          
  338.         "PageMaker5" "ListVectors" "0",
  339.         "PageMaker5" "SlideTimer" "2",
  340.         "PageMaker5" "Colour" "1",
  341.         "PageMaker5" "RGBShade" "1",
  342.         "PageMaker5" "ColourBitmaps" "1",
  343.         "PageMaker5" "StyleBar" "1",
  344.         "PageMaker5" "DisplayMarks" "0",
  345.         "PageMaker5" "LearnPM5" LearnDir
  346.         } 
  347.  
  348.     WININI
  349.         {
  350.         "Aldus" "AldusDirectory" AldDir,
  351.         "Aldus" "NetAldusDirectory" NetAldusDir,
  352.         "Aldus" "PPD4" APPD4Dir,
  353.         "Aldus"    "PM5AppDir" PM5Dir,
  354.         "Aldus"    "PM5LangDir" "UKENGLSH",
  355.         "Extensions" "pt5" PT5_ExtText,
  356.         "Extensions" "pm5" PM5_ExtText,
  357.         "Extensions" "tbl" TE_ExtText,
  358.         "Extensions" "HLP" "WINHELP.EXE ^.hlp"
  359.         }
  360.  
  361.     /*** Oninstall initializations ***/
  362.  
  363.     SET ExeInstalled "TRUE"
  364.     SET PrinterDrivers "TRUE"
  365.     CONCAT PM5Dir "PM5.exe" FullPMName
  366.     CONCAT PM5Dir "te.exe" TableEditorName            
  367.     CONCAT PM5Dir "README.WRI" ReadMeName            
  368.     CONCAT PM5Dir "READTHIS.TXT" ReadThisName            
  369.     CONCAT WinDir "NOTEPAD.EXE" NoteIconName            
  370.     CONCAT AutilDir "de.exe" DictEdName            
  371.     CONCAT LearnDir "learnpm5.hlp" LearnTutorName
  372.     CONCAT LearnDir "learnpm5.ico" LearnIconName
  373.  
  374.     /**** Oninstall Commands ******/
  375.  
  376.     ONINSTALL
  377.         {
  378.         PERSONALIZE EngDir "PM5RES.RSL"
  379.         
  380.         DELETEPROGRAMITEM "Aldus" "Aldus PageMaker 5.0"
  381.         DELETEPROGRAMITEM "Aldus" "Table Editor 2.1"
  382.         DELETEPROGRAMITEM "Aldus" "Learning PageMaker 5.0"
  383.         DELETEPROGRAMITEM "Aldus" "Dictionary Editor 1.0"
  384.         DELETEPROGRAMITEM "Aldus" "PageMaker 5.0 ReadMe"
  385.         DELETEPROGRAMITEM "Aldus" "PageMaker 5.0 Install Notes"
  386.   
  387.  
  388.         ADDPROGRAMITEM "Aldus" FullPMName "Aldus PageMaker 5.0" FullPMName 0
  389.         ADDPROGRAMITEM "Aldus" TableEditorName "Table Editor 2.1" TableEditorName 0  
  390.         ADDPROGRAMITEM "Aldus" LearnTutorName "Learning PageMaker 5.0" LearnIconName 0    
  391.         ADDPROGRAMITEM "Aldus" DictEdName "Dictionary Editor 1.0" DictEdName 0    
  392.         ADDPROGRAMITEM "Aldus" ReadMeName "PageMaker 5.0 ReadMe" NoteIconName 0    
  393.         ADDPROGRAMITEM "Aldus" ReadThisName "PageMaker 5.0 Install Notes" NoteIconName 0    
  394.  
  395.         DISPLAY AldusGroup
  396.  
  397.         WINDOWSMENU PM5Dir "READTHIS.TXT" "&READTHIS.TXT" 
  398.  
  399.  
  400.  
  401.         }    /** End Oninstall **/
  402.  
  403.     }    /***** END End UserInstall *****/
  404.  
  405.  
  406. PACKAGE LastPREinstall "" SELECTED INVISIBLE
  407.     {
  408.     IF Serialize EQS "TRUE"
  409.         {
  410.             GETPERSONAL
  411.         }
  412.     }
  413.  
  414. PACKAGE LastOninstalls "" SELECTED INVISIBLE
  415.     {
  416.  
  417.     /***  Stuff to be done after all other ONINSTALL's are completed ***/
  418.  
  419.     CONCAT WinDir "CONTROL.EXE" WinCtl    
  420.     CONCAT WinDir "CONTROL.EXE" WinCtl    
  421.     CONCAT TempDir "NETPM5.CTL" TempCtlFile
  422.  
  423.     ONINSTALL
  424.         {
  425.         DELETE TempCtlFile        
  426.  
  427.         IF ExeInstalled EQS "FALSE"
  428.             {
  429.                 DISPLAY SucNoRead
  430.             }
  431.  
  432.         IF ExeInstalled EQS "TRUE"
  433.             {
  434.             CONCAT PM5Dir "PM5.EXE %1" FullOpenName
  435.             CONCAT PM5Dir "PM5.EXE /p %1" FullPrintName
  436.  
  437.             ADDOLEREGKEY "OLE_ROOT" "PageMaker5\shell\open\command"
  438.             ADDOLEREGKEY "OLE_ROOT" "PageMaker5\shell\print\command"
  439.  
  440.             SETOLEREGVALUE "PageMaker5" "PageMaker 5.0 Publication"
  441.             SETOLEREGVALUE "PageMaker5\shell\open\command" FullOpenName
  442.             SETOLEREGVALUE "PageMaker5\shell\print\command" FullPrintName
  443.  
  444.             ADDOLEREGKEY "OLE_ROOT" ".pm5"
  445.             SETOLEREGVALUE ".pm5" "PageMaker5"
  446.             
  447.             ADDOLEREGKEY "OLE_ROOT" ".pt5"
  448.             SETOLEREGVALUE ".pt5" "PageMaker5"
  449.             }
  450.  
  451.         IF PrinterDrivers EQS "TRUE"
  452.             {
  453.             DISPLAY PrintInfo    
  454.             LAUNCH WinCtl "Printers"    
  455.             DISPLAY SucRead 
  456.             }
  457.  
  458.         IF ExeInstalled EQS "TRUE"
  459.             {
  460.             DISPLAY MoreInfo
  461.             }
  462.  
  463.         }  /**** End Oninstall ****/
  464.  
  465.     }  /***** End LastOninstalls ****/
  466.  
  467.  
  468.  
  469.  
  470. /****
  471.     Use EPILOGUE only for options which should be run when the
  472.     user clicks the EXIT button from ALDSETUP
  473.  
  474. PACKAGE EPILOGUE "" UNSELECTED INVISIBLE
  475.     {
  476.         DISPLAY RebootReminder
  477.  
  478.     }
  479. ****/
  480.  
  481.