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