home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 18 / 18.iso / w / w249 / 1.ddi / STFSETUP.INF / STFSETUP.bin
Encoding:
INI File  |  1991-08-30  |  34.8 KB  |  987 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 = "1991-09-03"
  7.  
  8. ; All files which do not explicitly have their dates set in the file lists
  9. ; will use this date.
  10. SHIPDATE = "1991-09-03"
  11.  
  12. ; The custom dialog, this is the error when the user presses INSTALL
  13. ; and the NEEDED SPACE is greater than the AVAILABLE SPACE
  14. NotEnoughRoom = "There is not enough room on your hard disk for all "+
  15.     "the Works features you have selected.  Choose OK, and then "+
  16.     "choose Cancel Setup and make more room on your hard disk, or, "+
  17.     "select fewer Works 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 Works 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 that you have chosen to install Works 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 setup error messages
  44. ErrorTitle = "Setup Message"
  45.  
  46. ; Title of Welcome Dialog
  47. WelcomeTitle = "Welcome to Microsoft Works for Windows."
  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 Works for "+
  52.     "Windows, or a partial one.  The Setup program lists the Works "+
  53.     "features you can choose.  Not installing certain features will "+
  54.     "save disk space, but you will lose functionality.  It is "+
  55.     "recommended that you do a complete installation of all the "+
  56.     "features.\n\nIf there is not enough room on your hard disk, you "+
  57.     "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 Works features by "+
  60.     "clearing the checkbox next to a Works 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 Works in the C:\MSWORKS "+
  65.     "directory.\n\nTo change the location on your hard disk where Works "+
  66.     "will be installed, type a drive letter (usually C), a colon (:), a "+
  67.     "backslash (\\), and then the name of the directory where you want "+
  68.     "Works installed.  For example, type C:\MSWORKS.\n\nIf you are "+
  69.     "unsure what to do, accept the suggested location of C:\MSWORKS."
  70.  
  71. ; Final dialog text
  72. FinishedText = "When you run Works you can choose to see an introduction "+
  73.     "to Works, or you can go directly to work with the product.\n\n"+
  74.     "Choose Return to Windows to return to Windows.  Choose Run Works "+
  75.     "to start using Works now."
  76.  
  77. ; Message which comes up if we don't detect any hard disks on their system
  78. ; (so we cannot give a default path).
  79. HardDiskNotFound = "Cannot locate your hard disk.  Please choose the\n"+
  80.                 "OK button and then type the location, or cancel\n"+
  81.                 "Setup and check your computer's configuration."
  82.  
  83. ; What we set the default path string to in the previous case
  84. UNKNOWNPATH = "?"
  85.  
  86. ; Text of the path dialog
  87. DestinationText = "Setup installs files on your hard disk.  Choose the "+
  88.     "location where you want to install the Microsoft Works for Windows "+
  89.     "files.\n\nTo change the suggested location, press the BACKSPACE "+
  90.     "key to delete characters, and then type the drive and directory "+
  91.     "where you want Works installed."
  92.  
  93. ; Error if MMWindows is not present in the MM Version
  94. MMWindowsNotFound = "You are using the Standard version of Windows.\n"+
  95.                 "Cannot install MultiMedia Works unless the\n"+
  96.                 "MulitMedia version of Windows is installed."
  97.  
  98. ; Cancel Setup dialog text
  99. ExitText = "Microsoft Works for Windows may not be properly installed.  "+
  100.     "If you quit Setup now, you may have to run Setup again.\n\n"+
  101.     "Are you sure you want to cancel?  Choose Cancel Setup to cancel "+
  102.     "Setup, or choose Resume to return to the previous installation "+
  103.     "option."
  104.  
  105. ; Option dialog (Full or Custom) text
  106. CompleteText = "For a complete installation of Microsoft Works "+
  107.     "choose the Complete Installation button.  Setup will "+
  108.     "install Works to the location $(DESTPATH).  This is the "+
  109.     "preferred installation, and is easiest to do.\n\nIf you want "+
  110.     "to specify where Works should be installed, or you only want "+
  111.     "to install part of Works in order to save space on your hard "+
  112.     "disk, choose the Custom Installation button instead."
  113.  
  114. ; Text of the spell dialog
  115. SpellText = "Select the speller and thesaurus language you wish to use "+
  116.     "from the list below, and then choose Continue."
  117.  
  118. ; Text of the dialog appearing while files are being copied
  119. DuringInstallText="Now would be a great time to fill out your "+
  120.     "registration card.  When you send it in, Microsoft will:\n\n"+
  121.     "  - Inform you of product updates.\n  - Offer you customer "+
  122.     "support.\n  - Provide you information about\n    related "+
  123.     "Microsoft products."
  124.  
  125. ; Title and text of message that there is a virus in setup
  126. ; Default destination path for setup (drive letter is replaced with proper
  127. ; one
  128. DESTPATH = "C:\MSWORKS"
  129.  
  130. ; Message when tries to install NOTHING
  131. NoOptionsChecked = "You must check at least one option."
  132.  
  133. ; Install failed because it either couldn't find files or couldn't write
  134. ; them to the destination
  135. InstallError1 = "Setup could not complete the installation.  Possibly "+
  136.     "the hard disk was full, there was a disk error in trying to "+
  137.     "update one of the files, or your Microsoft Works disks are damaged."
  138.  
  139. ; SO little disk space that we couldn't even add to the win.ini
  140. InstallError2 = "Setup could not complete the installation.  Possibly "+
  141.     "the hard disk was full or there was a problem updating the WIN.INI "+
  142.     "file."
  143.  
  144. ; SO little disk space that we couldn't even add to the win.ini or progman
  145. ; Also COULD be because disk error writing the above or to the msworks.exe
  146. InstallError3 = "Setup could not complete the installation.  Possibly "+
  147.     "the hard disk was full, or there was a disk error in trying to "+
  148.     "update one of the files."
  149.  
  150. ; Title, description, and file name for each of the three wizards
  151. Wizard1Desc = "Address Books@The Address Books WorksWizard helps you "+
  152.     "create a database of people's names, addresses and other "+
  153.     "information that's important to you. Once you've "+
  154.     "created an address book, you use the other "+
  155.     "WorksWizards to create form letters and print "+
  156.     "mailing labels.@wizzy1.lsn@2"
  157. Wizard2Desc = "Form Letters@The Form Letters WorksWizard helps you to create "+
  158.     "a personalized letter you can send to many people. When you print, "+
  159.     "Works inserts the names and addresses you selected from the "+
  160.     "address book you created with the Address Books WorksWizard or from "+
  161.     "any Works database.@wizzy1.lsn@3"
  162. Wizard3Desc = "Mailing Labels@The Mailing Labels WorksWizard prints mailing "+
  163.     "labels of any size with names and addresses from an address book "+
  164.     "you have created with the Address Books WorksWizard or from any "+
  165.     "Works database.@wizzy1.lsn@1"
  166.  
  167. ; Name of the progman group we create for EBU apps
  168. ProgManGroup = "Microsoft SolutionSeries"
  169.  
  170. ; Message if the destination path is on a different path than the windows path
  171. DifferentDrives = "Setup needs to install some files to your Windows "+
  172.     "directory, and Setup has detected that this location is on a "+
  173.     "different hard disk than the one you chose to install Works "+
  174.     "on.\n\nThe next Setup option will show you the space required "+
  175.     "on each of these hard drives."
  176.  
  177. ; If Regload fails... 
  178. RegistrationFailed = "Setup was unable to run REGLOAD.  Please try "+
  179.     "closing other applications and running setup again."
  180.  
  181. ;  Title of Works in the progman group
  182. MSWorks = "Microsoft Works"
  183.  
  184. ; Filename of msworks.exe
  185. MSWorksExe = "msworks.exe"
  186. ; File name of the thesaurus DLL
  187. THESAURDLL = "thesaur.dll"
  188.  
  189. ; Do we want to use the speller list in this localization?
  190. fDoSpellerList = "NO"
  191.  
  192. ; Default speller in the speller list (or speller to use if no list)
  193. DEFSPELLER = "American"
  194. SPELLER = "American"
  195. SpellerName = "Spelling 1033,0"
  196. ; Biggest speller/thesaurus in the speller list  (IMPORTANT!!)
  197. BIGSPELLER = "American"
  198.  
  199. ; Setup title
  200. Setup_Title = "Microsoft Works Setup"
  201.  
  202. ; Filename of note-it.exe
  203. NoteItExe = "note-it.exe"
  204. NoteItPath = "\msapps\note-it\"
  205.  
  206. ; Filename of MSDRAW
  207. MSDrawExe = "msdraw.exe"
  208. MSDrawPath = "\msapps\msdraw\"
  209.  
  210. ; Default name of custom dictionary
  211. CustomName = "custom.dic"
  212.  
  213. ; Program Manager description of the solution.hlp file
  214. ; and the actual filename
  215. SolutionFileDesc = "Series Info"
  216. SolutionFileExe = "solution.hlp"
  217.  
  218. BadWindowPath = "Invalid Windows path in your AUTOEXEC.BAT file. "+
  219.         "It must contain a drive letter."
  220.  
  221. ; Names of the spellers in the speller list
  222. SPELLER-LIST =  { "American", "French"}
  223. ; Format of SpellerTable
  224. ;1        Language (must match name in SPELLER_LIST), 
  225. ;2        speller lex
  226. ;3        thesaurus lex
  227. ;4        speller name to be inserted in the shared apps entry
  228. SpellerTable = { +
  229.         {American, mssp_am.lex, thesaur.lex, "Spelling 1033,0"}, +
  230.         {French, mssp_fr.lex, thesaur.lex, "Spelling 123,0"}, +
  231.         }
  232.  
  233. ; Format of SHAREDIRFILES ('*intl*' means it needs to internationalized):
  234. ;1        KEYNAME *intl*, 
  235. ;2        SECTIONAME,  
  236. ;3        VALUE (what the key should equal), 
  237. ;4        IVALUE1 (where the first path is in the value), 
  238. ;5        VARPATHFILE1 (variable to contain first path\file), 
  239. ;6        FILE1 (name of the first files) *intl*, 
  240. ;7        RELATIVEPATH1 (from c:\windows\msapps\"),
  241. ;8        IVALUE2 (where the first path is in the value), 
  242. ;9        VARPATHFILE2 (variable to contain first path\file), 
  243. ;10    FILE2 (name of the first files) *intl*, 
  244. ;11    RELATIVEPATH2 (from c:\windows\msapps\"),
  245. ;12    IGROUP (which group it is dependent on to be conditionally installed)
  246.  
  247. SHAREDDIRFILES = { +
  248.     {"$(SpellerName)", "MS Proofing Tools", +
  249.         "$(File1),$(File2)", +
  250.         "1", "SH_SP110D", "msspell.dll", "proof",+
  251.          "2", "SH_SP110L", "mssp_am.lex", "proof",+
  252.          "4"}, +
  253.     {"WrdPrfctDOS50", "MS Text Converters", +
  254.         "WordPerfect 5.0,$(File1),doc", +
  255.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  256.          "0", "", "","textconv",+
  257.          "5"},  +
  258.     {"WrdPrfctDOS", "MS Text Converters", +
  259.         "WordPerfect 5.1,$(File1),doc", +
  260.         "2", "SH_CWP", "wpft5.cnv", "textconv",+
  261.          "0", "", "","textconv",+
  262.          "5"},  +
  263.     {"MSWordWin", "MS Text Converters", +
  264.         "Word for Windows 1.x,$(File1),doc", +
  265.         "2", "SH_CWORD", "wordwin1.cnv", "textconv",+
  266.          "0", "", "","textconv",+
  267.          "5"},  +
  268.     {"Windows Write", "MS Text Converters", +
  269.         "Windows Write,$(File1),wri", +
  270.         "2", "SH_CWRITE", "writwin.cnv", "textconv",+
  271.          "0", "", "","textconv",+
  272.          "5"},  +
  273.     {"MSWorksWin", "MS Text Converters", +
  274.         "Works for Windows 2.0,$(File1),wps", +
  275.         "2", "SH_CWORKS", "wrkswin.cnv", "textconv",+
  276.          "0", "", "","textconv",+
  277.          "5"},  +
  278.     {"Computer Graphics Metafile(.CGM)","MS Graphic Import Filters", +
  279.         "$(File1),CGM", +
  280.         "1","SH_CCGM","cgmimp.flt","grphflt",    +
  281.          "0", "", "","",+
  282.          "5"},  +
  283.     {"Encapsulated Postscript(.EPS)","MS Graphic Import Filters", +
  284.         "$(File1),EPS", +
  285.         "1","SH_CEPS","epsimp.flt","grphflt",    +
  286.          "0", "", "","",+
  287.          "5"},  +
  288.     {"PC Paintbrush(.PCX)","MS Graphic Import Filters", +
  289.         "$(File1),PCX", +
  290.         "1","SH_CPCX","pcximp.flt","grphflt",    +
  291.          "0", "", "","",+
  292.          "5"},  +
  293.     {"Tagged Image Format(.TIF)","MS Graphic Import Filters", +
  294.         "$(File1),TIF", +
  295.         "1","SH_CTIF","tiffimp.flt","grphflt",    +
  296.          "0", "", "","",+
  297.          "5"}+
  298. }
  299.  
  300. ; # = Disk title, a file on the disk, name of directory if on network
  301. ; This is the 1.2M disk layout
  302. [Source Media Descriptions]
  303.     1 = "Disk 1: Setup, Spell, Thesaurus, Converters, Samples", TAGFILE = setup.exe, +
  304.         NETPATH = ""
  305.     2 = "Disk 2: Program, Microsoft Draw", TAGFILE = msworks.ex$, +
  306.         NETPATH = ""
  307.     3 = "Disk 3: Tutorial 1", TAGFILE = wnworks.le$, NETPATH = ""
  308.     4 = "Disk 4: Tutorial 2, Help, Clipart, WorksWizards", TAGFILE = wnworks2.le$, +
  309.         NETPATH = ""
  310.     5 = "Server", TAGFILE = olecli.dln, NETPATH = ""
  311.  
  312. [Program Files]
  313. EXE = 2,msworks.ex$,RENAME=msworks.exe,SIZE=991200, VERSION="2,0,0,10"
  314. 2,olecli.dl$,RENAME=olecli.dll,SIZE=75264,DEST=$(SYSTEMPATH)"\",$(COPYOLECLI), VERSION="1,2,0,0"
  315. 2,olesvr.dl$,RENAME=olesvr.dll,SIZE=22528,DEST=$(SYSTEMPATH)"\",$(COPYOLESVR), VERSION="1,2,1,0"
  316. 2,shell.dl$,RENAME=shell.dll,SIZE=24384,DEST=$(SYSTEMPATH)"\",$(COPYSHELL), VERSION="3,10,0,43"
  317. 2,smallb.fo$,RENAME=smallb.fon,SIZE=17408
  318. 2,smalle.fo$,RENAME=smalle.fon,SIZE=21504
  319. 2,regload.ex$,RENAME=regload.exe,SIZE=21504,DEST=$(WINDOWSPATH)"\"
  320. 2,msworks.re$,RENAME=msworks.reg,SIZE=2065,DEST=$(WINDOWSPATH)"\",OVERWRITE=ALWAYS
  321. 2,note-it.ex$,RENAME=note-it.exe,SIZE=52576,DEST=$(WINDOWSPATH)$(NoteItPath), VERSION="1,0,0,10"
  322. 2,solution.hl$,RENAME=solution.hlp,SIZE=24290
  323. 1,accounts.wd$,RENAME=accounts.wdb,SIZE=4312
  324. 1,acctsrec.wd$,RENAME=acctsrec.wdb,SIZE=3096
  325. 1,inventry.wd$,RENAME=inventry.wdb,SIZE=6992
  326. 1,salesrep.wk$,RENAME=salesrep.wks,SIZE=2285
  327. 1,hardware.wp$,RENAME=hardware.wps,SIZE=1566
  328. 1,collect.wp$,RENAME=collect.wps,SIZE=1182
  329. 1,flyer.wp$,RENAME=flyer.wps,SIZE=933
  330. 1,amortize.wk$,RENAME=amortize.wks,SIZE=3754
  331. 1,finance.wk$,RENAME=finance.wks,SIZE=3297
  332. 1,logo.bm$,RENAME="clipart\logo.bmp",SIZE=1102
  333. 4,wnworks.cb$,RENAME="msworks.cbt\wnworks.cbt",SIZE=112816
  334. 4,cbtlib2.dl$,RENAME="msworks.cbt\cbtlib2.dll",SIZE=14880
  335. 4,wizzy1.ls$,RENAME="msworks.cbt\wizzy1.lsn",SIZE=333724
  336. 4,fields.wp$,RENAME=fields.wps,SIZE=6057
  337. 4,labelswp.$,RENAME="msworks.cbt\labelswp",SIZE=667
  338.  
  339. [Help Files]
  340. 4,msworks.hl$,RENAME=msworks.hlp,SIZE=1265064
  341. 4,msdraw.hl$,RENAME=msdraw.hlp,SIZE=269546,DEST=$(WINDOWSPATH)$(MSDrawPath)
  342. 4,note-it.hl$,RENAME=note-it.hlp,SIZE=63245,DEST=$(WINDOWSPATH)$(NoteItPath)
  343.  
  344. [Cbt Files]
  345. 3,wnworks.le$,RENAME="msworks.cbt\wnworks.les",SIZE=1937442
  346. 4,wnworks2.le$,APPEND="msworks.cbt\wnworks.les",SIZE=65536
  347. 4,address.wd$,RENAME="msworks.cbt\address.wdb",SIZE=4590
  348. 4,attend.wp$,RENAME="msworks.cbt\attend.wps",SIZE=670
  349. 4,auction.wd$,RENAME="msworks.cbt\auction.wdb",SIZE=3093
  350. 4,auntmadg.wp$,RENAME="msworks.cbt\auntmadg.wps",SIZE=6180
  351. 4,babbitt.wk$,RENAME="msworks.cbt\babbitt.wks",SIZE=1866
  352. 4,balou_c.wp$,RENAME="msworks.cbt\balou_c.wps",SIZE=1054
  353. 4,balou_p.wp$,RENAME="msworks.cbt\balou_p.wps",SIZE=1078
  354. 4,bbath.wd$,RENAME="msworks.cbt\bbath.wdb",SIZE=3039
  355. 4,board.wd$,RENAME="msworks.cbt\board.wdb",SIZE=4950
  356. 4,books.wd$,RENAME="msworks.cbt\books.wdb",SIZE=5821
  357. 4,breeds.wp$,RENAME="msworks.cbt\breeds.wps",SIZE=670
  358. 4,cheese.wd$,RENAME="msworks.cbt\cheese.wdb",SIZE=2204
  359. 4,climbers.wd$,RENAME="msworks.cbt\climbers.wdb",SIZE=15383
  360. 4,coins.wd$,RENAME="msworks.cbt\coins.wdb",SIZE=4551
  361. 4,energy.wk$,RENAME="msworks.cbt\energy.wks",SIZE=2966
  362. 4,florist.wp$,RENAME="msworks.cbt\florist.wps",SIZE=1442
  363. 4,forecast.wk$,RENAME="msworks.cbt\forecast.wks",SIZE=1812
  364. 4,friends.wp$,RENAME="msworks.cbt\friends.wps",SIZE=1054
  365. 4,grant.wp$,RENAME="msworks.cbt\grant.wps",SIZE=6370
  366. 4,herbfarm.wk$,RENAME="msworks.cbt\herbfarm.wks",SIZE=2180
  367. 4,jun05src.wk$,RENAME="msworks.cbt\jun05src.wks",SIZE=813
  368. 4,letter.wp$,RENAME="msworks.cbt\letter.wps",SIZE=6180
  369. 4,lexicone.wp$,RENAME="msworks.cbt\lexicone.wps",SIZE=798
  370. 4,lillooet.wd$,RENAME="msworks.cbt\lillooet.wdb",SIZE=3108
  371. 4,moles.wp$,RENAME="msworks.cbt\moles.wps",SIZE=798
  372. 4,patrons.wd$,RENAME="msworks.cbt\patrons.wdb",SIZE=7615
  373. 4,popcost.wp$,RENAME="msworks.cbt\popcost.wps",SIZE=930
  374. 4,popmemo.wp$,RENAME="msworks.cbt\popmemo.wps",SIZE=798
  375. 4,popsales.wk$,RENAME="msworks.cbt\popsales.wks",SIZE=2595
  376. 4,popsheet.wk$,RENAME="msworks.cbt\popsheet.wks",SIZE=2853
  377. 4,program.wp$,RENAME="msworks.cbt\program.wps",SIZE=2388
  378. 4,resume.wp$,RENAME="msworks.cbt\resume.wps",SIZE=1310
  379. 4,sale1.wp$,RENAME="msworks.cbt\sale1.wps",SIZE=1438
  380. 4,sales.wk$,RENAME="msworks.cbt\sales.wks",SIZE=2357
  381. 4,sheet1_a.wk$,RENAME="msworks.cbt\sheet1_a.wks",SIZE=1405
  382. 4,sheet1_u.wk$,RENAME="msworks.cbt\sheet1_u.wks",SIZE=1151
  383. 4,sumatra.wk$,RENAME="msworks.cbt\sumatra.wks",SIZE=1168
  384. 4,thesis.wp$,RENAME="msworks.cbt\thesis.wps",SIZE=3870
  385. 4,toys_l.wd$,RENAME="msworks.cbt\toys_l.wdb",SIZE=9613
  386. 4,toys_m.wd$,RENAME="msworks.cbt\toys_m.wdb",SIZE=8165
  387. 4,whodunit.wd$,RENAME="msworks.cbt\whodunit.wdb",SIZE=16113
  388. 4,winners.wp$,RENAME="msworks.cbt\winners.wps",SIZE=670
  389. 4,wwfloris.wk$,RENAME="msworks.cbt\wwfloris.wks",SIZE=2627
  390. 4,wyse1.wp$,RENAME="msworks.cbt\wyse1.wps",SIZE=6450
  391. 4,wyse2.wp$,RENAME="msworks.cbt\wyse2.wps",SIZE=6434
  392.  
  393. [American Spell Files]
  394. 1,msspell.dl$,RENAME=msspell.dll,SIZE=76800,DEST=$(SH_SP110DP), VERSION="1,0,0,0"
  395. 1,mssp_am.le$,RENAME=mssp_am.lex,SIZE=176839,DEST=$(SH_SP110LP)
  396. 1,thesaur.dl$,RENAME=thesaur.dll,SIZE=11255
  397. 1,thesaur.le$,RENAME=thesaur.lex,SIZE=353587
  398.  
  399. [Spell Files]
  400. ; foreign spell files too (this list is the UNION of all)...
  401. 1,msspell.dl$,RENAME=msspell.dll,SIZE=76800,DEST=$(SH_SP110DP), VERSION="1,0,0,0"
  402. 1,mssp_am.le$,RENAME=mssp_am.lex,SIZE=176839,DEST=$(SH_SP110LP)
  403. 1,thesaur.dl$,RENAME=thesaur.dll,SIZE=11255
  404. 1,thesaur.le$,RENAME=thesaur.lex,SIZE=353587
  405. 1,setup.exe,RENAME=setup.exe,SIZE=16000
  406. 1,stfsetup.ex$,RENAME=stfsetup.ex$,SIZE=155376
  407. 1,network.inf,RENAME=network.inf,SIZE=32992
  408. 1,ver.dl$,RENAME=ver.dl$,SIZE=18414
  409. 2,olecli.dl$,RENAME=olecli.dln,SIZE=75264, VERSION="1,2,0,0"
  410. 2,olesvr.dl$,RENAME=olesvr.dln,SIZE=22528, VERSION="1,2,1,0"
  411. 2,shell.dl$,RENAME=shell.dln,SIZE=24384, VERSION="3,10,0,43"
  412. 1,readme.tx$,RENAME=readme.txt,SIZE=2958
  413.  
  414. [Draw Files]
  415. 2,msdraw.ex$,RENAME=msdraw.exe,SIZE=574256,DEST=$(WINDOWSPATH)$(MSDrawPath), VERSION="1,0,0,32768"
  416. 2,16colors.pa$,RENAME=16colors.pal,SIZE=162,DEST=$(WINDOWSPATH)$(MSDrawPath)
  417. 2,17grays.pa$,RENAME=17grays.pal,SIZE=162,DEST=$(WINDOWSPATH)$(MSDrawPath)
  418. 2,47colors.pa$,RENAME=47colors.pal,SIZE=238,DEST=$(WINDOWSPATH)$(MSDrawPath)
  419. 2,86colors.pa$,RENAME=86colors.pal,SIZE=394,DEST=$(WINDOWSPATH)$(MSDrawPath)
  420. 2,geni.pa$,RENAME=geni.pal,SIZE=410,DEST=$(WINDOWSPATH)$(MSDrawPath)
  421. 4,2darrow1.wm$,RENAME="clipart\2darrow1.wmf",SIZE=1750
  422. 4,2darrow2.wm$,RENAME="clipart\2darrow2.wmf",SIZE=2742
  423. 4,2doorvan.wm$,RENAME="clipart\2doorvan.wmf",SIZE=7798
  424. 4,3darrow1.wm$,RENAME="clipart\3darrow1.wmf",SIZE=1878
  425. 4,3darrow2.wm$,RENAME="clipart\3darrow2.wmf",SIZE=2422
  426. 4,3darrow3.wm$,RENAME="clipart\3darrow3.wmf",SIZE=1974
  427. 4,3darrow4.wm$,RENAME="clipart\3darrow4.wmf",SIZE=1558
  428. 4,3darrow5.wm$,RENAME="clipart\3darrow5.wmf",SIZE=1430
  429. 4,3dskylne.wm$,RENAME="clipart\3dskylne.wmf",SIZE=7766
  430. 4,5ppuzzle.wm$,RENAME="clipart\5ppuzzle.wmf",SIZE=3766
  431. 4,ambulanc.wm$,RENAME="clipart\ambulanc.wmf",SIZE=8022
  432. 4,binder.wm$,RENAME="clipart\binder.wmf",SIZE=1462
  433. 4,blusedan.wm$,RENAME="clipart\blusedan.wmf",SIZE=9590
  434. 4,books.wm$,RENAME="clipart\books.wmf",SIZE=4470
  435. 4,capitol.wm$,RENAME="clipart\capitol.wmf",SIZE=3414
  436. 4,chekmark.wm$,RENAME="clipart\chekmark.wmf",SIZE=694
  437. 4,circles.wm$,RENAME="clipart\circles.wmf",SIZE=2262
  438. 4,cityview.wm$,RENAME="clipart\cityview.wmf",SIZE=9174
  439. 4,clmnbldg.wm$,RENAME="clipart\clmnbldg.wmf",SIZE=4854
  440. 4,coins.wm$,RENAME="clipart\coins.wmf",SIZE=7798
  441. 4,crowd.wm$,RENAME="clipart\crowd.wmf",SIZE=10038
  442. 4,crutches.wm$,RENAME="clipart\crutches.wmf",SIZE=2966
  443. 4,dictnary.wm$,RENAME="clipart\dictnary.wmf",SIZE=4886
  444. 4,disk35.wm$,RENAME="clipart\disk35.wmf",SIZE=1238
  445. 4,disk525.wm$,RENAME="clipart\disk525.wmf",SIZE=1590
  446. 4,factory.wm$,RENAME="clipart\factory.wmf",SIZE=5270
  447. 4,gears.wm$,RENAME="clipart\gears.wmf",SIZE=5302
  448. 4,gradcap.wm$,RENAME="clipart\gradcap.wmf",SIZE=1334
  449. 4,helicptr.wm$,RENAME="clipart\helicptr.wmf",SIZE=5846
  450. 4,hndwrtng.wm$,RENAME="clipart\hndwrtng.wmf",SIZE=3126
  451. 4,man&desk.wm$,RENAME="clipart\man&desk.wmf",SIZE=3414
  452. 4,man.wm$,RENAME="clipart\man.wmf",SIZE=3510
  453. 4,mapmen.wm$,RENAME="clipart\mapmen.wmf",SIZE=11286
  454. 4,money.wm$,RENAME="clipart\money.wmf",SIZE=2678
  455. 4,multarw1.wm$,RENAME="clipart\multarw1.wmf",SIZE=726
  456. 4,multarw2.wm$,RENAME="clipart\multarw2.wmf",SIZE=790
  457. 4,multarw4.wm$,RENAME="clipart\multarw4.wmf",SIZE=982
  458. 4,nurse.wm$,RENAME="clipart\nurse.wmf",SIZE=4150
  459. 4,policecr.wm$,RENAME="clipart\policecr.wmf",SIZE=8726
  460. 4,running.wm$,RENAME="clipart\running.wmf",SIZE=7190
  461. 4,schlfish.wm$,RENAME="clipart\schlfish.wmf",SIZE=5110
  462. 4,speaker.wm$,RENAME="clipart\speaker.wmf",SIZE=9398
  463. 4,star.wm$,RENAME="clipart\star.wmf",SIZE=630
  464. 4,thermmtr.wm$,RENAME="clipart\thermmtr.wmf",SIZE=2134
  465. 4,triangle.wm$,RENAME="clipart\triangle.wmf",SIZE=790
  466. 4,vichouse.wm$,RENAME="clipart\vichouse.wmf",SIZE=9526
  467. 4,woman.wm$,RENAME="clipart\woman.wmf",SIZE=5302
  468. 4,yacht.wm$,RENAME="clipart\yacht.wmf",SIZE=5750
  469.  
  470. [Converter Files]
  471. 1,wpft5.cn$,RENAME=wpft5.cnv,SIZE=172352,DEST=$(SH_CWPP)
  472. 1,wordwin1.cn$,RENAME=wordwin1.cnv,SIZE=142848,DEST=$(SH_CWORDP)
  473. 1,writwin.cn$,RENAME=writwin.cnv,SIZE=71168,DEST=$(SH_CWRITEP)
  474. 1,wrkswin.cn$,RENAME=wrkswin.cnv,SIZE=89264,DEST=$(SH_CWORKSP)
  475. 1,pcximp.fl$,RENAME=pcximp.flt,SIZE=12912,DEST=$(SH_CPCXP), VERSION="2,0,0,32768"
  476. 1,cgmimp.fl$,RENAME=cgmimp.flt,SIZE=44640,DEST=$(SH_CCGMP), VERSION="2,0,0,32768"
  477. 1,tiffimp.fl$,RENAME=tiffimp.flt,SIZE=58880,DEST=$(SH_CTIFP), VERSION="2,0,0,32768"
  478. 1,epsimp.fl$,RENAME=epsimp.flt,SIZE=71648,DEST=$(SH_CEPSP), VERSION="2,0,0,32768"
  479.  
  480. [DLLs]
  481. 5,olecli.dln,RENAME=olecli.dll,SIZE=75264,$(COPYOLECLI),DEST=$(SYSTEMPATH), VERSION="1,2,0,0"
  482. 5,olesvr.dln,RENAME=olesvr.dll,SIZE=22528,$(COPYOLESVR),DEST=$(SYSTEMPATH), VERSION="1,2,1,0"
  483. 5,shell.dln,RENAME=shell.dll,SIZE=24384,$(COPYSHELL),DEST=$(SYSTEMPATH), VERSION="3,10,0,43"
  484. 5,regload.exe,RENAME=regload.exe,SIZE=21504
  485. 5,msworks.reg,RENAME=msworks.reg,SIZE=2065,OVERWRITE=ALWAYS
  486.  
  487. [UI Temp Vars]
  488. MODE = FULL
  489. ANYFILESEXIST = "FALSE"
  490. OPTIONS-PICKED = {ON, ON, ON, ON, ON, ON}
  491. GROUPLIST = {"Program Files", "Help Files", "Cbt Files", +
  492.                 $(SPELLER)" Spell Files", "Converter Files", "Draw Files"}
  493.  
  494. [Normal File Groups]
  495. @("Program Files")
  496. @("Help Files")
  497. @("Cbt Files")
  498. @($(SPELLER)" Spell Files")
  499. @("Converter Files")
  500. @("Draw Files")
  501.  
  502. [MultiMedia File Groups]
  503. "@(Program Files)"
  504. "@(MMHelp Files)"
  505. "@(MMCbt Files)"
  506. "@(Spell Files)"
  507. "@(Converter Files)"
  508. "@(Draw Files)"
  509.  
  510. [Shell Commands]
  511.     read-syms    "UI Localizable Vars"
  512.     read-syms    "UI Temp Vars"
  513.     set-title    $(Setup_Title)
  514.     set-subst    CustomHelpText = $(CustomHelpText)
  515.     set-subst    PathHelpText = $(PathHelpText)
  516.     set-subst    MMWindowsNotFound = $(MMWindowsNotFound)
  517.     set-subst    DestinationText = $(DestinationText)
  518.     set-subst    FinishedText = $(FinishedText)
  519.     set-subst    ExitText = $(ExitText)
  520.     set-subst    CompleteText = $(CompleteText)
  521.     set-subst     DuringInstallText = $(DuringInstallText)
  522.     set-subst     InsertDisk = $(InsertDisk)
  523.  
  524.     set COPYSHELL = "COPY"
  525.     set COPYOLECLI = "COPY"
  526.     set COPYOLESVR = "COPY"
  527.  
  528. ;    set SPELLER = $(BIGSPELLER)
  529.     set fMultiMedia = "NO"
  530.     set fdbDoFileInstall = "YES"
  531.  
  532.     ui    start "InitStuff"
  533.     ui    start "FRunBefore"
  534.     set fRunBefore = $(ANSWER)
  535.  
  536.     IfStr(I) $(fMultiMedia) == "YES"
  537.         ui    start    "DetectMMWindows"
  538.         IfStr(I) $(ANSWER) == "NO"
  539.             set-subst szText = $(MMWindowsNotFound)
  540.             ui    start "MessageBox"
  541.             goto "exit"
  542.         endif
  543. PlayMe = set from = PlayMe
  544.         ui start "PlayMeDialog"
  545.         ifstr(i) $(DLGEVENT) == "YES"
  546.             ui  pop 1
  547.             detect "RunPlayMeApp"
  548.             ui    start "RunPlayMeApp"
  549.         else-ifstr(i) $(DLGEVENT) == "EXIT"
  550.             goto "quit"
  551.         else
  552.              ui  pop 1
  553.         endif
  554.     endif
  555.  
  556.     ui    start "GetWindowsDirectory"
  557.     IfStr(I) $(ANSWER) == "NO"
  558.         set-subst szText = $(BadWindowPath)
  559.         ui    start "MessageBox"
  560.         goto "exit"
  561.     endif
  562.     ui    start "GetSystemDirectory"
  563.     ForListDo    $(SHAREDDIRFILES)
  564.         set rginfo = $($)
  565.         ; First variable
  566.         set *($(rginfo), 5)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 7)"\"
  567.  
  568.         ; Second variable, if it exists
  569.         IfInt *($(rginfo), 8) != 0
  570.             set *($(rginfo), 9)P = $(WINDOWSPATH)"\msapps\"*($(rginfo), 11)"\"
  571.         endif
  572.  
  573.         ; See if already exist in ini file        
  574.         set iniSect = *($(rginfo), 2)
  575.         set-subsym iniKey = *($(rginfo), 1)
  576.         ui    start "DetectIniLine"
  577.         ;If they have a value already, then replace the default path
  578.         IfStr(I)  $(LINE) !=  ""
  579.             ; Get path/filename
  580.             set WHERE = *($(rginfo), 4)
  581.             ui    start    "GetPieceFromLine"
  582.             
  583.             IfStr(I) $(szParsePiece) != ""
  584.                 ui    start    FExist
  585.                 IfStr(I) $(ANSWER) == "YES"
  586.                     ; Get path from the ini line
  587.                     ui    start    "GetPathFromParsePiece"
  588.  
  589.                     IfStr(I) $(ANSWER) == "YES"
  590.                         ; Set variable to their path
  591.                         set *($(rginfo), 5)P = $(szPath)
  592.                     endif
  593.                 endif
  594.             endif
  595.             IfInt *($(rginfo), 8) != 0
  596.                 set WHERE = *($(rginfo), 8)
  597.                 ui    start    "GetPieceFromLine"
  598.                 IfStr(I) $(szParsePiece) != ""
  599.                     ui    start    FExist
  600.                     IfStr(I) $(ANSWER) == "YES"
  601.                         ; Get path from the ini line
  602.                         ui    start    "GetPathFromParsePiece"
  603.  
  604.                         IfStr(I) $(ANSWER) == "YES"
  605.                             ; Set variable to their path
  606.                             set *($(rginfo), 9)P = $(szPath)
  607.                         endif
  608.                     endif    ;ANSWER
  609.                 endif    ; file!=""
  610.             endif    ;table entry != ""
  611.         endif    ;line != ""
  612.     EndForListDo
  613.  
  614.     ; Handle custom dictionary
  615.     set CustomSpeller = $(WINDOWSPATH)"\msapps\proof\"$(CustomName)
  616.     set iniSect = "MS Proofing Tools"
  617.     set-subsym iniKey = "Custom Dict 1"
  618.     ui    start "DetectIniLine"
  619.     set szParsePiece = $(LINE)
  620.     IfStr(I) $(szParsePiece) != ""
  621.         ui    start    FExist
  622.         IfStr(I) $(ANSWER) == "YES"
  623.             set CustomSpeller = $(LINE)
  624.         endif
  625.     endif
  626.  
  627. welcome =  set from = welcome
  628.     ui    start    "Welcome"
  629.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  630.         ui  pop 1
  631.         goto "init"
  632.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  633.         goto "quit"
  634.     else
  635.         install "Error - info"
  636.         goto error
  637.     endif
  638.  
  639. init =    Init-System    1, $(IniFileName)
  640.     ui  start "FixupDestPath" 
  641.     set-subsym    CompleteText = $(CompleteText)
  642.  
  643. full =    set from = full
  644.     
  645.     set MODE = ""
  646.     ui    start   "Full"
  647.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  648.         ui  pop 1
  649.         ifstr(i) $(MODE) == "CUSTOM"
  650.             set WhereNext = "custom"
  651.             goto "path"
  652.         else-ifstr(i) $(MODE) == "FULL"
  653.             ;    Fix path up
  654.             ui  start "FixupDestPath" 
  655.  
  656.             ;     Found hard drive
  657.             IfStr(I) $(ANSWER) == "YES"
  658.                 ui    start    "StartWait"
  659.                 ui    start    "DoFileLookups" 
  660.                 ui    start    "EndWait"
  661. EnoughSpace=            ui    start    "FEnoughSpace"
  662.                 ifstr(i) $(ANSWER) == "YES"
  663.                     goto "spellerlist"
  664.                 else
  665.                     set-subst szText = $(CantDoComplete)
  666.                     ui    start "MessageBox"
  667.                     goto "custom2"
  668.                 endif
  669.             else    ; no find hard drive
  670.                 ; 'path' will put up error
  671.                 set WhereNext = "EnoughSpace"
  672.                 goto "path"
  673.             endif
  674.         endif
  675.  
  676.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  677.         goto "quit"
  678.     else
  679.         detect "Error - full"
  680.         goto error
  681.     endif
  682.  
  683. path  = set from = path
  684.     ui  start "FixupDestPath" 
  685.     IfStr(I) $(ANSWER) == "NO"
  686.         set-subst szText = $(HardDiskNotFound)
  687.         ui    start "MessageBox"
  688.         set EditTextIn = $(UNKNOWNPATH)
  689.         set EditFocus = ALL          ; END | START | ALL
  690.     else
  691.         set EditTextIn = $(DESTPATH)
  692.         set EditFocus = END          ; END | START | ALL
  693.     endif
  694.     
  695.     set HelpText = $(PathHelpText)
  696.     set HelpTitle = $(PathHelpTitle)
  697.     ui      start   "Path"
  698.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  699.         ui  pop 1
  700.         set DESTPATH = $(EditTextOut)
  701.     ui    start    "StartWait"
  702.     ui    start    "DoFileLookups" 
  703.     ui    start    "EndWait"
  704.         goto $(WhereNext)
  705.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  706.         set DESTPATH = $(EditTextOut)
  707.         goto "quit"
  708.     else
  709.         install "Error - edit"
  710.         goto error
  711.     endif
  712.  
  713. custom = set    dir1 = $(WINDOWSPATH)
  714.     set    dir2 = $(DESTPATH)
  715.     ui    start    "SameDrive"
  716.     IfStr(I) $(ANSWER) == "NO"
  717.         set-subst szText = $(DifferentDrives)
  718.         ui    start "MessageBox"
  719.     endif
  720.  
  721. custom2 = set SZCUSTOM1 = ""
  722.     set    SZCUSTOM2 = ""
  723.     set from = custom2
  724.     set HelpText = $(CustomHelpText)
  725.     set HelpTitle = $(CustomHelpTitle)
  726.     ui      start   "Custom"
  727.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  728.         set ANSWER = "NO"
  729.         ForListDo    $(OPTIONS-PICKED)
  730.             IfStr(I) $($)  ==  "ON"
  731.                 set ANSWER = "YES"
  732.             endif
  733.         EndForListDo
  734.         ifstr(i) $(ANSWER) == "NO"
  735.             set-subst szText = $(NoOptionsChecked)
  736.             ui    start "MessageBox"
  737.             goto "custom2"
  738.         endif
  739.             
  740.         ui  pop 1
  741.         goto "spellerlist"
  742.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  743.         goto "quit"
  744.     else
  745.         detect "Error - custom"
  746.         goto error
  747.     endif
  748.  
  749. spellerlist =    ifstr(I) *($(OPTIONS-PICKED), 4) == "OFF"
  750.                     goto "installnow1"      
  751.                 endif
  752.     set ListItemsIn = $(SPELLER-LIST)
  753.     set from = spellerlist
  754.     set ListItemsOut = $(DEFSPELLER)        ; default selection
  755.     set SPELLER = $(DEFSPELLER)             ; default selection
  756.     ifstr(i) $(fDoSpellerList) == "NO"
  757.         goto "SkipDlg"
  758.     endif
  759.     ui      start   "List"
  760.     set SPELLER = $(ListItemsOut)
  761.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  762.         ui  pop 1
  763. SkipDlg =     ForListDo    $(SpellerTable)
  764.             set rginfo = $($)
  765.             ifstr(i) *($(rginfo), 1) == $(SPELLER)
  766.                 ; Speller lex variable
  767.                 set SH_SP110LF = *($(rginfo), 2)
  768.                 set thesaur_lex = *($(rginfo), 3)
  769.                 set SpellerName = *($(rginfo), 4)
  770.             endif
  771.         EndForListDo
  772.  
  773.         goto "installnow1"      
  774.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  775.         goto "quit"
  776.     else
  777.         debug-msg "Error - list"
  778.         goto error
  779.     endif
  780.  
  781. quit  = ui    start  "Quit"
  782.     ifstr(i) $(DLGEVENT) == "RESUME"
  783.         ui  pop 1
  784.         goto $(from)
  785.     else
  786.         goto "exit"
  787.     endif
  788.  
  789. exit =  exit
  790.  
  791. error = write-symtab "shl-st2.new"
  792.     exit
  793.  
  794. installnow1 =     set-subst szText = $(DuringInstallText)
  795.  
  796.     ifstr(i) $(fdbDoFileInstall) != "YES"
  797.         goto exitdlg
  798.     endif
  799.     ui    start    "Modeless"
  800.  
  801.     ; If a DLL is running, then set the corresponding DOxxx to ;
  802.     set    szFile = "SHELL.DLL"
  803.     ui    start    "FRunning"
  804.     ifstr(i) $(ANSWER) == "YES"
  805.         set COPYSHELL = "!COPY"
  806.     endif
  807.  
  808.     set    szFile = "OLECLI.DLL"
  809.     ui    start    "FRunning"
  810.     ifstr(i) $(ANSWER) == "YES"
  811.         set COPYOLECLI = "!COPY"
  812.     endif
  813.  
  814.     set    szFile = "OLESVR.DLL"
  815.     ui    start    "FRunning"
  816.     ifstr(i) $(ANSWER) == "YES"
  817.         set COPYOLESVR = "!COPY"
  818.     endif
  819.  
  820.     ui    start    "FixupDestPathForIntl"
  821.     install    "Install-Files"
  822.     ifstr(I) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  823.         goto "exit"
  824.     endif
  825.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  826.         set-subst szText = $(InstallError1)
  827.         ui    start    "MessageBox"
  828.         goto "exit"
  829.     endif
  830.  
  831.     ui    start    "StartWait"
  832.     install    "Install-Shared"
  833.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  834.         ui    start    "EndWait"
  835.         set-subst szText = $(InstallError2)
  836.         ui    start    "MessageBox"
  837.         goto "exit"
  838.     endif
  839.  
  840.     ui    pop    1
  841.  
  842.     ui    start    "FixupPrinter"
  843.     install    "Install-ProgMan"
  844.     ifstr(I) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  845.         ui    start    "EndWait"
  846.         set-subst szText = $(InstallError3)
  847.         ui    start    "MessageBox"
  848.         goto "exit"    
  849.     endif
  850.  
  851.     ; Register OLE
  852.     ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  853.         set    lf = "\r\n"
  854.         set-subst    lf = $(lf)
  855.         set    File = $(WINDOWSPATH)"\msworks.reg"
  856.         set    To = $(DESTPATH)"\"$(MSWorksExe)" %1"$(lf)
  857.         set    From = $(MSWorksExe)" %1"$(lf)
  858.         ui    start "FileFilter"
  859.  
  860.         set    File = $(WINDOWSPATH)"\msworks.reg"
  861.         set    To = $(DESTPATH)"\"$(MSWorksExe)$(lf)
  862.         set    From = $(MSWorksExe)$(lf)
  863.         ui    start "FileFilter"
  864.  
  865.         set    File = $(WINDOWSPATH)"\msworks.reg"
  866.         set    To = $(WINDOWSPATH)$(NoteItPath)$(NoteItExe)$(lf)
  867.         set    From = $(NoteItExe)$(lf)
  868.         ui    start "FileFilter"
  869.  
  870.         set    File = $(WINDOWSPATH)"\msworks.reg"
  871.         set    To = $(WINDOWSPATH)$(MSDrawPath)$(MSDrawExe)$(lf)
  872.         set    From = "MSDRAW.EXE"$(lf)
  873.         ui    start "FileFilter"
  874.  
  875.         set szFile = $(WINDOWSPATH)"\regload.exe /s msworks.reg"
  876.         ui    start    "RunExe"
  877.         ifstr(I) $(ANSWER) != "YES"
  878.             set-subst szText = $(RegistrationFailed)
  879.             ui    start    "MessageBox"
  880.             ui    start    "EndWait"
  881.             goto "exit"
  882.         endif
  883.     endif
  884.     ui    start    "EndWait"
  885.  
  886. exitdlg =    ui      start   "Exit"
  887.     ui  pop 1
  888.     ifstr(i) $(DLGEVENT) == "R"
  889.         set szPath = $(DESTPATH)
  890.         ui    start    "ChDriveDir"
  891.         set szFile = $(DESTPATH)"\"$(MSWorksExe)
  892.         ui    start    "StartWait"
  893.         ui    start    "RunExe"
  894.         ui    start    "EndWait"
  895.     endif
  896. exit
  897.  
  898. [Install-Shared]
  899. ; Add shared files to win.ini
  900. ForListDo    $(SHAREDDIRFILES)
  901.      ; Only install it if the group was checked
  902.     set rginfo = $($)
  903.     Ifstr(i) *($(OPTIONS-PICKED), *($(rginfo), 12)) == "ON"
  904.         CreateIniSection "WIN.INI", *($(rginfo), 2)
  905.          set File1 = $(*($(rginfo), 5)P)*($(rginfo), 6)
  906.          IfInt *($(rginfo), 8) != 0
  907.              set-subsym File2 = $(*($(rginfo), 9)P)*($(rginfo), 10)
  908.          endif
  909.          Set-Subsym sz = *($(rginfo), 3)
  910.          Set-Subsym sz2 = *($(rginfo), 1)
  911.          CreateIniKeyValue "WIN.INI", *($(rginfo), 2), $(sz2), $(sz), O
  912.     endif
  913. EndForListDo
  914.  
  915. ifstr(I) *($(OPTIONS-PICKED), 4) == "ON"
  916.     CreateIniKeyValue "WIN.INI", "MS Proofing Tools", +
  917.         "Custom Dict 1", $(CustomSpeller), O
  918. endif
  919. exit
  920.  
  921. [Install-ProgMan]
  922. ;    Add extentions to ini
  923. CreateIniSection "WIN.INI", "Extensions"
  924. CreateIniKeyValue "WIN.INI", "Extensions", "wdb", $(DESTPATH)"\"$(MSWorksExe)" ^.wdb", O
  925. CreateIniKeyValue "WIN.INI", "Extensions", "wps", $(DESTPATH)"\"$(MSWorksExe)" ^.wps", O
  926. CreateIniKeyValue "WIN.INI", "Extensions", "wks", $(DESTPATH)"\"$(MSWorksExe)" ^.wks", O
  927. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  928.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Wizards"
  929.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard1", +
  930.         $(Wizard1Desc), O
  931.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard2", +
  932.         $(Wizard2Desc), O
  933.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Wizards", "Wizard3", +
  934.         $(Wizard3Desc), O
  935.     CreateIniSection "win.ini", "OLE"
  936.     CreateIniKeyValue "win.ini", "OLE", "nomessagebox", "yes"
  937. endif    
  938.  
  939. CreateIniSection $(WINDOWSPATH)"\msworks.ini", "MS Works"
  940. ifstr(I) *($(OPTIONS-PICKED), 3) == "ON"
  941.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "MS Works", +
  942.     "DoWelcome", "1", O
  943. else
  944.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "MS Works", +
  945.     "DoWelcome", "0"
  946. endif
  947.  
  948. ifstr(I) *($(OPTIONS-PICKED), 4) == "ON"
  949.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Word Processor"
  950.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Word Processor", +
  951.         "Speller", $(SpellerName), O
  952.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Word Processor", +
  953.         "CustomDict", "Custom Dict 1", O
  954.  
  955.     CreateIniSection $(WINDOWSPATH)"\msworks.ini", "Thesaurus"
  956.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Thesaurus", +
  957.         "LibPath", $(DESTPATH)"\"$(THESAURDLL), O
  958.     CreateIniKeyValue $(WINDOWSPATH)"\msworks.ini", "Thesaurus", +
  959.         "DictPath", $(DESTPATH)"\"$(thesaur_lex), O
  960. endif
  961.  
  962. ;    Add group and files to group
  963. ifstr(I) *($(OPTIONS-PICKED), 1) == "ON"
  964.     CreateProgManGroup    $(ProgManGroup), "" 
  965.     ShowProgManGroup    $(ProgManGroup), "1" 
  966.     CreateProgManItem    $(ProgManGroup), $(MSWorks), $(DESTPATH)"\"$(MSWorksExe)
  967.     CreateProgManItem    $(ProgManGroup), $(SolutionFileDesc), "winhelp.exe "$(DESTPATH)"\"$(SolutionFileExe)
  968.     Close-System "Program Files", "EXE", $(DESTPATH), "291", "191"
  969. endif
  970. exit
  971.  
  972. [Install-Files]
  973. set STF_DATE = $(SHIPDATE)
  974. set STF_OVERWRITE = OLDER
  975. ForListDo    $(OPTIONS-PICKED)
  976.     IfStr(I) $($)  ==  "ON"
  977.         IfStr(I) $(fMultiMedia) == "YES"
  978.             AddNthSectionFileToCopyList "MultiMedia File Groups", $(#), $(STF_SRCDIR), $(DESTPATH)
  979.         else
  980.             AddNthSectionFileToCopyList "Normal File Groups", $(#), $(STF_SRCDIR), $(DESTPATH)
  981.         endif
  982.     endif
  983. EndForListDo
  984. CopyFilesInCopyList
  985. exit
  986. ;Version# 54
  987.