home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / w / w006 / 1.ddi / STFSETUP.INF < prev    next >
Encoding:
INI File  |  1992-03-12  |  37.3 KB  |  1,050 lines

  1. [UI Localizable Vars]
  2. ; name of the ini file. Shouldn't need to be internationalized.
  3. IniFileName = "setup.ini"
  4.  
  5. ; date if the ini file. Used to see whether or not we have run setup before
  6. IniFileDate = "1992-03-12"
  7.  
  8. ; All files which do not explicitly have their dates set in the file lists
  9. ; will use this date.
  10. SHIPDATE = "1992-03-12"
  11.  
  12. ; The the cutom dialog, this is the error when the user presses INSTALL
  13. ; and the NEEDED SPACE is greater than the AVAILIABLE SPACE
  14. NotEnoughRoom = "There is not enough room on your hard disk for all "+
  15.     "the Publisher features you have selected.  Choose OK, and then "+
  16.     "choose Cancel Setup and make more room on your hard disk, or, "+
  17.     "select fewer Publisher features."
  18.  
  19. ; If a Complete install was chosen, this is the message that comes up if
  20. ; there is not enough room for a complete installation.
  21. CantDoComplete = "There is not enough room on your hard disk for a "+
  22.     "complete installation of all the Microsoft Publisher features.  "+
  23.     "Your next option will be to cancel Setup and make more room, "+
  24.     "or choose fewer features."
  25.  
  26. ; Appears in the "Space Required" column if all the files inb the group
  27. ; have been installed before
  28. AlreadyExists = Installed
  29.  
  30. ; Appears to the right of the file group sizes in custom dialog (e.g. 23K)
  31. Ksym = K
  32.  
  33. ; Bad path entered in the path dialog
  34. BadPath = "The location you have chosen to install Publisher in is "+
  35.         "invalid or not allowed.  Please check the drive and/or directory name."
  36.  
  37. ; Two bottom lines in the custom dialog. Do NOT modify the $(DISK_NEEDED)
  38. ; or the $(DISK_EXIST) strings. The are replaced at run time with the
  39. ; proper values
  40. DiskNeededLine = "Space Required: $(DISK_NEEDED)K."
  41. DiskExistLine = "Space Available: $(DISK_EXIST)K."
  42.  
  43. ; Title of Welcome Dialog
  44. WelcomeTitle = "Welcome to Microsoft Publisher."
  45.  
  46. ; Title of setup error messages
  47. ErrorTitle = "Setup Message"
  48.  
  49. ; Help text and title for the cutom dialog. \n's force line feeds
  50. CustomHelpTitle = "Help for Custom Installation"
  51. CustomHelpText = "You can do a complete installation of Microsoft "+
  52.     "Publisher, or a partial one.  The Setup program lists the "+
  53.     "Publisher features you can choose.  Not installing certain "+
  54.     "features will save disk space, but you will lose functionality."+
  55.     "  It is recommended that you do a complete installation of all "+
  56.     "the features.\n\nIf there is not enough room on your hard disk, "+
  57.     "you can do one of two things:\n\nA) Cancel Setup and remove other "+
  58.     "files from your hard disk, and then run Setup again to do a "+
  59.     "complete installation.\n\nB) Select fewer Publisher features by "+
  60.     "clearing the checkbox next to a Publisher feature you don't want."
  61.  
  62. ; Help text and title for the path dialog. \n's force line feeds
  63. PathHelpTitle = "Help for Destination Path"
  64. PathHelpText = "Setup suggests you install Publisher in the "+
  65.     "C:\MSPUB directory.\n\nTo change the location on your hard disk "+
  66.     "where Publisher will be installed, type a drive letter (usually "+
  67.     "C), a colon (:), a backslash (\\), and then the name of the "+
  68.     "directory where you want Publisher installed.  For example, "+
  69.     "type C:\MSPUB.\n\nIf you are unsure what to do, accept the "+
  70.     "suggested location of C:\MSPUB."
  71.  
  72. ; Final dialog text
  73. FinishedText = "When you run Publisher you can choose to see an "+
  74.     "introduction to Publisher, or you can go directly to work with "+
  75.     "the product.\n\nChoose Return to Windows to return to Windows.  "+
  76.     "Choose Run Publisher to start using Publisher now."
  77.  
  78. ; Message which comes up if we don't detect any hard disks on their system
  79. ; (so we cannot give a default path).
  80. HardDiskNotFound = "Cannot locate your hard disk.  Please choose the\n"+
  81.                 "OK button and then type the location, or cancel\n"+
  82.                 "Setup and check your computer's configuration."
  83.  
  84. ; What we set the default path string to in the previous case
  85. UNKNOWNPATH = "?"
  86.  
  87. ; Text of the path dialog
  88. DestinationText = "Setup installs files on your hard disk.  Choose the "+
  89.     "location where you want to install the Microsoft Publisher "+
  90.     "files.\n\nTo change the suggested location, press the BACKSPACE "+
  91.     "key to delete characters, and then type the drive and directory "+
  92.     "where you want Publisher installed."
  93.  
  94. ; Cancel Setup dialog text
  95. ExitText = "Microsoft Publisher may not be properly installed.  "+
  96.     "If you quit Setup now, you may have to run Setup again.\n\n"+
  97.     "Are you sure you want to cancel?  Choose Cancel Setup to cancel "+
  98.     "Setup, or choose Resume to return to the previous installation "+
  99.     "option."
  100.  
  101. ; Option dialog (Full or Custom) text
  102. CompleteText = "For a complete installation of Microsoft Publisher "+
  103.     "choose the Complete Installation button.  Setup will "+
  104.     "install Publisher to the location $(DESTPATH).  This is the "+
  105.     "preferred installation, and is easiest to do.\n\nIf you want "+
  106.     "to specify where Publisher should be installed, or you only want "+
  107.     "to install part of Publisher in order to save space on your hard "+
  108.     "disk, choose the Custom Installation button instead."
  109.  
  110. ; Text of the spell dialog
  111. SpellText = "Select the speller language you wish to use from the list "+
  112.     "below, and then choose Continue."
  113.  
  114. ; Text of the dialog appearing while files are being copied
  115. DuringInstallText="Now would be a great time to fill out your "+
  116.     "registration card.  When you send it in, Microsoft will:\n\n"+
  117.     "  - Inform you of product updates.\n  - Offer you customer "+
  118.     "support.\n  - Provide you information about\n    related "+
  119.     "Microsoft products."
  120.  
  121. ; Message if the destination path is on a different path than the windows path
  122. DifferentDrives = "Setup needs to install some files to your Windows "+
  123.     "directory, and Setup has detected that this location is on a "+
  124.     "different hard disk than the one you chose to install Publisher "+
  125.     "on.\n\nThe next Setup option will show you the space required "+
  126.     "on each of these hard drives."
  127.  
  128. ; Default destination path for setup (drive letter is replaced with proper
  129. ; one
  130. DESTPATH = "C:\MSPUB"
  131.  
  132. ; Message when tries to install NOTHING
  133. NoOptionsChecked = "You must check at least one option."
  134.  
  135. ; Install failed because it either couldn't find files or couldn't write
  136. ; them to the destination
  137. InstallError1 = "Setup could not complete the installation.  Possibly "+
  138.     "the hard disk was full, there was a disk error in trying to "+
  139.     "update one of the files, or your Microsoft Publisher disks are "+
  140.     "damaged."
  141.  
  142. ; SO little disk space that we couldn't even add to the win.ini
  143. InstallError2 = "Setup could not complete the installation.  Possibly "+
  144.     "the hard disk was full or there was a problem updating the WIN.INI "+
  145.     "file."
  146.  
  147. ; SO little disk space that we couldn't even add to the win.ini or progman
  148. ; Also COULD be because disk error writing the above or to the msworks.exe
  149. InstallError3 = "Setup could not complete the installation.  Possibly "+
  150.     "the hard disk was full, or there was a disk error in trying to "+
  151.     "update one of the files."
  152.  
  153. ; Filename of mspub.exe
  154. MSWorksExe = "mspub.exe"
  155.  
  156. ; Filename of wordart.exe
  157. WordArtExe = "WordArt.exe"
  158. WordArtPath = "\msapps\wordart\"
  159.  
  160. ; Filename of note-it.exe
  161. NoteItExe = "Note-It.exe"
  162. NoteItPath = "\msapps\note-it\"
  163.  
  164. ; File name of the thesaurus DLL
  165. THESAURDLL = "thesaur.dll"
  166.  
  167. ; Default name of custom dictionary
  168. CustomName = "custom.dic"
  169.  
  170. ; Program Manager description of the solution.hlp file
  171. ; and the actual filename
  172. SolutionFileDesc = "Series Info"
  173. SolutionFileExe = "solution.hlp"
  174.  
  175. ; MSPUB.INI table of fixed .INI entries to include.
  176. ; Format of PublishrIniTable:
  177. ;1      EntryHeader, 
  178. ;2      Left Side of =
  179. ;3      Right Side of =
  180. ;4      O for Overwrite, or nothing for no overwrite
  181. ;5      Custom Dialog Dependency (0=none, 1=first checkbox, etc)
  182. MspubIniTable = { +
  183.         {PageWizard, "Newsletter", "mspgnews.wiz,NEW", O, 1}, +
  184.         {PageWizard, "Seven Business Forms", "mspgform.wiz,NEW", O, 1}, +
  185.         {PageWizard, "Three-Fold Brochure", "mspgbchr.wiz,NEW", O, 1}, +
  186.         {PageWizard, "Greeting Card & Invitation", "mspgcard.wiz,NEW", O, 1}, +
  187.         {PageWizard, "Calendar", "mspgcal.wiz,AREA,NEW", O, 1}, +
  188.         {PageWizard, "Note-It", "mspgnote.wiz,AREA", O, 1}, +
  189.         {PageWizard, "Coupon", "mspgcoup.wiz,AREA", O, 1}, +
  190.         {PageWizard, "Table", "mspgtabl.wiz,AREA", O, 1}, +
  191.         {PageWizard, "Ad", "mspgad.wiz,AREA", O, 1}, +
  192.         {PageWizard, "Newsletter Banner", "mspgmast.wiz,AREA", O, 1}, +
  193.         {PageWizard, "Fancy First Letter", "mspgcap.wiz,AREA", O, 1}, +
  194.         {PageWizard, "Paper Aeroplane", "mspgaero.wiz,AREA,NEW", O, 1}, +
  195.         {"Spelling Info", "Speller", "$(SpellerName)", O, 3}, +
  196.         {"Spelling Info", "Custom", "Custom Dict 1", O, 3}, +
  197.         {"Hyphenation", "Dictionary", "$(DESTPATH)\hyph.dat", O, 3},+
  198.         {"MS Text Converters","WordStar 3.3", "WordStar 3.3,$(DESTPATH)\wordstar.cnv,doc", O, 4}, +
  199.         {"MS Text Converters","WordStar 3.45", "WordStar 3.45,$(DESTPATH)\wordstar.cnv,doc", O, 4}, +
  200.         {"MS Text Converters","WordStar 4.0", "WordStar 4.0,$(DESTPATH)\wordstar.cnv,doc", O, 4}, +
  201.         {"MS Text Converters","WordStar 5.0", "WordStar 5.0,$(DESTPATH)\wordstar.cnv,doc", O, 4}+
  202.         }
  203.  
  204. ; WIN.INI table of fixed .INI entries to include.
  205. ; Format of WinIniTable:
  206. ;1      EntryHeader, 
  207. ;2      Left Side of =
  208. ;3      Right Side of =
  209. ;4      O for Overwrite, or nothing for no overwrite
  210. ;5      Custom Dialog Dependency (0=none, 1=first checkbox, etc)
  211. WinIniTable = { +
  212.         {Extensions, pub, "$(DESTPATH)\"$(MSWorksExe)" ^.pub", O, 1}, +
  213.         {OLE, nomessagebox, "yes", " ", 1}+
  214.         }
  215.  
  216. ; Name of the progman group we create for EBU apps
  217. ProgManGroup = "Microsoft SolutionSeries"
  218.  
  219. ;  Title of Works in the progman group
  220. MSWorks = "Microsoft Publisher"
  221.  
  222. ; Setup title
  223. Setup_Title = "Microsoft Publisher Setup"
  224.  
  225. ; Do we want to use the speller list in this localization?
  226. fDoSpellerList = "NO"
  227.  
  228. ; Default speller in the speller list (or speller to use if no list)
  229. SPELLER = "American"
  230. DEFSPELLER = "American"
  231.  
  232. ; Biggest speller/thesaurus in the speller list  (IMPORTANT!!)
  233. BIGSPELLER = "American"
  234.  
  235. BadWindowPath = "Invalid Windows path in your AUTOEXEC.BAT file. "+
  236.         "It must contain a drive letter."
  237.  
  238. ; Names of the spellers in the speller list
  239. SPELLER-LIST =  { "American", "French"}
  240. ; Format of SpellerTable
  241. ;1      Language (must match name in SPELLER_LIST), 
  242. ;2      speller lex
  243. ;3      thesaurus lex
  244. ;4      speller name to be inserted in the shared apps entry
  245. SpellerTable = { +
  246.         {American, mssp_am.lex, thesaur.lex, "Spelling 1033,0"}, +
  247.         {French, mssp_fr.lex, thesaur.lex, "Spelling 123,0"}, +
  248.         }
  249.  
  250. ; Format of SHAREDIRFILES ('*intl*' means it needs to internationalized):
  251. ;1      KEYNAME *intl*, 
  252. ;2      SECTIONAME,  
  253. ;3      VALUE (what the key should equal), 
  254. ;4      IVALUE1 (where the first path is in the value), 
  255. ;5      VARPATHFILE1 (variable to contain first path\file), 
  256. ;6      FILE1 (name of the first files) *intl*, 
  257. ;7      RELATIVEPATH1 (from c:\windows\msapps\"),
  258. ;8      IVALUE2 (where the first path is in the value), 
  259. ;9      VARPATHFILE2 (variable to contain first path\file), 
  260. ;10     FILE2 (name of the first files) *intl*, 
  261. ;11     RELATIVEPATH2 (from c:\windows\msapps\"),
  262. ;12 IGROUP (which group it is dependent on to be conditionally installed)
  263. SHAREDDIRFILES = { +
  264.     {"$(SpellerName)", "MS Proofing Tools", +
  265.         "$(File1),$(File2)", +
  266.         "1", "SH_SP110D", "msspell.dll", "proof",+
  267.         "2", "SH_SP110L", "mssp_am.lex", "proof",+
  268.         "3"}, +
  269.     {"MSPub", "MS Text Converters", +
  270.         "Windows Publisher,$(File1),pub", +
  271.         "2", "SH_CPUB", "mswinpub.cnv", "textconv",+
  272.         "0", "", "","textconv",+
  273.         "4"},  +
  274.     {"MSWordDos", "MS Text Converters", +
  275.         "Word for DOS,$(File1),doc", +
  276.         "2", "SH_CWORD", "worddos.cnv", "textconv",+
  277.         "0", "", "","textconv",+
  278.         "4"},  +
  279.     {"MSWorksDos", "MS Text Converters", +
  280.         "MS Works,$(File1),wps", +
  281.         "2", "SH_CWRKSDOS", "wrksdos.cnv", "textconv",+
  282.         "0", "", "","textconv",+
  283.         "4"},  +
  284.     {"MSWorksWin", "MS Text Converters", +
  285.         "Works for Windows 2.0,$(File1),wps", +
  286.         "2", "SH_CWRKSWIN", "wrkswin.cnv", "textconv",+
  287.         "0", "", "","textconv",+
  288.         "4"},  +
  289.     {"WrdPrfctDOS50", "MS Text Converters", +
  290.         "WordPerfect 5.0,$(File1),*", +
  291.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  292.         "0", "", "","textconv",+
  293.         "4"},  +
  294.     {"WrdPrfctDOS", "MS Text Converters", +
  295.         "WordPerfect 5.1,$(File1),*", +
  296.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  297.         "0", "", "","textconv",+
  298.         "4"},  +
  299.     {"MSWordWin", "MS Text Converters", +
  300.         "Word for Windows 1.x,$(File1),doc", +
  301.         "2", "SH_CWW1", "wordwin1.cnv", "textconv",+
  302.         "0", "", "","textconv",+
  303.         "4"},  +
  304.     {"WordWin2", "MS Text Converters", +
  305.         "Word for Windows 2.x,$(File1),doc", +
  306.         "2", "SH_CWW2", "wordwin2.cnv", "textconv",+
  307.         "0", "", "","textconv",+
  308.         "4"},  +
  309.     {"Windows Write", "MS Text Converters", +
  310.         "Windows Write,$(File1),wri", +
  311.         "2", "SH_CWRITE", "writwin.cnv", "textconv",+
  312.         "0", "", "","textconv",+
  313.         "4"},  +
  314.     {"Computer Graphics Metafile(.CGM)","MS Graphic Import Filters", +
  315.         "$(File1),CGM", +
  316.         "1","SH_CCGM","cgmimp.flt","grphflt",   +
  317.         "0", "", "","",+
  318.         "4"},  +
  319.     {"Micrografx Designer/Draw(.DRW)","MS Graphic Import Filters", +
  320.         "$(File1),DRW", +
  321.         "1","SH_CDRW","drwimp.flt","grphflt",   +
  322.         "0", "", "","",+
  323.         "4"},  +
  324.     {"Windows Metafile(.WMF)","MS Graphic Import Filters", +
  325.         "$(File1),WMF", +
  326.         "1","SH_CWMF","wmfimp.flt","grphflt", +
  327.         "0", "", "","",+
  328.         "4"},  +
  329.     {"Encapsulated Postscript(.EPS)","MS Graphic Import Filters", +
  330.         "$(File1),EPS", +
  331.         "1","SH_CEPS","epsimp.flt","grphflt",   +
  332.         "0", "", "","",+
  333.         "4"},  +
  334.     {"PC Paintbrush(.PCX)","MS Graphic Import Filters", +
  335.         "$(File1),PCX", +
  336.         "1","SH_CPCX","pcximp.flt","grphflt",   +
  337.         "0", "", "","",+
  338.         "4"},  +
  339.     {"Tagged Image Format(.TIF)","MS Graphic Import Filters", +
  340.         "$(File1),TIF", +
  341.         "1","SH_CTIF","tiffimp.flt","grphflt",  +
  342.         "0", "", "","",+
  343.         "4"}+
  344.     }
  345.  
  346.  
  347.  
  348. ; # = Disk title, a file on the disk, name of directory if on network
  349. [Source Media Descriptions]
  350.     1 = "Setup, Clip Art, Filters and Speller", TAGFILE = setup.exe, +
  351.         NETPATH = "setup\"
  352.     2 = "Program and Converters", TAGFILE = mspub.ex$, +
  353.         NETPATH = "program\"
  354.     3 = "Help, Wizards, Borders and Templates", +
  355.         TAGFILE = mspub1.bd$, NETPATH = "help\"
  356.  
  357. [Program Files]
  358. EXE = 2,mspub.ex$,RENAME=mspub.exe,SIZE=637920, VERSION="1,0,1,0"
  359. 3,commdlg.dl$,RENAME=commdlg.dll,SIZE=79840,DEST=$(SYSTEMPATH)"\",$(COPYCOMMDLG), VERSION="3,10,0,44"
  360. 3,olecli.dl$,RENAME=olecli.dll,SIZE=75264,DEST=$(SYSTEMPATH)"\",$(COPYOLECLI), VERSION="1,3,1,0"
  361. 3,olesvr.dl$,RENAME=olesvr.dll,SIZE=22528,DEST=$(SYSTEMPATH)"\",$(COPYOLESVR), VERSION="1,3,1,0"
  362. 3,shell.dl$,RENAME=shell.dll,SIZE=23008,DEST=$(SYSTEMPATH)"\",$(COPYSHELL)
  363. 3,rulerfnt.fo$,RENAME=rulerfnt.fon,SIZE=5632
  364. 3,smallb.fo$,RENAME=smallb.fon,SIZE=17408
  365. 3,smalle.fo$,RENAME=smalle.fon,SIZE=21504
  366. 3,century.tx$,RENAME=century.txt,SIZE=3718
  367. 3,profile.tx$,RENAME=profile.txt,SIZE=4742
  368. 2,regload.ex$,RENAME=regload.exe,SIZE=21504,DEST=$(WINDOWSPATH)"\"
  369. 3,mspub.re$,RENAME=mspub.reg,SIZE=658,DEST=$(WINDOWSPATH)"\",OVERWRITE=ALWAYS
  370. 3,mspgwiz.dl$,RENAME=mspgwiz.dll,SIZE=115072,DEST=$(WINDOWSPATH)"\"
  371. 2,wordart.ex$,RENAME=wordart.exe,SIZE=37520,DEST=$(WINDOWSPATH)$(WordArtPath), VERSION="1,0,0,10"
  372. 2,fontfx.fn$,RENAME=fontfx.fnt,SIZE=385536,DEST=$(WINDOWSPATH)$(WordArtPath)
  373. 3,fontfx.dl$,RENAME=fontfx.dll,SIZE=42496,DEST=$(WINDOWSPATH)$(WordArtPath), VERSION="1,0,0,10"
  374. 3,mspgcal.wi$,RENAME="PAGEWIZ\mspgcal.wiz",SIZE=67712
  375. 3,mspgform.wi$,RENAME="PAGEWIZ\mspgform.wiz",SIZE=73472
  376. 3,mspgnews.wi$,RENAME="PAGEWIZ\mspgnews.wiz",SIZE=78656
  377. 3,mspgtabl.wi$,RENAME="PAGEWIZ\mspgtabl.wiz",SIZE=23504
  378. 3,mspgnote.wi$,RENAME="PAGEWIZ\mspgnote.wiz",SIZE=45504
  379. 3,mspgcard.wi$,RENAME="PAGEWIZ\mspgcard.wiz",SIZE=69920
  380. 3,mspgbchr.wi$,RENAME="PAGEWIZ\mspgbchr.wiz",SIZE=78432
  381. 3,mspgcoup.wi$,RENAME="PAGEWIZ\mspgcoup.wiz",SIZE=33984
  382. 3,mspgmast.wi$,RENAME="PAGEWIZ\mspgmast.wiz",SIZE=57376
  383. 3,mspgcap.wi$,RENAME="PAGEWIZ\mspgcap.wiz",SIZE=37088
  384. 3,mspgad.wi$,RENAME="PAGEWIZ\mspgad.wiz",SIZE=48848
  385. 3,mspgaero.wi$,RENAME="PAGEWIZ\mspgaero.wiz",SIZE=59184
  386. 3,mspub1.bd$,RENAME="BORDERS\mspub1.bdr",SIZE=52664
  387. 3,mspub2.bd$,RENAME="BORDERS\mspub2.bdr",SIZE=46932
  388. 3,mspub3.bd$,RENAME="BORDERS\mspub3.bdr",SIZE=47972
  389. 2,note-it.ex$,RENAME=note-it.exe,SIZE=52576,DEST=$(WINDOWSPATH)$(NoteItPath), VERSION="1,0,0,10"
  390. 2,solution.hl$,RENAME=solution.hlp,SIZE=24290
  391.  
  392. [Help Files]
  393. 1,readme.tx$,RENAME=readme.txt,SIZE=45294
  394. 3,mspub.hl$,RENAME=mspub.hlp,SIZE=544076
  395. 3,wordart.hl$,RENAME=wordart.hlp,SIZE=74783,DEST=$(WINDOWSPATH)$(WordArtPath)
  396. 3,note-it.hl$,RENAME=note-it.hlp,SIZE=63245,DEST=$(WINDOWSPATH)$(NoteItPath)
  397.  
  398. [Template Files]
  399. ; These are for templates
  400. 3,AVER5260.PU$,RENAME="TEMPLATE\AVER5260.PUB",SIZE=8294
  401. 3,AVER5261.PU$,RENAME="TEMPLATE\AVER5261.PUB",SIZE=5948
  402. 3,AVER5262.PU$,RENAME="TEMPLATE\AVER5262.PUB",SIZE=34452
  403. 3,AVER5263.PU$,RENAME="TEMPLATE\AVER5263.PUB",SIZE=25052
  404. 3,BIZCARD1.PU$,RENAME="TEMPLATE\BIZCARD1.PUB",SIZE=4910
  405. 3,BIZCARD2.PU$,RENAME="TEMPLATE\BIZCARD2.PUB",SIZE=3374
  406. 3,BROCHURE.PU$,RENAME="TEMPLATE\BROCHURE.PUB",SIZE=22812
  407. 3,CATALOG.PU$,RENAME="TEMPLATE\CATALOG.PUB",SIZE=32804
  408. 3,ENVELOP1.PU$,RENAME="TEMPLATE\ENVELOP1.PUB",SIZE=4910
  409. 3,ENVELOP2.PU$,RENAME="TEMPLATE\ENVELOP2.PUB",SIZE=3374
  410. 3,FLYER.PU$,RENAME="TEMPLATE\FLYER.PUB",SIZE=11472
  411. 3,LABEL1.PU$,RENAME="TEMPLATE\LABEL1.PUB",SIZE=4910
  412. 3,LABEL2.PU$,RENAME="TEMPLATE\LABEL2.PUB",SIZE=3374
  413. 3,LTRHEAD1.PU$,RENAME="TEMPLATE\LTRHEAD1.PUB",SIZE=4910
  414. 3,LTRHEAD2.PU$,RENAME="TEMPLATE\LTRHEAD2.PUB",SIZE=3212
  415. 3,MEMO.PU$,RENAME="TEMPLATE\MEMO.PUB",SIZE=4230
  416. 3,MEMOZ.PU$,RENAME="TEMPLATE\MEMOZ.PUB",SIZE=5294
  417. 3,PRICELST.PU$,RENAME="TEMPLATE\PRICELST.PUB",SIZE=25562
  418. 3,PRODINFO.PU$,RENAME="TEMPLATE\PRODINFO.PUB",SIZE=10066
  419. 3,REPORT.PU$,RENAME="TEMPLATE\REPORT.PUB",SIZE=14612
  420. 3,REPORTZ.PU$,RENAME="TEMPLATE\REPORTZ.PUB",SIZE=4748
  421. 3,ROSTER.PU$,RENAME="TEMPLATE\ROSTER.PUB",SIZE=9862
  422. 3,RESUME.PU$,RENAME="TEMPLATE\RESUME.PUB",SIZE=5334
  423. 3,BIZCARDS.PU$,RENAME="TEMPLATE\BIZCARDS.PUB",SIZE=14550
  424.  
  425. [American Spell Files]
  426. 1,msspell.dl$,RENAME=msspell.dll,SIZE=76800,DEST=$(SH_SP110DP), VERSION="1,0,0,0"
  427. 1,mssp_am.le$,RENAME=mssp_am.lex,SIZE=176839,DEST=$(SH_SP110LP)
  428. 3,hyph.da$,RENAME=hyph.dat,SIZE=24072
  429.  
  430. [French Spell Files]
  431. ; 2,msspell.dl$,RENAME=msspell.dll,SIZE=69632,DEST=$(SH_SP110DP)
  432. ; 2,mssp_fr.le$,RENAME=mssp_am.lex,SIZE=177360,DEST=$(SH_SP110LP)
  433.  
  434. [Clipart Files]
  435. ; this is for the clipart files
  436. 1,bank.cg$,SIZE=5558,RENAME="clipart\bank.cgm"
  437. 1,binderc.cg$,SIZE=1252,RENAME="clipart\binderc.cgm"
  438. 1,bubble1.cg$,SIZE=2036,RENAME="clipart\bubble1.cgm"
  439. 1,bubble2.cg$,SIZE=916,RENAME="clipart\bubble2.cgm"
  440. 1,bubble3.cg$,SIZE=1612,RENAME="clipart\bubble3.cgm"
  441. 1,clip.cg$,SIZE=1234,RENAME="clipart\clip.cgm"
  442. 1,hand.cg$,SIZE=1204,RENAME="clipart\hand.cgm"
  443. 1,flwriris.cg$,SIZE=6950,RENAME="clipart\flwriris.cgm"
  444. 1,plant.cg$,SIZE=6718,RENAME="clipart\plant.cgm"
  445. 1,world2.cg$,SIZE=5700,RENAME="clipart\world2.cgm"
  446. 1,binder.cg$,SIZE=1462,RENAME="clipart\binder.cgm"
  447. 1,filecab.cg$,SIZE=1284,RENAME="clipart\filecab.cgm"
  448. 1,bordroom.cg$,SIZE=10568,RENAME="clipart\bordroom.cgm"
  449. 1,femshake.cg$,SIZE=7054,RENAME="clipart\femshake.cgm"
  450. 1,dashing.cg$,SIZE=8604,RENAME="clipart\dashing.cgm"
  451. 1,meeting.cg$,SIZE=9510,RENAME="clipart\meeting.cgm"
  452. 1,bookfem1.cg$,SIZE=7326,RENAME="clipart\bookfem1.cgm"
  453. 1,balloon3.cg$,SIZE=11740,RENAME="clipart\balloon3.cgm"
  454. 1,jet.cg$,SIZE=2800,RENAME="clipart\jet.cgm"
  455. 1,ship.cg$,SIZE=1746,RENAME="clipart\ship.cgm"
  456. 1,takeoff.cg$,SIZE=3032,RENAME="clipart\takeoff.cgm"
  457. 1,train.cg$,SIZE=6318,RENAME="clipart\train.cgm"
  458. 1,parrot.cg$,SIZE=6684,RENAME="clipart\parrot.cgm"
  459. 1,apple.cg$,SIZE=1504,RENAME="clipart\apple.cgm"
  460. 1,sign19.cg$,SIZE=1672,RENAME="clipart\sign19.cgm"
  461. 1,painter.cg$,SIZE=10522,RENAME="clipart\painter.cgm"
  462. 1,mga.cg$,SIZE=10048,RENAME="clipart\mga.cgm"
  463. 1,printer.cg$,SIZE=2158,RENAME="clipart\printer.cgm"
  464. 1,cafe.cg$,SIZE=772,RENAME="clipart\cafe.cgm"
  465. 1,phone.cg$,SIZE=4014,RENAME="clipart\phone.cgm"
  466. 1,35mm.cg$,SIZE=7494,RENAME="clipart\35mm.cgm"
  467. 1,kmc24.cg$,SIZE=5226,RENAME="clipart\kmc24.cgm"
  468. 1,calcu.cg$,SIZE=2630,RENAME="clipart\calcu.cgm"
  469. 1,cash2.cg$,SIZE=3926,RENAME="clipart\cash2.cgm"
  470. 1,radar.cg$,SIZE=2286,RENAME="clipart\radar.cgm"
  471. 1,fax.cg$,SIZE=2314,RENAME="clipart\fax.cgm"
  472. 1,bicycle.cg$,SIZE=5256,RENAME="clipart\bicycle.cgm"
  473. 1,mover.cg$,SIZE=9936,RENAME="clipart\mover.cgm"
  474. 1,junk.cg$,SIZE=3264,RENAME="clipart\junk.cgm"
  475. 1,boat.cg$,SIZE=2370,RENAME="clipart\boat.cgm"
  476. 1,shuttle.cg$,SIZE=6144,RENAME="clipart\shuttle.cgm"
  477. 1,dog.cg$,SIZE=5256,RENAME="clipart\dog.cgm"
  478. 1,cat.cg$,SIZE=8482,RENAME="clipart\cat.cgm"
  479. 1,butfly3.cg$,SIZE=11552,RENAME="clipart\butfly3.cgm"
  480. 1,abovdesk.cg$,SIZE=4426,RENAME="clipart\abovdesk.cgm"
  481. 1,bookman.cg$,SIZE=7378,RENAME="clipart\bookman.cgm"
  482. 1,chef.cg$,SIZE=3236,RENAME="clipart\chef.cgm"
  483. 1,handshke.cg$,SIZE=6080,RENAME="clipart\handshke.cgm"
  484. 1,hand02.cg$,SIZE=4860,RENAME="clipart\hand02.cgm"
  485. 1,onchlift.cg$,SIZE=16244,RENAME="clipart\onchlift.cgm"
  486. 1,pilot.cg$,SIZE=10264,RENAME="clipart\pilot.cgm"
  487. 1,pinoplr2.cg$,SIZE=3006,RENAME="clipart\pinoplr2.cgm"
  488. 1,parents.cg$,SIZE=17306,RENAME="clipart\parents.cgm"
  489. 1,phonefem.cg$,SIZE=5618,RENAME="clipart\phonefem.cgm"
  490. 1,teacher.cg$,SIZE=6208,RENAME="clipart\teacher.cgm"
  491. 1,graduate.cg$,SIZE=1002,RENAME="clipart\graduate.cgm"
  492. 1,scream.cg$,SIZE=5588,RENAME="clipart\scream.cgm"
  493. 1,office1.cg$,SIZE=748,RENAME="clipart\office1.cgm"
  494. 1,money.cg$,SIZE=8300,RENAME="clipart\money.cgm"
  495. 1,095gone.cg$,SIZE=9044,RENAME="clipart\095gone.cgm"
  496. 1,chest.cg$,SIZE=3404,RENAME="clipart\chest.cgm"
  497. 1,globe.cg$,SIZE=2166,RENAME="clipart\globe.cgm"
  498. 1,236marqe.cg$,SIZE=12898,RENAME="clipart\236marqe.cgm"
  499. 1,269cork.cg$,SIZE=6438,RENAME="clipart\269cork.cgm"
  500. 1,tophat.cg$,SIZE=2222,RENAME="clipart\tophat.cgm"
  501. 1,mailbox.cg$,SIZE=1184,RENAME="clipart\mailbox.cgm"
  502. 1,violin.cg$,SIZE=4394,RENAME="clipart\violin.cgm"
  503. 1,santa.cg$,SIZE=11424,RENAME="clipart\santa.cgm"
  504. 1,251bear.cg$,SIZE=4864,RENAME="clipart\251bear.cgm"
  505. 1,sled.cg$,SIZE=6096,RENAME="clipart\sled.cgm"
  506. 1,250xmas.cg$,SIZE=5076,RENAME="clipart\250xmas.cgm"
  507. 1,baby.cg$,SIZE=5324,RENAME="clipart\baby.cgm"
  508. 1,319winnr.cg$,SIZE=8288,RENAME="clipart\319winnr.cgm"
  509. 1,golfer.cg$,SIZE=9370,RENAME="clipart\golfer.cgm"
  510. 1,symb007.cg$,SIZE=2174,RENAME="clipart\symb007.cgm"
  511. 1,male.cg$,SIZE=1086,RENAME="clipart\male.cgm"
  512. 1,female.cg$,SIZE=1338,RENAME="clipart\female.cgm"
  513. 1,chekmrk.cg$,SIZE=374,RENAME="clipart\chekmrk.cgm"
  514. 1,symb089.cg$,SIZE=406,RENAME="clipart\symb089.cgm"
  515. 1,banner1.cg$,SIZE=362,RENAME="clipart\banner1.cgm"
  516. 1,symb056.cg$,SIZE=3588,RENAME="clipart\symb056.cgm"
  517. 1,bubble4.cg$,SIZE=718,RENAME="clipart\bubble4.cgm"
  518. 1,symb073.cg$,SIZE=794,RENAME="clipart\symb073.cgm"
  519. 1,bomb.cg$,SIZE=1016,RENAME="clipart\bomb.cgm"
  520. 1,disk1.cg$,SIZE=846,RENAME="clipart\disk1.cgm"
  521. 1,disk2.cg$,SIZE=1268,RENAME="clipart\disk2.cgm"
  522. 1,coins.cg$,SIZE=8070,RENAME="clipart\coins.cgm"
  523. 1,piano.cg$,SIZE=726,RENAME="clipart\piano.cgm"
  524. 1,symb565.cg$,SIZE=1162,RENAME="clipart\symb565.cgm"
  525. 1,sun.cg$,SIZE=1120,RENAME="clipart\sun.cgm"
  526. 1,cloud.cg$,SIZE=1330,RENAME="clipart\cloud.cgm"
  527. 1,rain.cg$,SIZE=2428,RENAME="clipart\rain.cgm"
  528. 1,litning.cg$,SIZE=314,RENAME="clipart\litning.cgm"
  529. 1,banner2.cg$,SIZE=742,RENAME="clipart\banner2.cgm"
  530. 1,bubble5.cg$,SIZE=526,RENAME="clipart\bubble5.cgm"
  531. 1,seal.cg$,SIZE=846,RENAME="clipart\seal.cgm"
  532. 1,cake.cg$,SIZE=5750,RENAME="clipart\cake.cgm"
  533. 1,batter.cg$,SIZE=962,RENAME="clipart\batter.cgm"
  534. 1,cow.cg$,SIZE=1650,RENAME="clipart\cow.cgm"
  535. 1,deskman.cg$,SIZE=4260,RENAME="clipart\deskman.cgm"
  536. 1,einstein.cg$,SIZE=5320,RENAME="clipart\einstein.cgm"
  537. 1,frog.cg$,SIZE=6122,RENAME="clipart\frog.cgm"
  538. 1,horse.cg$,SIZE=5358,RENAME="clipart\horse.cgm"
  539. 1,recline.cg$,SIZE=7152,RENAME="clipart\recline.cgm"
  540. 1,zebra.cg$,SIZE=12652,RENAME="clipart\zebra.cgm"
  541. 1,arrow.cg$,SIZE=330,RENAME="clipart\arrow.cgm"
  542. 1,skiing.cg$,SIZE=590,RENAME="clipart\skiing.cgm"
  543. 1,tennis.cg$,SIZE=1140,RENAME="clipart\tennis.cgm"
  544. 1,golfing.cg$,SIZE=606,RENAME="clipart\golfing.cgm"
  545. 1,running.cg$,SIZE=614,RENAME="clipart\running.cgm"
  546. 1,football.cg$,SIZE=714,RENAME="clipart\football.cgm"
  547. 1,swimmin.cg$,SIZE=1362,RENAME="clipart\swimmin.cgm"
  548. 1,handball.cg$,SIZE=940,RENAME="clipart\handball.cgm"
  549. 1,biking.cg$,SIZE=2348,RENAME="clipart\biking.cgm"
  550. 1,riding.cg$,SIZE=782,RENAME="clipart\riding.cgm"
  551. 1,key.cg$,SIZE=1430,RENAME="clipart\key.cgm"
  552. 1,house.cg$,SIZE=602,RENAME="clipart\house.cgm"
  553. 1,litbulb.cg$,SIZE=1786,RENAME="clipart\litbulb.cgm"
  554. 1,medicin.cg$,SIZE=4354,RENAME="clipart\medicin.cgm"
  555. 1,world1.cg$,SIZE=5050,RENAME="clipart\world1.cgm"
  556. 1,family.cg$,SIZE=13104,RENAME="clipart\family.cgm"
  557.  
  558. [Converter Files]
  559. 2,wpft5.cn$,RENAME=wpft5.cnv,SIZE=172352,DEST=$(SH_CWPP)
  560. 2,worddos.cn$,RENAME=worddos.cnv,SIZE=172544,DEST=$(SH_CWORDP)
  561. 3,writwin.cn$,RENAME=writwin.cnv,SIZE=71168,DEST=$(SH_CWRITEP)
  562. 2,wrksdos.cn$,RENAME=wrksdos.cnv,SIZE=80896,DEST=$(SH_CWRKSDOSP)
  563. 2,mswinpub.cn$,RENAME=mswinpub.cnv,SIZE=76800,DEST=$(SH_CPUBP)
  564. 2,wrkswin.cn$,RENAME=wrkswin.cnv,SIZE=89264,DEST=$(SH_CWRKSWINP)
  565. 2,wordwin1.cn$,RENAME=wordwin1.cnv,SIZE=142848,DEST=$(SH_CWW1P)
  566. 1,wordwin2.cn$,RENAME=wordwin2.cnv,SIZE=165888,DEST=$(SH_CWW2P)
  567. 2,wordstar.cn$,RENAME=wordstar.cnv,SIZE=109760
  568. 1,pcximp.fl$,RENAME=pcximp.flt,SIZE=12912,DEST=$(SH_CPCXP), VERSION="2,0,0,32768"
  569. 1,cgmimp.fl$,RENAME=cgmimp.flt,SIZE=44640,DEST=$(SH_CCGMP), VERSION="2,0,0,32768"
  570. 1,tiffimp.fl$,RENAME=tiffimp.flt,SIZE=58880,DEST=$(SH_CTIFP), VERSION="2,0,0,32768"
  571. 1,epsimp.fl$,RENAME=epsimp.flt,SIZE=71648,DEST=$(SH_CEPSP), VERSION="2,0,0,32768"
  572. 1,wmfimp.fl$,RENAME=wmfimp.flt,SIZE=5104,DEST=$(SH_CWMFP), VERSION="2,0,0,32768"
  573. 1,drwimp.fl$,RENAME=drwimp.flt,SIZE=3392,DEST=$(SH_CDRWP), VERSION="1,6,0,32768"
  574. 3,imdrw.dl$,RENAME=imdrw.dll,SIZE=78224,DEST=$(SH_CDRWP), VERSION="1,6,0,32768"
  575. 3,cgi_gdi.dl$,RENAME=cgi_gdi.dll,SIZE=203792,DEST=$(SH_CDRWP), VERSION="1,6,0,32768"
  576.  
  577.  
  578. [UI Temp Vars]
  579. MODE = FULL
  580. ANYFILESEXIST = "FALSE"
  581. OPTIONS-PICKED = {ON, ON, ON, ON, ON, ON}
  582. GROUPLIST = {"Program Files", "Help Files", $(SPELLER)" Spell Files", +
  583.             "Converter Files", "Template Files", "Clipart Files"}
  584.  
  585. [Normal File Groups]
  586. @("Program Files")
  587. @("Help Files")
  588. @($(SPELLER)" Spell Files")
  589. @("Converter Files")
  590. @("Template Files")
  591. @("Clipart Files")
  592.  
  593. [Shell Commands]
  594.     read-syms   "UI Localizable Vars"
  595.     read-syms   "UI Temp Vars"
  596.     set-title   $(Setup_Title)
  597.     set-subst   CustomHelpText = $(CustomHelpText)
  598.     set-subst   PathHelpText = $(PathHelpText)
  599.     set-subst   MMWindowsNotFound = $(MMWindowsNotFound)
  600.     set-subst   DestinationText = $(DestinationText)
  601.     set-subst   FinishedText = $(FinishedText)
  602.     set-subst   ExitText = $(ExitText)
  603.     set-subst   CompleteText = $(CompleteText)
  604.     set-subst DuringInstallText = $(DuringInstallText)
  605.     set-subst InsertDisk = $(InsertDisk)
  606.  
  607.     set COPYSHELL = "COPY"
  608.     set COPYOLECLI = "COPY"
  609.     set COPYOLESVR = "COPY"
  610.     set COPYCOMMDLG = "COPY"
  611.  
  612.     set fdbDoFileInstall = "YES"
  613.  
  614.     ui  start "InitStuff"
  615.     ui  start "FRunBefore"
  616.     set fRunBefore = $(ANSWER)
  617.  
  618.     ui  start "GetWindowsDirectory"
  619.     IfStr(I) $(ANSWER) == "NO"
  620.         set-subst szText = $(BadWindowPath)
  621.         ui  start "MessageBox"
  622.         goto "exit"
  623.     endif
  624.     ui  start "GetSystemDirectory"
  625.     ForListDo   $(SHAREDDIRFILES)
  626.         set rginfo = $($)
  627.         ; First variable
  628.         set *($(rginfo), 5)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 7)"\"
  629.  
  630.         ; Second variable, if it exists
  631.         IfInt *($(rginfo), 8) != 0
  632.             set *($(rginfo), 9)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 11)"\"
  633.         endif
  634.  
  635.         ; See if already exist in ini file      
  636.         set iniSect = *($(rginfo), 2)
  637.         set-subsym iniKey = *($(rginfo), 1)
  638.         ui  start "DetectIniLine"
  639.         ;If they have a value already, then replace the default path
  640.         IfStr(I)  $(LINE) !=  ""
  641.             ; Get path/filename
  642.             set WHERE = *($(rginfo), 4)
  643.             ui  start   "GetPieceFromLine"
  644.             
  645.             IfStr(I) $(szParsePiece) != ""
  646.                 ui  start   FExist
  647.                 IfStr(I) $(ANSWER) == "YES"
  648.                     ; Get path from the ini line
  649.                     ui  start   "GetPathFromParsePiece"
  650.  
  651.                     IfStr(I) $(ANSWER) == "YES"
  652.                         ; Set variable to their path
  653.                         set *($(rginfo), 5)P = $(szPath)
  654.                     endif
  655.                 endif
  656.             endif
  657.             IfInt *($(rginfo), 8) != 0
  658.                 set WHERE = *($(rginfo), 8)
  659.                 ui  start   "GetPieceFromLine"
  660.                 IfStr(I) $(szParsePiece) != ""
  661.                     ui  start   FExist
  662.                     IfStr(I) $(ANSWER) == "YES"
  663.                         ; Get path from the ini line
  664.                         ui  start   "GetPathFromParsePiece"
  665.  
  666.                         IfStr(I) $(ANSWER) == "YES"
  667.                             ; Set variable to their path
  668.                             set *($(rginfo), 9)P = $(szPath)
  669.                         endif
  670.                     endif   ;ANSWER
  671.                 endif   ; file!=""
  672.             endif   ;table entry != ""
  673.         endif   ;line != ""
  674.     EndForListDo
  675.  
  676.     ; Handle custom dictionary
  677.     set CustomSpeller = $(WINDOWSPATH)"\msapps\proof\"$(CustomName)
  678.     set iniSect = "MS Proofing Tools"
  679.     set-subsym iniKey = "Custom Dict 1"
  680.     ui  start "DetectIniLine"
  681.     set szParsePiece = $(LINE)
  682.     IfStr(I) $(szParsePiece) != ""
  683.         ui  start   FExist
  684.         IfStr(I) $(ANSWER) == "YES"
  685.             set CustomSpeller = $(LINE)
  686.         endif
  687.     endif
  688.     set szParsePiece = $(CustomSpeller)
  689.     ui  start   "GetPathFromParsePiece"
  690.     set SpellerPath = $(szPath)
  691.  
  692. welcome =  set from = welcome
  693.     ui  start   "Welcome"
  694.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  695.         ui  pop 1
  696.         goto "init"
  697.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  698.         goto "quit"
  699.     else
  700.         install "Error - info"
  701.         goto error
  702.     endif
  703.  
  704. init =  Init-System 1, $(IniFileName)
  705.     ui  start "FixupDestPath" 
  706.     set-subsym  CompleteText = $(CompleteText)
  707.  
  708. full =  set from = full
  709.     
  710.     set MODE = ""
  711.     ui  start   "Full"
  712.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  713.         ui  pop 1
  714.         ifstr(i) $(MODE) == "CUSTOM"
  715.             set WhereNext = "custom"
  716.             goto "path"
  717.         else-ifstr(i) $(MODE) == "FULL"
  718.             ;   Fix path up
  719.             ui  start "FixupDestPath" 
  720.  
  721.             ;   Found hard drive
  722.             IfStr(I) $(ANSWER) == "YES"
  723.                 ui  start   "StartWait"
  724.                 ui  start   "DoFileLookups" 
  725.                 ui  start   "EndWait"
  726. EnoughSpace=    ui  start   "FEnoughSpace"
  727.                 ifstr(i) $(ANSWER) == "YES"
  728.                     goto "spellerlist"
  729.                 else
  730.                     set-subst szText = $(CantDoComplete)
  731.                     ui  start "MessageBox"
  732.                     goto "custom2"
  733.                 endif
  734.             else    ; no find hard drive
  735.                 ; 'path' will put up error
  736.                 set WhereNext = "EnoughSpace"
  737.                 goto "path"
  738.             endif
  739.         endif
  740.  
  741.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  742.         goto "quit"
  743.     else
  744.         detect "Error - full"
  745.         goto error
  746.     endif
  747.  
  748. path  = set from = path
  749.     ui  start "FixupDestPath" 
  750.     IfStr(I) $(ANSWER) == "NO"
  751.         set-subst szText = $(HardDiskNotFound)
  752.         ui  start "MessageBox"
  753.         set EditTextIn = $(UNKNOWNPATH)
  754.         set EditFocus = ALL       ; END | START | ALL
  755.     else
  756.         set EditTextIn = $(DESTPATH)
  757.         set EditFocus = END       ; END | START | ALL
  758.     endif
  759.     
  760.     set HelpText = $(PathHelpText)
  761.     set HelpTitle = $(PathHelpTitle)
  762.     ui    start   "Path"
  763.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  764.         ui  pop 1
  765.         set DESTPATH = $(EditTextOut)
  766.         ui  start   "StartWait"
  767.         ui  start   "DoFileLookups" 
  768.         ui  start   "EndWait"
  769.         goto $(WhereNext)
  770.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  771.         set DESTPATH = $(EditTextOut)
  772.         goto "quit"
  773.     else
  774.         install "Error - edit"
  775.         goto error
  776.     endif
  777.  
  778. custom = set    dir1 = $(WINDOWSPATH)
  779.     set dir2 = $(DESTPATH)
  780.     ui  start   "SameDrive"
  781.     IfStr(I) $(ANSWER) == "NO"
  782.         set-subst szText = $(DifferentDrives)
  783.         ui  start "MessageBox"
  784.     endif
  785.  
  786. custom2 = set SZCUSTOM1 = ""
  787.     set SZCUSTOM2 = ""
  788.     set from = custom2
  789.     set HelpText = $(CustomHelpText)
  790.     set HelpTitle = $(CustomHelpTitle)
  791.     ui    start   "Custom"
  792.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  793.         set ANSWER = "NO"
  794.         ForListDo   $(OPTIONS-PICKED)
  795.             IfStr(I) $($)  ==  "ON"
  796.                 set ANSWER = "YES"
  797.             endif
  798.         EndForListDo
  799.         ifstr(i) $(ANSWER) == "NO"
  800.             set-subst szText = $(NoOptionsChecked)
  801.             ui  start "MessageBox"
  802.             goto "custom2"
  803.         endif
  804.  
  805.         ui  pop 1
  806.         goto "spellerlist"
  807.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  808.         goto "quit"
  809.     else
  810.         detect "Error - custom"
  811.         goto error
  812.     endif
  813.  
  814. spellerlist =   ifstr(I) *($(OPTIONS-PICKED), 3) == "OFF"
  815.                     goto "installnow1"    
  816.                 endif
  817.     set ListItemsIn = $(SPELLER-LIST)
  818.     set from = spellerlist
  819.     set ListItemsOut = $(DEFSPELLER)        ; default selection
  820.     set SPELLER = $(DEFSPELLER)             ; default selection
  821.     ifstr(i) $(fDoSpellerList) == "NO"
  822.         goto "SkipDlg"
  823.     endif
  824.     ui      start   "List"
  825.     set SPELLER = $(ListItemsOut)
  826.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  827.         ui  pop 1
  828. SkipDlg =   ForListDo   $(SpellerTable)
  829.             set rginfo = $($)
  830.             ifstr(i) *($(rginfo), 1) == $(SPELLER)
  831.                 ; Speller lex variable
  832.                 set SH_SP110LF = *($(rginfo), 2)
  833.                 set thesaur_lex = *($(rginfo), 3)
  834.                 set SpellerName = *($(rginfo), 4)
  835.             endif
  836.         EndForListDo
  837.  
  838.         goto "installnow1"    
  839.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  840.         goto "quit"
  841.     else
  842.         debug-msg "Error - list"
  843.         goto error
  844.     endif
  845.  
  846. quit  = ui  start  "Quit"
  847.     ifstr(i) $(DLGEVENT) == "RESUME"
  848.         ui  pop 1
  849.         goto $(from)
  850.     else
  851.         goto "exit"
  852.     endif
  853.  
  854. exit =  exit
  855.  
  856. error = write-symtab "shl-st2.new"
  857.     exit
  858.  
  859. installnow1 =   set-subst szText = $(DuringInstallText)
  860.  
  861.     ifstr(i) $(fdbDoFileInstall) != "YES"
  862.         goto exitdlg
  863.     endif
  864.     ui  start   "Modeless"
  865.  
  866.     ; If a DLL is running, then set the corresponding DOxxx to ;
  867.     set szFile = "SHELL.DLL"
  868.     ui  start   "FRunning"
  869.     ifstr(i) $(ANSWER) == "YES"
  870.         set COPYSHELL = "!COPY"
  871.     endif
  872.  
  873.     set szFile = "OLECLI.DLL"
  874.     ui  start   "FRunning"
  875.     ifstr(i) $(ANSWER) == "YES"
  876.         set COPYOLECLI = "!COPY"
  877.     endif
  878.  
  879.     set szFile = "OLESVR.DLL"
  880.     ui  start   "FRunning"
  881.     ifstr(i) $(ANSWER) == "YES"
  882.         set COPYOLESVR = "!COPY"
  883.     endif
  884.  
  885.     set szFile = "COMMDLG.DLL"
  886.     ui  start   "FRunning"
  887.     ifstr(i) $(ANSWER) == "YES"
  888.         set COPYCOMMDLG = "!COPY"
  889.     endif
  890.  
  891.     ui  start   "FixupDestPathForIntl"
  892.     install "Install-Files"
  893.     ifstr(I) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  894.         goto "exit"
  895.     endif
  896.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  897.         set-subst szText = $(InstallError1)
  898.         ui  start   "MessageBox"
  899.         goto "exit"
  900.     endif
  901.  
  902.     ui  start   "StartWait"
  903.     install "Install-Shared"
  904.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  905.         ui  start   "EndWait"
  906.         set-subst szText = $(InstallError2)
  907.         ui  start   "MessageBox"
  908.         goto "exit"
  909.     endif
  910.  
  911.     ui  pop 1
  912.  
  913.     set IniTable = "MspubIniTable"
  914.     set INI = "MSPUB.INI"
  915.     install "Install-Ini"
  916.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  917.         PError= ui  start   "EndWait"
  918.             set-subst szText = $(InstallError3)
  919.             ui  start   "MessageBox"
  920.             goto "exit" 
  921.     endif
  922.  
  923.     set IniTable = "WinIniTable"
  924.     set INI = "win.ini"
  925.     install "Install-Ini"
  926.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  927.         goto "PError"
  928.     endif
  929.  
  930.     ui  start   "FixupPrinter"
  931.     install "Install-ProgMan"
  932.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  933.         goto "PError"
  934.     endif
  935.  
  936.     ; Register OLE
  937.     ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  938.         set lf = "\r\n"
  939.         set-subst   lf = $(lf)
  940.         set File = $(WINDOWSPATH)"\mspub.reg"
  941.         set To = $(WINDOWSPATH)$(NoteItPath)$(NoteItExe)$(lf)
  942.         set From = $(NoteItExe)$(lf)
  943.         ui  start "FileFilter"
  944.     
  945.         set File = $(WINDOWSPATH)"\mspub.reg"
  946.         set To = $(WINDOWSPATH)$(WordArtPath)$(WordArtExe)$(lf)
  947.         set From = $(WordArtExe)$(lf)
  948.         ui  start "FileFilter"
  949.     
  950.         set szFile = $(WINDOWSPATH)"\regload.exe /s mspub.reg"
  951.         ui  start   "RunExe"
  952.         ifstr(I) $(ANSWER) != "YES"
  953.             set-subst szText = $(RegistrationFailed)
  954.             ui  start   "MessageBox"
  955.             ui  start   "EndWait"
  956.             goto "exit"
  957.         endif
  958.     endif
  959.     
  960.     ui  start   "EndWait"
  961.  
  962. exitdlg =   ui    start   "Exit"
  963.     ui  pop 1
  964.     ifstr(i) $(DLGEVENT) == "R"
  965.         set szPath = $(DESTPATH)
  966.         ui  start   "ChDriveDir"
  967.         set szFile = $(DESTPATH)"\"$(MSWorksExe)
  968.         ui  start   "StartWait"
  969.         ui  start   "RunExe"
  970.         ui  start   "EndWait"
  971.     endif
  972. exit
  973.  
  974. [Install-Shared]
  975. ; Add shared files to win.ini
  976. ForListDo   $(SHAREDDIRFILES)
  977.     ; Only install it if the group was checked
  978.     set rginfo = $($)
  979.     Ifstr(i) *($(OPTIONS-PICKED), *($(rginfo), 12)) == "ON"
  980.         CreateIniSection "WIN.INI", *($(rginfo), 2)
  981.         set File1 = $(*($(rginfo), 5)P)*($(rginfo), 6)
  982.         IfInt *($(rginfo), 8) != 0
  983.             set File2 = $(*($(rginfo), 9)P)*($(rginfo), 10)
  984.         endif
  985.         Set-Subsym sz = *($(rginfo), 3)
  986.         Set-Subsym sz2 = *($(rginfo), 1)
  987.         CreateIniKeyValue "WIN.INI", *($(rginfo), 2), $(sz2), $(sz), O
  988.     endif
  989. EndForListDo
  990.  
  991. ifstr(I) *($(OPTIONS-PICKED), 3) == "ON"
  992.     CreateDir $(SpellerPath), V
  993.     CreateIniKeyValue "WIN.INI", "MS Proofing Tools", +
  994.         "Custom Dict 1", $(CustomSpeller), O
  995. endif
  996. exit
  997.  
  998. [Install-ProgMan]
  999. ;   Add group and files to group
  1000. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  1001.     CreateProgManGroup  $(ProgManGroup), "" 
  1002.     ShowProgManGroup    $(ProgManGroup), "1" 
  1003.     CreateProgManItem   $(ProgManGroup), $(MSWorks), $(DESTPATH)"\"$(MSWorksExe)
  1004.     CreateProgManItem   $(ProgManGroup), $(SolutionFileDesc), "winhelp.exe "$(DESTPATH)"\"$(SolutionFileExe)
  1005.     Close-System "Program Files", "EXE", $(DESTPATH), "291", "290"
  1006. endif
  1007. exit
  1008.  
  1009. [Install-Files]
  1010. set STF_DATE = $(SHIPDATE)
  1011. set STF_OVERWRITE = OLDER
  1012. ForListDo   $(OPTIONS-PICKED)
  1013.     IfStr(I) $($)  ==  "ON"
  1014.         AddNthSectionFileToCopyList "Normal File Groups", $(#), $(STF_SRCDIR), $(DESTPATH)
  1015.     endif
  1016. EndForListDo
  1017. CopyFilesInCopyList
  1018. exit
  1019.  
  1020. [Install-Ini]
  1021. set Group = ""
  1022. ForListDo   $($(IniTable))
  1023.     set rginfo = $($)
  1024.     set ANSWER = "NO"
  1025.     ifstr(I) *($(rginfo), 5) == "0"
  1026.         set ANSWER = "YES"
  1027.     endif
  1028.     ifstr(I) *($(OPTIONS-PICKED), *($(rginfo), 5)) == "ON"
  1029.         set ANSWER = "YES"
  1030.     endif
  1031.  
  1032.     ifstr(I) $(ANSWER) == "YES"
  1033.         ; Create group if haven't already
  1034.         ifstr(i) *($(rginfo), 1) != $(Group)
  1035.             CreateIniSection $(WINDOWSPATH)"\"$(INI), *($(rginfo), 1)
  1036.             set Group = *($(rginfo), 1)
  1037.         endif
  1038.         set-subsym right = *($(rginfo), 3)
  1039.         ifstr(i) *($(rginfo), 4) == "O"
  1040.             CreateIniKeyValue $(WINDOWSPATH)"\"$(INI), *($(rginfo), 1), +
  1041.                 *($(rginfo), 2), $(right), "O"
  1042.         else
  1043.             CreateIniKeyValue $(WINDOWSPATH)"\"$(INI), *($(rginfo), 1), +
  1044.                 *($(rginfo), 2), $(right)
  1045.         endif
  1046.     endif
  1047. EndForListDo
  1048. exit
  1049. ;Version# 56
  1050.