/**[f****************************************************************** * rocky.ctl - PC installer (aldsetup) control file for PageMaker 4.0 * * Copyright (C) 1990 Aldus Corporation. All rights reserved. * Company confidential. * * ABSTRACT: * This is the PC installer (aldsetup) control file for PageMaker 4.0. * * All product-specific text goes in the .CTL file. Nothing in the .RC * file should be product-specific. Both the .CTL and the .RC files * must be localized. * * When localizing, only text in "double quotes" need be translated. * (Although, if the names of files on the distribution diskettes have * been changed, they'll have to be changed in this control file too.) * * $Revision: 1.20 $ * $Date: 13 Nov 1990 16:03:36 $ **f]*****************************************************************/ /* The PRODUCT command is required. */ PRODUCT "PageMaker 4.0 demo" VERSIONREQ "1.02" /* minimum installer version required */ /* There is one DISK statement for each distribution disk. It gives * the name by which the user will be asked for the disk, and a list * of the files on the disk. In addition to the file names, the list * of files contains the sizes of the files (uncompressed, in bytes) * and the subdirectories in which the files can be found. If the * file is in the root, the subdirectory can be left off. The options * CHECKDATE or NOREPLACE can be specified after the subdirectory. Lines * are separated by commas. * * This part of the control file will be created automatically by the * Disk Builder Utility. */ DISK "PM Disk 1" { (C)ALDUS.'91 62, LETTER.TX~ 8231 "TUTORIAL", PRES.TI~ 28798 "TUTORIAL", PROPOSAL.PM~ 332992 "TUTORIAL", TABLE2.WM~ 8558 "TUTORIAL", SALES.WM~ 47904 "TUTORIAL", LAMP2.TI~ 33668 "TUTORIAL", LAMPC.TI~ 529960 "TUTORIAL", SIG.TI~ 7562 "TUTORIAL", SUMMARY.TX~ 2289 "TUTORIAL", TABLEX.WM~ 8558 "NEWFILES", KERNTRAK.BI~ 2336 "ALDUS", WMFDEMO.FL~ 3296 "ALDUS\FILTERS" CHECKDATE, EXPDEMO.FL~ 2912 "ALDUS\FILTERS" CHECKDATE, IMPDEMO.FL~ 7808 "ALDUS\FILTERS" CHECKDATE, RTFDEMO.FL~ 37648 "ALDUS\FILTERS" CHECKDATE, 123DEMO.FL~ 72576 "ALDUS\FILTERS" CHECKDATE, README.TXT 14082, aldsetup.exe 169280 CHECKDATE, aldsetrs.rsl 29696 CHECKDATE, pm4720.ctl 8245 } DISK "PM DISK 2" { (C)ALDUS.'91 62, PMPART1.72~ 983040 } DISK "PM DISK 3" { (C)ALDUS.'91 62, pm4DEMO.hl~ 298493, DEMOWPLS.DL~ 147360 CHECKDATE, DEMOFS.DL~ 64876 CHECKDATE, DEMOIM.DL~ 140816 CHECKDATE, DEMOVM.DL~ 58036 CHECKDATE, DEMOFNTB.FO~ 125952, DEMOFNTE.FO~ 280576, DEMOFNTF.FO~ 295936 } DISK "PM DISK 4" { (C)ALDUS.'91 62, PMPART2.72~ 355456, DEMPMRES.RS~ 251904, DEMFSRES.RS~ 4176, DEMVMRES.RS~ 5824, DEMIMRES.RS~ 4080, DEMWPLSR.RS~ 9232, DEMOFNTA.FO~ 23552, DEMUSN.BP~ 35710 "ALDUS\USENGLSH" CHECKDATE, DEMUSN.NF~ 53 "ALDUS\USENGLSH" NOREPLACE, DEMUSN.UD~ 1024 "ALDUS\USENGLSH" NOREPLACE, DEMUSN99.VP~ 269312 "ALDUS\USENGLSH" CHECKDATE } PACKAGE PROLOGUE "" SELECTED INVISIBLE { /* Initialize the var MustReboot. It is later set to TRUE if the user * chooses to have the installer modify his or her system files */ SET MustReboot "FALSE" SET ReadmeMenu "FALSE" /* Set to TRUE when menu item added */ GETALDDIR PM4DemoDir } /* The quoted strings on the DIALOG command line the labels for one or * two dialog buttons. */ DIALOG ChangeSystem "&Yes" "&No" { CAPTION "Modify your system files?" TEXT { "For PageMaker to be optimally installed, Setup" "needs to include references to your \PM4DEMO" "\directories in the PATH statement of your" "AUTOEXEC.BAT file. Setup can modify this file now," "or you can modify it yourself after installation." "" "Do you want Setup to modify your AUTOEXEC.BAT?" } } PACKAGE PAGEMAKER "PageMaker Working Model" SELECTED VISIBLE { /* Install US Demo English dictionaries */ CONCAT PM4DemoDir "DEMO" USEngDemoDir WININI { "PM4DEMO" "DemoLangDir" "DEMO" } FILES PM4DemoDir { DEMOFNTA.FO~ DEMOFNTB.FO~ DEMOFNTE.FO~ DEMOFNTF.FO~ DEMOFS.DL~ DEMOIM.DL~ DEMOVM.DL~ DEMOWPLS.DL~ } FILES USEngDemoDir { DEMUSN.BP~ DEMUSN.NF~ DEMUSN.UD~ DEMUSN99.VP~ PM4DEMO.HL~ DEMPMRES.RS~ DEMFSRES.RS~ DEMVMRES.RS~ DEMIMRES.RS~ DEMWPLSR.RS~ } CONCAT USEngDemoDir "FILTERS" FiltDir FILES FiltDir { IMPDEMO.FL~ RTFDEMO.FL~ WMFDEMO.FL~ 123DEMO.FL~ EXPDEMO.FL~ } /* SETUP directory is removed in the Working Model and Student PageMaker */ /* CONCAT USEngDemoDir "SETUP" SetupDir FILES SetupDir { ALDSETUP.EXE ALDSETRS.RSL PM4720.CTL } */ CONCAT PM4DemoDir "pm4demo.exe" FullAppName ONINSTALL { ADDPROGRAMITEM "Aldus Working Model" FullAppName "Demo PageMaker 4.0" FullAppName 0 } CONFIRMDIR PM4DemoDir /* Use a FILES statement or a SELECTx statement to tell the installer * what files to copy for this package. If the FILES statement is * used, all the listed files will be copied during the installation. * If SELECTx is used, only files selected by the user will be copied. */ FILES PM4DemoDir { README.TXT KERNTRAK.BI~ PMPART1.72~ PMPART2.72~ } /* pagemaker code handles this, so don't do it here */ /* WININI { "Extensions" "pmd" "pm4.exe ^.pmd", "Extensions" "ptd" "pm4.exe ^.ptd" } */ /* Add the following commands to the special ONINSTALL package to be */ ONINSTALL { ASSEMBLE "PM4DEMO.EXE" { PMPART1.72~ PMPART2.72~ } } /* Ask the user if they want their system files checked and * updated if necessary. Record their answer in the variable * Answer. */ DISPLAY ChangeSystem Answer IF Answer EQS "&Yes" { GETBOOTDRIVE BootDrive ONINSTALL { SET MustReboot "TRUE" MODIFY "AUTOEXEC.BAT" BootDrive { PATH "path" PM4DemoDir ADDSET "temp" PM4DemoDir } } } /* Add the README menu item to the VIEW menu */ ONINSTALL { if ReadmeMenu EQS "FALSE" { WINDOWSMENU PM4DemoDir "README.TXT" "&README.TXT" SET ReadmeMenu "TRUE" } } } /* end of PageMaker pkg */ DIALOG Successful "OK" { TEXT { "Installation complete." "Exit Windows and reboot." } } PACKAGE Last "" SELECTED INVISIBLE { ONINSTALL { DISPLAY Successful } } DIALOG RebootReminder "Continue" { TEXT { "Your AUTOEXEC.BAT file has been changed. Please" "restart your computer so that these changes can" "take effect." } } PACKAGE EPILOGUE "" UNSELECTED INVISIBLE { IF MustReboot EQS "TRUE" { DISPLAY RebootReminder } } PACKAGE Tutorial "Tutorial" SELECTED INVISIBLE { CONFIRMDIR PM4DemoDir FILES PM4DemoDir { LETTER.TX~ PRES.TI~ PROPOSAL.PM~ TABLE2.WM~ SALES.WM~ LAMP2.TI~ LAMPC.TI~ SIG.TI~ SUMMARY.TX~ } CONCAT PM4DemoDir "NEWFILES" NFDir FILES NFDir { TABLEX.WM~ } } /* end of Tutorial pkg */