home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / a / a563 / 1.ddi / CUST720K.IN$ / CUST720K.bin
Encoding:
INI File  |  1993-05-07  |  41.5 KB  |  1,328 lines

  1. [Source Media Descriptions]
  2. 1 = "Disk 1", TAGFILE = "COMMDLG.DL$"
  3. 2 = "Disk 2", TAGFILE = "MSAES110.DL$"
  4. 3 = "Disk 3", TAGFILE = "MSARN111.EX$"
  5. 4 = "Disk 4", TAGFILE = "MSABC110.DL$"
  6. 5 = "Disk 5", TAGFILE = "MSAJT110.DL$"
  7.  
  8. [Standard Setup Files]
  9.  
  10. ; These files MUST be on Disk 1: COMMDLG.DL$, COMMDLG.DL_,
  11. ; DDEML.DL$, DETCMD.DL_, SETUP.EXE, SETUP.INI, SMALLB.FO$
  12. ; SMALLE.FO$, SMALLF.FO$, STFSETUP.EX_, VER.DL$, VER.DL_
  13. ; WORKGRP.IN_, STFSETUP.IN_
  14.  
  15. 1 , CTL3D.DL$, RENAME=CTL3D.DLL, DEST=$(SystemPath), VERSION="1,1,3,0"
  16. 1 , ORDENTRY.IN$, RENAME=ORDENTRY.INI, DEST=$(WindowsPath)
  17. 1 , ORDENTRY.IC$, RENAME=ORDENTRY.ICO, DEST=$(AppPath)
  18.  
  19. ; These files MUST be on Disk 2: WINHELP.EX$, WINHELP.HL$, 
  20. ; GRAPH.EX$, REGEDIT.EX$, SHARE.EX$, OLECLI.DL$, OLESVR.DL$, SHELL.DL$
  21.  
  22. 2 , MSAES110.DL$, RENAME=MSAES110.DLL, DEST=$(SystemPath), VERSION="1,10,0,0"
  23. 2 , MSAFIN.DL$, RENAME=MSAFIN.DLL, DEST=$(WindowsPath), VERSION="1,10,0,0"
  24. 2 , MSAJU110.DL$, RENAME=MSAJU110.DLL, DEST=$(AppPath), VERSION="1,10,0,10"
  25.  
  26. 3 , MSARN111.EX$, RENAME=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
  27.  
  28. 4 , MSABC110.DL$, RENAME=MSABC110.DLL, DEST=$(SystemPath), VERSION="1,11,0,10"
  29. 4 , MSAIN110.DL$, RENAME=MSAIN110.DLL, DEST=$(AppPath), VERSION="1,10,0,0"
  30. 4 , UTILITY.MD$, RENAME=UTILITY.MDA, DEST=$(AppPath)
  31. 4 , MSARN112.EX$, APPEND=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
  32. 4 , PDX110.DL$, RENAME=PDX110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  33. 4 , XBS110.DL$, RENAME=XBS110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  34. 4 , ORDENTRY.HL$, RENAME=ORDENTRY.HLP, DEST=$(AppPath)
  35.  
  36. 5 , MSAJT110.DL$, RENAME=MSAJT110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  37. 5 , BTRV110.DL$, RENAME=BTRV110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  38. 5 , ORDENTRY.MD$, RENAME=ORDENTRY.MDB, DEST=$(AppPath)
  39.  
  40. [Network Setup Files]
  41. 1 , CTL3D.DL$, !DECOMPRESS
  42. 1 , ORDENTRY.IN$, !DECOMPRESS
  43. 1 , ORDENTRY.IC$, !DECOMPRESS
  44. 2 , MSAES110.DL$, !DECOMPRESS
  45. 2 , MSAFIN.DL$, !DECOMPRESS
  46. 2 , MSAJU110.DL$, !DECOMPRESS
  47. 3 , MSARN111.EX$, !DECOMPRESS
  48. 4 , MSABC110.DL$, !DECOMPRESS
  49. 4 , MSAIN110.DL$, !DECOMPRESS
  50. 4 , UTILITY.MD$, !DECOMPRESS
  51. 4 , MSARN112.EX$, !DECOMPRESS
  52. 4 , PDX110.DL$, !DECOMPRESS
  53. 4 , XBS110.DL$, !DECOMPRESS
  54. 4 , ORDENTRY.HL$, !DECOMPRESS
  55. 5 , MSAJT110.DL$, !DECOMPRESS
  56. 5 , BTRV110.DL$, !DECOMPRESS
  57. 5 , ORDENTRY.MD$, !DECOMPRESS
  58.  
  59. [Multiuser Files]
  60. 1 , CTL3D.DL$, RENAME=CTL3D.DLL, DEST=$(SystemPath), VERSION="1,1,3,0"
  61. 1 , ORDENTRY.IN$, RENAME=ORDENTRY.INI, DEST=$(WindowsPath)
  62. 1 , ORDENTRY.IC$, RENAME=ORDENTRY.ICO, DEST=$(AppPath)
  63. 2 , MSAES110.DL$, RENAME=MSAES110.DLL, DEST=$(SystemPath), VERSION="1,10,0,0"
  64. 2 , MSAFIN.DL$, RENAME=MSAFIN.DLL, DEST=$(WindowsPath), VERSION="1,10,0,0"
  65. 2 , MSAJU110.DL$, RENAME=MSAJU110.DLL, DEST=$(AppPath), VERSION="1,10,0,10"
  66. 3 , MSARN111.EX$, RENAME=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
  67. 4 , MSABC110.DL$, RENAME=MSABC110.DLL, DEST=$(SystemPath), VERSION="1,11,0,10"
  68. 4 , MSAIN110.DL$, RENAME=MSAIN110.DLL, DEST=$(AppPath), VERSION="1,10,0,0"
  69. 4 , UTILITY.MD$, RENAME=UTILITY.MDA, DEST=$(AppPath)
  70. 4 , MSARN112.EX$, APPEND=MSARN110.EXE, DEST=$(AppPath), VERSION="1,10,0,0"
  71. 4 , PDX110.DL$, RENAME=PDX110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  72. 4 , XBS110.DL$, RENAME=XBS110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  73. 4 , ORDENTRY.HL$, RENAME=ORDENTRY.HLP, DEST=$(AppPath)
  74. 5 , MSAJT110.DL$, RENAME=MSAJT110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  75. 5 , BTRV110.DL$, RENAME=BTRV110.DLL, DEST=$(SystemPath), VERSION="1,10,0,10"
  76. 5 , ORDENTRY.MD$, RENAME=ORDENTRY.MDB, DEST=$(AppPath)
  77.  
  78. [Net INI]
  79. 1 , ORDENTRY.IN$, RENAME=ORDENTRY.INI, DEST=$(WindowsPath)
  80.  
  81. [Program Manager]
  82. CreateProgManGroup $(ProgGroupDesc), "ORDENTRY"
  83. CreateProgManItem $(ProgGroupDesc), "Order Entry Sample Application", $(AppPath)"MSARN110.EXE ORDENTRY.MDB /Ini ORDENTRY.INI", $(AppPath)"ORDENTRY.ICO"
  84. Exit
  85.  
  86.  
  87. [INI File]
  88. CreateIniKeyValue, $(WindowsPath)$(IniFileName) "ODBC", "QueryTimeout", "60", O
  89. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "ODBC", "LoginTimeout", "20", O
  90. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "ISAM", "PageTimeout", "300", O
  91.  
  92. ;Paradox section
  93. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs", "Paradox 3.X", $(SystemPath)"PDX110.DLL", O
  94. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Paradox ISAM", "ParadoxUserName", $(UserName), O
  95. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Paradox ISAM", "ParadoxNetPath", $(SystemPath), O
  96. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Paradox ISAM", "CollatingSequence", "Ascii", O
  97.  
  98. ;dBase section
  99. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs", "FoxPro 2.0", $(SystemPath)"XBS110.DLL", O
  100. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs", "dBASE III", $(SystemPath)"XBS110.DLL", O
  101. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs", "dBASE IV", $(SystemPath)"XBS110.DLL", O
  102. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "dBase ISAM", "CollatingSequence", "Ascii", O
  103. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "dBase ISAM", "Century", "Off", O
  104. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "dBase ISAM", "Date", "American", O
  105. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "dBase ISAM", "Mark", "47", O
  106. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "dBase ISAM", "Deleted", "Off", O
  107.  
  108. ;Btrieve section
  109. CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs", "Btrieve", $(SystemPath)"BTRV110.DLL", O
  110. CreateIniKeyValue, $(WindowsPath)"WIN.INI", "btrieve", "options", "/m:64 /p:4096 /b:16 /f:20 /l:40 /n:12 /t:"$(SystemPath)"BTRIEVE.TRN", O
  111.  
  112. ; RemoveIniSection, $(WindowsPath)$(IniFileName), "Section"
  113. ; RemoveIniKey, $(WindowsPath)$(IniFileName), "Section", "IniKey"
  114. ; CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Section", "IniKey", "Value"
  115. Exit
  116.  
  117.  
  118. [Custom]
  119. NameOfApp="Order Entry Sample Application"
  120. InstallGraph="YES"
  121. InstallChangeWorkGroup="YES"
  122. Serial#="12-123-1234"
  123. DefaultPath=":\\ORDENTRY\\"
  124. RunExeName="MYEXE.EXE"
  125. RunExePrompt="Please Insert Disk 5"
  126. IniFileName="ORDENTRY.INI"
  127. ProgGroupDesc="Order Entry Sample Application"
  128.  
  129.  
  130. ;===========================================================================
  131. ; DO NOT MODIFY BELOW THIS LINE
  132. ;===========================================================================
  133.  
  134. [Release Date]
  135.     STF_DATE = "1993-01-01"
  136.  
  137. [Release Date]
  138.     STF_DATE = "1993-05-05"
  139. [Admin Title]
  140.     Title = $(NameOfApp)" Server Setup"
  141.  
  142. [Title]
  143.     Title = $(NameOfApp)" Setup"
  144.  
  145. [Network Title]
  146.     Title = $(NameOfApp)" Workstation Setup"
  147.  
  148. [Ole Reg]
  149.     OLEText = "Installing OLE application(s)..."
  150.     RegFilePath = $(WindowsPath)"MSACCESS.REG"            ;don't localize
  151.     RegCommand = $(WindowsPath)"REGEDIT.EXE /S /U "$(RegFilePath)   ;don't localize
  152.  
  153. ;just the last line of [shared files] need localization
  154. [Shared Files]
  155.     SharedFiles = { "COMMDLG.DLL", "DDEML.DLL", "OLECLI.DLL", "OLESVR.DLL", "SHELL.DLL", "VER.DLL" }
  156.     Versions = { $(VERCOMMDLG), $(VERDDEML), $(VEROLECLI), $(VEROLESVR), $(VERSHELL), $(VERVER) }
  157.     SFCopySymbols = { "COPYCOMMDLG", "COPYDDEML", "COPYOLECLI", "COPYOLESVR", "COPYSHELL", "COPYVER" }
  158.     STF_MB_TYPE = 1
  159.     STF_MB_DEF = 1
  160.     STF_MB_ICON = 3
  161.     STF_MB_TEXT = "This file is being used by another application. "$(NameOfApp)" Setup can't update it.  Please exit Windows and run "$(NameOfApp)" Setup from the MS-DOS command prompt. "+
  162. " Insert your Setup disk in drive A, type a: setup, and then press Enter."
  163.  
  164. [Path Dialog]
  165.     GetPathMessBoxTitle = $(NameOfApp)" Specify Directory"
  166.     GetPathMessBoxText  = "The path you specified isn't valid or doesn't start with a drive name. "
  167.  
  168. [WorkGroup Path Dialog]
  169.     GetPathMessBoxTitle = $(NameOfApp)" Specify Workgroup"
  170.     GetPathMessBoxText  = "The path you specified isn't valid or doesn't start with a drive name."
  171.     GetSysMdaErr = "Setup couldn't find SYSTEM.MDA in the directory you specified."
  172.  
  173. [Quit Dialog]
  174.     QuitText1  = "The setup process is not complete. If you exit now, "$(NameOfApp)" won't be properly installed, and you'll have to run Setup again before you can run "$(NameOfApp)"."
  175.  
  176. [CheckSpace Dialog]
  177.     ModelessText = $(NameOfApp)" Setup will now check for:\n\n"+
  178.     "  - Available disk space.\n"+
  179.     "  - Existing copies of "$(NameOfApp)" files.\n"+
  180.     "  - Required space for "$(NameOfApp)" \n"+
  181.     "    options."
  182.  
  183. [CopyList Dialog]
  184.     ModelessText = "Please wait while Setup determines which disks and files to copy."
  185.  
  186. [Select MultiUser]
  187.     STF_MB_TYPE = 3
  188.     STF_MB_TITLE = "Multiuser Installation"
  189.     STF_MB_ICON = 4
  190.     STF_MB_DEF = 3
  191.     STF_MB_TEXT = "If you join a workgroup, you can access secured databases created by other people in your workgroup.\n\n"+
  192.                   "Do you want to join an existing workgroup?"
  193.  
  194. [Wrong Mda Spec]
  195.     STF_MB_TYPE = 3
  196.     STF_MB_TITLE = "Multiuser Installation"
  197.     STF_MB_ICON = 2
  198.     STF_MB_DEF = 1
  199.     STF_MB_TEXT = "The path you specified doesn't exist."
  200.     
  201. [Default]
  202.     ContBut    = "&Continue"
  203.     ExitBut    = "E&xit"
  204.     HelpBut    = "&Help"
  205.     BackBut    = "&Back"
  206.     NoLocalHD = "Setup can't detect a hard drive in your machine.  Single-user installation requires a local hard drive.  Setup will now quit."
  207.     SYSMDAFILE = "SYSTEM.MDA"
  208.     SYSINI = "SYSTEM.INI"
  209.     BOOTSECT = "boot"  ;refers to section in system.ini
  210.     NETDRIVER = "NETWORK.DRV"
  211.     NUMLOCKS = "500"
  212.     WINLANG  = "Unknown language"
  213.     CIRLANG  = "U.S. English"    ;localizer, need to edit for diff. lang.
  214.     LANGUAGE = "0409"            ; windows language code, need to be localized
  215.     ADMININTALL = "INSTALL\\"   ; directory name
  216.     SetupExeCmd = "stfsetup /w"
  217.     CODEPAGE = "04E4"
  218.     SER_LOC = "00-077-0100"
  219.     AppExeName = "msarn110"
  220.  
  221. [Installation]
  222.     ; Text of the dialog appearing while files are being copied
  223.     WhileInstallText="Now would be a great time to fill out your "+
  224.     "registration card.  When you send it in, Microsoft will:\n\n"+
  225.     "  - Inform you of product updates.\n  - Offer you customer "+
  226.     "support.\n  - Send you information about\n    related "+
  227.     "Microsoft products."
  228.     ContinueButtonDesc = "&Continue anyway"
  229.     ExitButtonDesc = "&Quit installing "$(NameOfApp)
  230.     BackButtonDesc = "Specify &different installation options"
  231. ;Localizer, do not localize the following strings.
  232.     szAdditionalNeeded = "AdditionalNeeded"
  233.     szTotalFree = "TotalFree"
  234.     szTotalNeeded = "TotalNeeded"
  235.     szFreePerDisk = "FreePerDisk"
  236.     szClusterPerDisk = "ClusterPerDisk"
  237.     szTroublePairs = "TroublePairs"
  238.     szNeededPerDisk = "NeededPerDisk"
  239.     szExtraCosts = "ExtraCosts"
  240.  
  241. [No Space Cir]
  242.     PromptAdditional = "To complete this installation, you need an additional "$(ADDCIR)"K bytes free on your "$(NameOfApp)" ("$(CIRDRIVE)") drive. "+
  243.     " Do you want to continue?"
  244.  
  245. [No Space Win]
  246.     PromptAdditional = "To complete this installation, you need an additional "$(ADDWIN)"K bytes free on your Windows ("$(WINDRIVE)") drive.  Do you want to continue?"
  247.  
  248. [No Space Both]
  249.     PromptAdditional = "To complete this installation, you need an additional "$(ADDWIN)"K bytes free on your Windows ("$(WINDRIVE)") drive "+
  250.     "and an additional "$(ADDCIR)"K bytes free on your "$(NameOfApp)" ("$(CIRDRIVE)") drive.  Do you want to continue?"
  251.  
  252. [Registration Failed]
  253.     STF_MB_TEXT = "OLE installation failed.  Check your available disk space and reinstall the OLE option before attempting to run "$(NameOfApp)"."
  254.  
  255. [Setup Aborted]
  256.     STF_MB_TEXT = "You quit Setup during the installation phase.  "$(NameOfApp)" is not properly installed.  You must run Setup again before you can run "$(NameOfApp)"."
  257.  
  258. [INI Failed]
  259.     STF_MB_TEXT  = "Setup couldn't update one or more INI files.  Check your available disk space.   You must run Setup again before you can run "$(NameOfApp)"."
  260.  
  261. [Init Options Failed]
  262.     STF_MB_TEXT  = "Setup can't find your Windows directory.  Add the Windows directory to the path in your AUTOEXEC.BAT file, and then restart Windows and run Setup again."
  263.  
  264. [UNC]    
  265.     STF_MB_TEXT = "The path you enter to start "$(NameOfApp)" Setup must begin with a drive letter.  If you're installing from a network, connect to the server before you run Setup."    
  266.  
  267. [Setup Failed]
  268.     STF_MB_TEXT = "An error has occurred during Setup.  Please make sure you are not out of disk space."
  269.  
  270. [Detect Failed]
  271.     STF_MB_TEXT = "Detect component of "$(NameOfApp)" failed.  Setup will now quit."
  272.  
  273. [FILES Warning Dialog]
  274.     STF_MB_TEXT = "The FILES setting in your config.sys file is less than 50.  "+
  275.       "This means that you may have difficulty running MS-DOS applications while you are running "$(NameOfApp)".\r\n\r\n"+
  276.       "You should increase the FILES setting to 50."
  277.  
  278. [Wrong Commdlg]
  279.     STF_MB_TEXT = "If you want, you can install a different version of COMMDLG.DLL, so that dialog boxes shared by several applications (including "$(NameOfApp)") will be in "$(CIRLANG)"."+
  280.       "If you don't install the new version of COMMDLG.DLL, dialog boxes shared by several applications will be in "$(WINLANG)". (You can get all language versions of COMMDLG.DLL from Product Support.) \r\n\r\n"+
  281.       "Do you want to install the "$(CIRLANG)" version of COMMDLG.DLL  and save the original version as COMMDLG.BAK?\r\n"
  282.                   
  283.     STF_MB_TITLE = $(Title)
  284.     STF_MB_TYPE = 3
  285.     STF_MB_DEF = 1
  286.     STF_MB_ICON = 4
  287.  
  288. [Wrong Commdlg Language]
  289.     STF_MB_TEXT = "Setup has detected a different language version of COMMDLG.DLL. "+
  290.       "This means that some information in "$(NameOfApp)" dialog boxes will be in "$(WINLANG)"."
  291.     STF_MB_TITLE = $(Title)
  292.     STF_MB_TYPE = 1
  293.     STF_MB_DEF = 1
  294.     STF_MB_ICON = 5
  295.  
  296. [Wrong Help]
  297.     STF_MB_TEXT = "You have a different version of WINHELP.EXE.  The version of WINHELP.EXE shipped with "$(NameOfApp)" is in "$(CIRLANG)" but your version is in "$(WINLANG)". "+
  298.       "If you update the file, all of the applications that use WINHELP.EXE will have "$(CIRLANG)" Help.  "+
  299.                   "If you don't update the file, all of the applications that use WINHELP.EXE will have "$(WINLANG)" Help. \r\n\r\n"+
  300.                   "Do you want to update to the "$(CIRLANG)" version of WINHELP.EXE?\r\n"
  301.  
  302.     STF_MB_TITLE = $(Title)
  303.     STF_MB_TYPE = 3
  304.     STF_MB_DEF = 1
  305.     STF_MB_ICON = 5
  306.  
  307. [Setup Successful]
  308.     STF_MB_TITLE = $(Title)
  309.     STF_MB_TYPE = 1
  310.     STF_MB_DEF = 1
  311.     STF_MB_ICON = 2
  312.     STF_MB_TEXT = $(NameOfApp)" Setup is complete!"
  313.  
  314. [Share Error]
  315.     STF_MB_TEXT = "Setup was unable to add the Share utility.  Before you can run "$(NameOfApp)", you need to add the Share utility (with "$(NUMLOCKS)" locks minimum) manually, and then restart your machine."
  316.     STF_MB_TITLE = $(Title)
  317.     STF_MB_TYPE = 1
  318.     STF_MB_DEF = 1
  319.     STF_MB_ICON = 3
  320.  
  321. [Share Success]
  322.     STF_MB_TEXT = "The file was successfully modified."
  323.     STF_MB_TITLE = $(Title)
  324.     STF_MB_TYPE = 1
  325.     STF_MB_DEF = 1
  326.     STF_MB_ICON = 2
  327.  
  328. [Share Dialog]
  329.     RadioText1 = "You have installed SHARE.EXE in your AUTOEXEC.BAT file. Setup needs to modify your installation of  SHARE.EXE to increase the number of locks to 500.  "$(NameOfApp)" will not run without this change. \r\n"+
  330.                 "After Setup is complete, you must restart your machine for the change to take effect.  What do you want Setup to do?"
  331.     RBut1 = "&Modify AUTOEXEC.BAT and save the original as AUTOEXEC.BAK"
  332.     RBut2 = "M&ake a copy of AUTOEXEC.BAT, modify the copy and save it as AUTOEXEC.ACC"
  333.     RBut3 = "&Do not modify AUTOEXEC.BAT"
  334.     RadioDefault = 1;
  335.     OptionsGreyed = {}
  336.     ContinueButtonDesc = "&Continue"
  337.     ExitButtonDesc = "E&xit to Windows"
  338.  
  339. [Config Share Dialog]
  340.     RadioText1 = "You have installed SHARE.EXE in your CONFIG.SYS file. Setup needs to modify your installation of SHARE.EXE to increase the number of locks to 500.  "$(NameOfApp)" won't run without this change. \r\n"+
  341.                 "After Setup is complete, you must restart your machine for the change to take effect.  What do you want Setup to do?"
  342.     RBut1 = "&Modify CONFIG.SYS and save the original as CONFIG.BAK"
  343.     RBut2 = "M&ake a copy of CONFIG.SYS, modify the copy and save it as CONFIG.ACC"
  344.     RBut3 = "&Do not modify CONFIG.SYS"
  345.     RadioDefault = 1;
  346.     OptionsGreyed = {}
  347.     ContinueButtonDesc = "&Continue"
  348.     ExitButtonDesc = "E&xit to Windows"
  349.  
  350. [Add Share Dialog]
  351.     RadioText1 = "If you install SHARE.EXE in your AUTOEXEC.BAT file, you'll be able to access data stored in dBASE, Btrieve, Paradox tables, and run multiple instances of "$(NameOfApp)" on your machine. "+
  352.     " If you don't install SHARE.EXE, you won't be able to access data stored in dBASE, Btrieve, or Paradox tables or run multiple instances of "$(NameOfApp)" on your machine."+
  353.      "What do you want to do?\r\n"
  354.     RBut1 = "&Modify AUTOEXEC.BAT and save the original as AUTOEXEC.BAK"
  355.     RBut2 = "M&ake a copy of AUTOEXEC.BAT, modify the copy and save it as AUTOEXEC.ACC"
  356.     RBut3 = "&Do not modify AUTOEXEC.BAT"
  357.     RadioDefault = 1;
  358.     OptionsGreyed = {}
  359.     ContinueButtonDesc = "&Continue"
  360.     ExitButtonDesc = "E&xit to Windows"
  361.  
  362. [Admin Path Dialog]
  363.     GetPathMessBoxTitle = $(NameOfApp)" Setup"
  364.     GetPathMessBoxText  = "The path you specified isn't valid or doesn't start with a drive letter."
  365.  
  366.  
  367. [Admin CopyList Dialog]
  368.     ModelessText = "Please wait while Setup determines where to copy files."
  369.     ModelessBmp = "disks"
  370.  
  371. [Copy Local]
  372.     STF_MB_TEXT = "You can use the copy of "$(NameOfApp)" on your network, or you can install "$(NameOfApp)" on your hard disk. "+
  373.                   "If you install "$(NameOfApp)" on your hard disk, it will run faster, but it will take up space on your hard disk. \n\n"+
  374.                   "Do you want to install "$(NameOfApp)" on your hard disk?"
  375.     STF_MB_TITLE = $(Title)
  376.     STF_MB_TYPE = 3
  377.     STF_MB_DEF = 1
  378.     STF_MB_ICON = 2
  379.     
  380. [In Use Error]
  381.     STF_MB_TEXT = "You can't set up "$(NameOfApp)" while running another version of "$(NameOfApp)"."
  382.     STF_MB_TITLE = $(Title)
  383.     STF_MB_TYPE = 1
  384.     STF_MB_DEF = 1
  385.     STF_MB_ICON = 3
  386.  
  387. [Older Dlls]
  388.     QuitText1= "You have older versions of some DLL files in your Windows system directory.  You must update them before you can run "$(NameOfApp)". "+
  389.     " If you update them, dialog boxes shared by other applications will be in "$(CIRLANG)".  (You can get all language versions of current DLL files from Product Support.) "+
  390.     " If you don't update them, you won't be able to run "$(NameOfApp)".  Do you want Setup to update the DLL files?"
  391.     
  392. [Old Help]
  393.     STF_MB_TEXT = "You have an older version of WINHELP.EXE.  If you update it, all the applications that use WINHELP.EXE will have "$(CIRLANG)"help, "+
  394.            "and you will be able to use "$(NameOfApp)" Help and Cue Cards.  If you don't update it, you wont' be able to use "$(NameOfApp)" Help or Cue Cards."+
  395.            "Do you want Setup to update it?"
  396.     STF_MB_TITLE = $(Title)
  397.     STF_MB_TYPE = 3
  398.     STF_MB_DEF = 1
  399.     STF_MB_ICON = 5
  400.  
  401. [Reboot Err]
  402.     STF_MB_TEXT = "Installation of "$(NameOfApp)" completed. \r\n"+
  403.                 "You have changed the configuration for share.exe.  You need to reboot your machine before running "$(NameOfApp)"." 
  404.     STF_MB_TITLE = $(Title)
  405.     STF_MB_TYPE = 1
  406.     STF_MB_DEF = 1
  407.     STF_MB_ICON = 2
  408.  
  409.  
  410. [Default Copy Options]
  411.     VERSHELL = "3,10,0,103"
  412.     VEROLECLI = "1,10,0,0"
  413.     VEROLESVR = "1,10,0,0"
  414.     VERCOMMDLG = "3,10,0,103"
  415.     VERDDEML = "3,10,0,103"
  416.     VERVER = "3,10,0,103"
  417.  
  418. [Shared File Member]
  419.     SharedFile = $($) 
  420.     Version = *($(Versions), $(#))
  421.     DestSym = *($(SFDestSymbols), $(#))
  422.     CopySym = *($(SFCopySymbols), $(#))
  423.  
  424. [None]
  425.     SmallFont = "Null File"
  426.  
  427. [8514]
  428.     Font = "smallf.fon"
  429.     FontDesc = "Small Fonts (8514/a res)"
  430.     SmallFont = "8514 Font"
  431.  
  432. [VGA]
  433.     Font = "smalle.fon"
  434.     FontDesc = "Small Fonts (VGA res)"
  435.     SmallFont = "VGA Font"
  436.  
  437. [EGA]
  438.     Font = "smallb.fon"
  439.     FontDesc = "Small Fonts (EGA res)"
  440.     SmallFont = "EGA Font"
  441.  
  442. [Graph Reg]
  443.     RegEntries =    "REGEDIT\r\n"+
  444.                     "HKEY_CLASSES_ROOT\\MSGraph = Microsoft Graph\r\n"+
  445.                     "HKEY_CLASSES_ROOT\\.gra = MSGraph\r\n"+
  446.                     "HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\server = "$(GRAPHPATH)"GRAPH.EXE\r\n"+
  447.                     "HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\SetDataFormats = Native,CF_TEXT\r\n"+
  448.                     "HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdFileEditing\\RequestDataFormats = Native,CF_METAFILEPICT\r\n"+
  449.                     "HKEY_CLASSES_ROOT\\MSGraph\\protocol\\StdExecute\\server = "$(GRAPHPATH)"GRAPH.EXE\r\n"
  450.  
  451. [Graph Version Files]
  452.     FileName = "Graph.exe"
  453.     Version = "3,0,2,0" 
  454.     DestSym = $(GRAPHPATH)
  455.     CopySym = $(COPYGRAPH)
  456.  
  457. [Regedit Version Files]
  458.     FileName = "regedit.exe"
  459.     Version = "3,10,0,103" 
  460.     DestSym = $(WindowsPath)
  461.     CopySym = $(COPYREGEDIT)
  462.  
  463. [Winhelp File]
  464.     FileName = "Winhelp.exe"
  465.     Version = "3,10,0,425" 
  466.     DestSym = $(WindowsPath)
  467.     CopySym = $(COPYWINHLP)
  468.  
  469. [Commdlg File]
  470.     FileName = "Commdlg.dll"
  471.     Version = $(VERCOMMDLG)
  472.     DestSym = $(SystemPath)
  473.     CopySym = $(COPYCOMMDLG)
  474.  
  475. [System Paths]
  476.      SystemPath =  "" ? DETCMD.DLL GetWindowsSysDir
  477.      WindowsPath     =  "" ? DETCMD.DLL GetWindowsDir
  478.     HARDDRIVELIST   = "" ? DETCMD.DLL GetAllValidLocalHardDrives
  479.     NETDRIVELIST = "" ? DETCMD.DLL GetAllValidNetworkDrives
  480.  
  481. [Destination Path]
  482.     DIREXISTS = "" ? DETCMD.DLL DoesDirExist $(DETPATH)
  483.  
  484. [Environment Variable]
  485.     FILESCOUNT = "" ? DETCMD.DLL GetConfigNumFiles
  486.  
  487. [Check Netdrive Installed]
  488.     FNetDriver = "" ? DETCMD.DLL GetIniSectionKeyString $(SYSINI) $(BOOTSECT) $(NETDRIVE)
  489.  
  490. [Admin Path List]
  491.     AdminPathList = { $(ACCPATH), $(ADMINGRAPHPATH), $(ADMINMDAPATH) }
  492.  
  493. [SavedPaths]
  494.     CIRPATH = ""
  495.     CIRPATH2 = ""
  496.     GRAPHPATH2 = ""
  497.     SYSMDAPATH2 = ""
  498.  
  499.  
  500. [Shell Commands]
  501.     ui start LanManNetWork
  502.     read-syms    "Release Date"
  503.     read-syms    "Custom"
  504.     read-syms     "Default"
  505.     detect          "System Paths"
  506.     set WINDOWSPATH = $(WindowsPath)
  507.     set SYSTEMPATH = $(SystemPath)
  508.     ui start UNC
  509.     ifstr $(ANSWER) == "YES"
  510.         read-syms "UNC"
  511.         goto "ExitError"
  512.     endif
  513.     ui start "WinVer"
  514.  
  515.     ifstr $(STF_MODE) == "ADMIN"
  516.         read-syms "Admin Title"
  517.         set-title       $(Title)        
  518.         set COPYREGEDIT = "COPY"
  519.         set    DECOMP = "DECOMPRESS"
  520.         set STF_DECOMPRESS = "DECOMPRESS"
  521.         set REN = "RENAME"
  522.         init-system-net
  523.         set SmallFont = "Admin Font"
  524.     else
  525.         ifstr $(STF_MODE) == "NETWORK"
  526.             read-syms "Network Title"
  527.             set-title       $(Title)
  528.             read-syms "SavedPaths" 
  529.             set AppPath = $(CIRPATH2)       
  530.         else
  531.             read-syms "Title"
  532.             set-title       $(Title)        
  533.         endif
  534.         set COPYREGEDIT = "COPY"
  535.         set    DECOMP = "DECOMPRESS"
  536.         set STF_DECOMPRESS = "DECOMPRESS"
  537.         set STF_OVERWRITE = "OLDER"
  538.         set REN = "RENAME"
  539.         init-system
  540.         ui start video
  541.         read-syms $(ANSWER)
  542.     endif
  543.     set CIRPATH = $(DefaultPath)
  544.     set COPYGRAPH = $(InstallGraph)
  545.     read-syms       "Default Copy Options"
  546.  
  547.  
  548.     ifstr $(STF_DETECT_OUTCOME) != "OKAY"
  549.         read-syms "Detect Failed"
  550.         goto ExitError
  551.     endif
  552.  
  553.     set     HD = *($(HARDDRIVELIST), 1)
  554.     ifstr $(STF_MODE) != "NETWORK"
  555.         set     CIRPATH2 = $(HD)$(DefaultPath)
  556.         set     CIRLOCALPATH = $(CIRPATH2) 
  557.     else
  558.         set        CIRLOCALPATH = $(HD)$(DefaultPath)
  559.     endif
  560.  
  561.     set UserName = $(STF_CD_NAME)
  562.     ifstr $(STF_MODE) == "ADMIN"
  563.         goto "GetPath"
  564.     else
  565.         set GRAPHPATH = $(WindowsPath)"msapps\msgraph\"
  566.     endif
  567.  
  568. DoInstallDLLs = +
  569.         set DLLPATH = $(SystemPath)
  570.         read-syms "Shared Files"
  571.         ForListDo $(SharedFiles)
  572.             read-syms "Shared File Member"
  573.             ui start "InstallShared"
  574.             ifstr $(ANSWER) == "YES"
  575.                 set STF_MB_TITLE = $($)
  576.                 ui start MessageBox
  577.                 exit
  578.             endif
  579.         EndForListDo
  580.  
  581.         ifcontains "NEW" in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
  582.             set CPSYM = "NEW"
  583.             Install "Shared Files Script"
  584.         endif    
  585.         
  586.         ifcontains "COPY" in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
  587.             read-syms "Older Dlls"
  588.             ui start OldFile
  589.             ifstr $(DLGEVENT) == "CONTINUE"
  590.                 ui pop 1
  591.             else
  592.                 exit
  593.             endif
  594.         endif
  595.  
  596.         ifstr $(COPYCOMMDLG) == "!COPY"
  597.             read-syms "Commdlg File"
  598.             ui start "CheckLang"
  599.             ifstr $(ANSWER) == "YES"
  600.                 read-syms "Wrong Commdlg"
  601.                 ui start MessageBox
  602.  
  603.                 ifstr $(DLGEVENT) == "YES"
  604.                     ifstr $(INUSE) == "YES"
  605.                         set STF_MB_TITLE = "Commdlg.dll"
  606.                         read-syms "Shared Files"
  607.                         ui start MessageBox
  608.                         exit
  609.                     endif
  610.                     set COPYCOMMDLG = "COPY"
  611.                 endif
  612.             endif
  613.         endif
  614.         set CPSYM = "COPY"
  615.         Install "Shared Files Script"
  616.  
  617.     
  618.         ifstr $(STF_MODE) == "NETWORK"
  619.             read-syms "Copy Local"
  620.             ui start MessageBox
  621.             set LocalCopy = $(DLGEVENT)
  622.             ifstr $(DLGEVENT) == "NO"
  623.                 set INIPATH = $(WindowsPath)
  624.                 set COPYPROG = "OFF"
  625.             else
  626.                 set CIRPATH2 = $(HD)$(CIRDIR)
  627.             endif
  628.  
  629.         endif
  630.  
  631. GetPath = +
  632.     set CurrentDialog = "GetPath"
  633.     ifstr $(STF_MODE) == "ADMIN"
  634.         read-syms "Admin Path Dialog"
  635.         ui start GetAdminPath
  636.  
  637.         ifstr $(DLGEVENT) == "CONTINUE"
  638.             read-syms "Admin Path List"
  639.             ForListDo $(AdminPathList)
  640.                 set DETPATH = $($)
  641.                 detect "Destination Path"
  642.                 ifstr $(STF_DETECT_OUTCOME) != "OKAY"
  643.                     read-syms "Detect Failed"
  644.                     goto ExitError
  645.                 else-ifstr $(DIREXISTS) != "YES"
  646.                     set CREATEPATH = $(DETPATH) 
  647.                     install "Create Dir"
  648.                     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  649.                         goto "GetPath"
  650.                     endif
  651.                 endif    
  652.             EndForListDo
  653.             ui pop 1
  654.             set CIRPATH = $(ACCPATH)$(ADMININTALL)
  655.             set CIRPATH2 = $(ACCPATH2)$(ADMININTALL)
  656.             set  AppPath = $(ACCPATH)
  657.             set  WindowsPath = $(ACCPATH)
  658.             set  SystemPath = $(ACCPATH)
  659.             set WHELPPATH = $(CIRPATH)
  660.             set DLLPATH = $(CIRPATH)
  661.             set GRAPHPATH = $(ADMINGRAPHPATH)
  662.             set SYSMDAPATH = $(ADMINMDAPATH)
  663.             goto CheckSizes
  664.  
  665.         else-ifstr $(DLGEVENT) == "EXIT"
  666.             goto "quit"
  667.         endif
  668.     else
  669.          read-syms       "Path Dialog"
  670.         set AccessExePath = $(CIRPATH)
  671.         set AccessExePath2 = $(CIRPATH2)
  672.         set EditTextIn = $(CIRLOCALPATH)
  673.         ui  start  GetPath
  674.  
  675.         set  CIRPATH = $(EditPathOut)
  676.         set  CIRPATH2 = $(EditTextOut)    
  677.         set  SYSMDAPATH2 = $(EditTextOut)
  678.         set  SYSMDAPATH = $(CIRPATH)
  679.         set  WHELPPATH = $(WindowsPath)
  680.         ifstr $(LocalCopy) != "NO"
  681.             set  AppPath = $(CIRPATH)
  682.         endif
  683.         ifstr $(DLGEVENT) == "CONTINUE"
  684.             set DETPATH = $(CIRPATH)
  685.             detect "Destination Path"
  686.             ifstr $(STF_DETECT_OUTCOME) != "OKAY"
  687.                 read-syms "Detect Failed"
  688.                 goto ExitError
  689.             else-ifstr $(DIREXISTS) == "YES"
  690.                 ui pop 1
  691.                 goto CopyListSizes
  692.             else
  693.                 ui pop 1
  694.                 goto "CreatePath"
  695.             endif
  696.         else-ifstr $(DLGEVENT) == "EXIT"
  697.             goto "quit"
  698.         endif
  699.     endif
  700.  
  701. CreatePath = +
  702.         set CREATEPATH = $(CIRPATH)
  703.         install "Create Dir"
  704.         ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  705.             goto "GetPath"
  706.         endif
  707.  
  708. CopyListSizes = +
  709.     ifstr $(STF_MODE) == "NETWORK"
  710.         ifstr $(LocalCopy) == "NO"
  711.             goto "InstallMultiUser"
  712.         endif
  713.     endif
  714.  
  715.     ui start CirInUse
  716.     ifstr $(ANSWER) == "NO"
  717.         read-syms "In Use Error"
  718.         ui start MessageBox
  719.         Exit
  720.     endif
  721.     read-syms "CheckSpace Dialog"
  722.     set CurrentDialog = "CopyListSizes"
  723.     ui start Modeless
  724.     ui pop 1
  725.     goto "CheckMultiUser"
  726.  
  727. quit = +
  728.     read-syms "Quit Dialog"
  729.     ui  start  QUIT
  730.     ifstr $(DLGEVENT) == "BACK"
  731.         ui   pop 1
  732.         goto $(CurrentDialog)
  733.     else-ifstr $(DLGEVENT) == "EXIT"
  734.         exit
  735.     endif
  736.  
  737. ExitError = +
  738.     set STF_MB_TITLE = $(Title)
  739.     set STF_MB_TYPE = 1
  740.     set STF_MB_DEF = 1
  741.     set STF_MB_ICON = 3
  742.     ui start MessageBox
  743.     exit
  744.  
  745. CheckMultiUser = +
  746.     set SYSMDAPATH = $(CIRPATH)
  747.     set SYSMDAPATH2 = $(CIRPATH2)
  748.     ifstr $(InstallChangeWorkGroup) == "NO"
  749.         goto "CheckSizes"
  750.     endif
  751.  
  752.     ui start GetIniKeyString
  753.     
  754.     ifstr $(ANSWER) == "NO"
  755.         goto "CheckSizes"
  756.     endif
  757.  
  758.     
  759.     set CurrentDialog = "CheckMultiUser"
  760.     read-syms "Select MultiUser"
  761.     ui start MessageBox
  762.     ifstr $(DLGEVENT) == "NO"
  763.         set SYSMDAPATH = $(CIRPATH)
  764.         set SYSMDAPATH2 = $(CIRPATH2)
  765.         goto "CheckSizes"
  766.     endif
  767.  
  768. InstallMultiUser = +
  769.     set MULTIUSER = "YES"
  770.     set CurrentDialog = "InstallMultiUser"    
  771.     set LastDialog = CheckMultiUser
  772.      read-syms "WorkGroup Path Dialog"
  773.  
  774.     ifstr $(STF_MODE) != "NETWORK"
  775.         set EditTextIn = $(CIRPATH2)
  776.     else
  777.         ui start ConvertMdaPath
  778.         ifstr $(ANSWER) == "YES"
  779.             set EditTextIn = $(SYSMDAPATH2)
  780.         else
  781.             set EditTextIn = $(CIRLOCALPATH)
  782.         endif
  783.     endif
  784.     
  785.     ui start "GetWorkGrpPath"
  786.  
  787.      ifstr $(DLGEVENT) == "BACK"
  788.         set MULTIUSER = "NO"
  789.         set SYSMDAPATH = $(CIRPATH)
  790.         set SYSMDAPATH2 = $(CIRPATH2)
  791.     else-ifstr $(DLGEVENT) == "EXIT"
  792.         set MULTIUSER = "NO"
  793.         set SYSMDAPATH = $(CIRPATH)
  794.         set SYSMDAPATH2 = $(CIRPATH2)
  795.         ifstr $(STF_MODE) != "NETWORK"
  796.             ui pop 1
  797.             goto $(LastDialog)
  798.         endif
  799.     else    
  800.         set SYSMDAPATH = $(EditPathOut)
  801.         set SYSMDAPATH2 = $(EditTextOut)  
  802.         set DETPATH = $(SYSMDAPATH)
  803.         detect "Destination Path"
  804.         ifstr $(STF_DETECT_OUTCOME) != "OKAY"
  805.             read-syms "Detect Failed"
  806.             goto ExitError
  807.         else-ifstr $(DIREXISTS) != "YES"
  808.             ui pop 1
  809.             goto "CreateWorkGrpPath"
  810.         endif
  811.     endif
  812.     ui pop 1
  813.     goto CheckSizes
  814.  
  815. CreateWorkGrpPath = +
  816.     set CREATEPATH = $(SYSMDAPATH)
  817.     install "Create Dir"
  818.     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  819.         goto "InstallMultiUser"
  820.     endif 
  821.     ifstr $(STF_MODE) == "NETWORK"
  822.         goto "DoProgStuff"
  823.     else
  824.         goto "CheckSizes"
  825.     endif
  826.  
  827. CheckSizes = +
  828.     set CurrentDialog = "CheckSizes"
  829.     ui start InitDrives
  830.     read-syms "Installation"
  831.  
  832.     ifstr $(STF_MODE) == "ADMIN"
  833.         read-syms "Admin CopyList Dialog"
  834.     else
  835.         read-syms "CopyList Dialog"
  836.     endif
  837.  
  838.     ifstr $(STF_MODE) != "ADMIN"
  839.         set REGGRAPH = $(COPYGRAPH)
  840.         ifstr $(COPYGRAPH) == "YES" 
  841.             read-syms "Regedit Version Files"
  842.             ui start "InstallExisting"
  843.             ifstr $(CopySym) == "OFF"
  844.                 set COPYREGEDIT = "!COPY"
  845.             endif
  846.  
  847.             read-syms "Graph Version Files"
  848.             ui start "InstallExisting"
  849.             ifstr $(CopySym) == "OFF"
  850.                 set COPYGRAPH = "NO"
  851.             endif
  852.             ifstr $(CopySym) == "OLD"
  853.                 set COPYGRAPH = "NO"
  854.             endif
  855.         endif
  856.  
  857.         set COPYWINHLP = "OFF"
  858.         read-syms "Winhelp File"
  859.         ui start "InstallExisting"
  860.         ifstr $(CopySym) == "ON"
  861.             read-syms "Old Help"
  862.             ui start MessageBox
  863.             ifstr $(DLGEVENT) == "YES"
  864.                 set COPYWINHLP = "ON"
  865.             endif
  866.         else-ifstr $(CopySym) == "NEW"
  867.             set COPYWINHLP  = "ON"
  868.         else    
  869.             ui start "CheckLang"
  870.             ifstr $(ANSWER) == "YES"
  871.                 read-syms "Wrong Help"
  872.                 ui start MessageBox
  873.  
  874.                 ifstr $(DLGEVENT) == "NO"
  875.                     set COPYWINHLP  = "OFF"
  876.                 else
  877.                     set COPYWINHLP  = "ON"
  878.                 endif
  879.             endif
  880.         endif
  881.  
  882.         ifstr $(STF_MODE) == "NETWORK"
  883.             ifstr $(LocalCopy) == "NO"
  884.                 install "InstallLocalIni Script"
  885.             endif
  886.         endif
  887.  
  888.     endif
  889.  
  890.     set SYSDBPATH = $(CIRPATH)
  891.  
  892.     ui start Modeless       
  893.     install "Copy List Script"
  894.     ui pop 1
  895.  
  896.     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  897.         read-syms "Setup Failed"
  898.         goto ExitError
  899.     else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  900.         read-syms "Setup Aborted"
  901.         goto ExitError
  902.     endif
  903.  
  904.     goto Space
  905.  
  906. Space = +
  907.     ifstr $(STF_MODE) == "NETWORK"
  908.         ifstr $(LocalCopy) == "NO"
  909.             goto inst
  910.         endif
  911.     endif
  912.     set CurrentDialog = Space
  913.     ui start EnoughSpace
  914.  
  915.     ifstr $(ANSWER) == "BOTH"
  916.         read-syms "No Space Both"
  917.     else-ifstr $(ANSWER) == "WIN"
  918.         read-syms "No Space Win"
  919.     else-ifstr $(ANSWER) == "CIR"
  920.         read-syms "No Space Cir"
  921.     endif
  922.  
  923.     ifstr $(ANSWER) != "NO"
  924.         ui start NoSpace
  925.         ifstr $(DLGEVENT) == "BACK"
  926.             install "Clear List Script"
  927.             ui pop 1
  928.             goto GetPath
  929.         else-ifstr $(DLGEVENT) == "EXIT"
  930.             goto quit
  931.         endif
  932.         ui pop 1
  933.     endif
  934.     goto inst
  935.  
  936. inst = +
  937.     set CurrentDialog = inst
  938.  
  939.     ifstr $(STF_MODE) != "ADMIN"
  940.         ifstr $(COPYWINHLP) == "ON"
  941.             ui start HelpQ
  942.         endif
  943.     endif
  944.  
  945.     ifstr $(STF_MODE) == "ADMIN"
  946.         ui start CreateDB
  947.         ifstr $(ANSWER) == "NO"
  948.             read-syms "Setup Failed"
  949.             goto ExitError
  950.         endif
  951.     endif
  952.  
  953.     install "Install Script"
  954.     
  955.     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  956.         read-syms "Setup Failed"
  957.         goto ExitError
  958.     else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  959.         read-syms "Setup Aborted"
  960.         goto ExitError
  961.     else-ifstr $(STF_MODE) != "ADMIN"
  962.         ifstr $(STF_MODE) == "NETWORK"
  963.             ifstr $(LocalCopy) == "NO"
  964.                 set REGGRAPH = "YES"
  965.                 ui start ConvertPath 
  966.                 set CIRPATH2 = $(AccessExePath2)
  967.             endif
  968.         endif
  969.  
  970.         ifstr $(MULTIUSER) != "YES"
  971.             ui start CreateDB
  972.  
  973.             ifstr $(ANSWER) == "NO"
  974.                 read-syms "Setup Failed"
  975.                 goto ExitError
  976.             endif
  977.         endif
  978.  
  979.         install "Win Ini File"
  980.         install "INI File"
  981.         ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  982.             read-syms "INI Failed"
  983.             goto ExitError
  984.         else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  985.             read-syms "Setup Aborted"
  986.             goto ExitError
  987.         endif
  988.  
  989.         ifstr $(REGGRAPH) == "YES"
  990.             read-syms "Ole Reg"
  991.             ui start "OleApps"
  992.             read-syms "Graph Reg"
  993.             ui start "RegisterOleEntries"
  994.             ifstr $(ANSWER) == "NO"
  995.                 ui pop 1
  996.                 read-syms "Registration Failed"
  997.                 goto "ExitError"
  998.             endif
  999.             ui pop 1
  1000.         endif
  1001.     endif
  1002.  
  1003. DoProgStuff = +
  1004.     ifstr $(STF_MODE) == "NETWORK"
  1005.         ifstr $(LocalCopy) == "NO"
  1006.             goto DoShareStuff
  1007.         endif
  1008.     endif
  1009.     ifstr $(STF_MODE) == "ADMIN"
  1010.         goto Done
  1011.     endif
  1012.  
  1013. DoShareStuff = +
  1014.  set CurrentDialog = DoShareStuff
  1015.   set MAKEBAK = "NO"
  1016.   set SHAREPATH = $(WINDOWSPATH)
  1017.   ui start VSHARERunning
  1018.   ifstr $(ANSWER) == "NO"
  1019.     ui start ConfigExist
  1020.     ifstr $(CONFIGEXIST) == "YES"
  1021.         read-syms "Config Share Dialog"
  1022.         ui start ValidConfig
  1023.     else
  1024.         set ANSWERCONFIG = "NOTEXIST"
  1025.     endif    
  1026.     ifstr $(ANSWERCONFIG) == "NO"
  1027.         ui start ShareDialog
  1028.         ifstr $(DLGEVENT) == "CONTINUE"
  1029.             ifstr $(ButtonChecked) == "1"
  1030.                 set MAKEBAK = "YES"
  1031.             else-ifstr $(ButtonChecked) == "2"
  1032.                 set MAKEBAK = "NO"
  1033.             else
  1034.                 ui pop 1
  1035.                 goto Done
  1036.             endif
  1037.             ui start ShareConfig
  1038.             ifstr $(ANSWER) == "NO"
  1039.                 read-syms "Share Error" 
  1040.                 ui start MessageBox
  1041.                 set MAKEBAK = "NO"
  1042.             else
  1043.                 read-syms "Share Success"
  1044.                 ui start MessageBox
  1045.             endif
  1046.         else-ifstr $(DLGEVENT) == "EXIT"
  1047.             goto quit
  1048.         endif
  1049.         ui pop 1
  1050.     else-ifstr $(ANSWERCONFIG) == "NOTEXIST"
  1051.         ifstr $(AUTOEXIST) == "NO"
  1052.             goto Done
  1053.         endif
  1054.         ui start ValidShare
  1055.         ifstr $(ANSWER) != "YES"
  1056.             ifstr $(ANSWER) == "NOTEXIST"
  1057.                 read-syms "Add Share Dialog"
  1058.             else
  1059.                 read-syms "Share Dialog"
  1060.             endif
  1061.             ui start ShareDialog
  1062.             ifstr $(DLGEVENT) == "CONTINUE"
  1063.                 ifstr $(ButtonChecked) == "1"
  1064.                     set MAKEBAK = "YES"
  1065.                 else-ifstr $(ButtonChecked) == "2"
  1066.                     set MAKEBAK = "NO"
  1067.                 else
  1068.                     ui pop 1
  1069.                     goto Done
  1070.                 endif
  1071.                 ui start Share
  1072.                 ifstr $(ANSWER) == "COPY"
  1073.                     install "Autoexec Files Script"
  1074.                     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  1075.                         read-syms "Setup Failed"
  1076.                         goto ExitError
  1077.                     else-ifstr $(STF_INSTALL_OUTCOME) != "STF_USERQUIT"
  1078.                         read-syms "Share Success"
  1079.                         ui start MessageBox
  1080.                     endif
  1081.                 else-ifstr $(ANSWER) == "NO"
  1082.                     read-syms "Share Error" 
  1083.                     set MAKEBAK = "NO"
  1084.                     ui start MessageBox
  1085.                 else
  1086.                     read-syms "Share Success"
  1087.                     ui start MessageBox
  1088.                 endif
  1089.             else-ifstr $(DLGEVENT) == "EXIT"
  1090.                 goto quit
  1091.             endif
  1092.             ui pop 1
  1093.         endif
  1094.     endif
  1095.     goto Done
  1096.    endif
  1097.  
  1098. Done = +
  1099.     ifstr $(STF_MODE) != "ADMIN"
  1100.         ifstr $(COPYPROG) == "ON"
  1101.             ui start ConfigExist
  1102.             ifstr $(CONFIGEXIST) == "YES"
  1103.                 detect "Environment Variable"
  1104.                 ifint $(FILESCOUNT) < "50"
  1105.                     read-syms "FILES Warning Dialog"
  1106.                     set STF_MB_TITLE = $(Title)
  1107.                     set STF_MB_TYPE = 1
  1108.                     set STF_MB_DEF = 1
  1109.                     set STF_MB_ICON = 5
  1110.                     ui start MessageBox
  1111.                 endif
  1112.             endif
  1113.         endif
  1114.         install "Program Manager"
  1115.         install "Work Group Icon"
  1116.         ifstr $(MAKEBAK) != "NO"
  1117.             read-syms "Reboot Err"
  1118.             ui start MessageBox
  1119.         endif
  1120.  
  1121.     else
  1122.         set CIRPATH2 = $(ACCPATH2)
  1123.         set GRAPHPATH2 = $(ADMINGRAPHPATH2)
  1124.         set SYSMDAPATH2 = $(ADMINMDAPATH2)
  1125.         Update-Inf "SavedPaths"
  1126.         Write-Inf $(CIRPATH)"stfsetup.in_"
  1127.     endif
  1128.  
  1129. CompleteInstall = +
  1130.         ifstr $(STF_MODE) != "ADMIN"
  1131.             ifstr $(RunExeName) != ""
  1132.                 ui start LAUNCHEXE
  1133.             endif
  1134.         endif
  1135.         read-syms "Setup Successful"
  1136.         ui start MessageBox
  1137.         Exit
  1138.  
  1139.     
  1140.  
  1141. [Create Dir]
  1142. CreateDir $(CREATEPATH), V
  1143. Exit
  1144.  
  1145. [Clear List Script]
  1146. ClearCopyList
  1147. Exit
  1148.  
  1149. [InstallLocalIni Script]
  1150.     AddSectionFilesToCopyList    "Net Ini"   $(STF_SRCDIR)  $(WindowsPath)
  1151. Exit
  1152.  
  1153. [Shared Files Script]
  1154. ifstr $(COPYOLECLI) == $(CPSYM) 
  1155.     AddSectionFilesToCopyList    "OLECLI"   $(STF_SRCDIR)  $(DLLPATH)
  1156. endif
  1157. ifstr $(COPYOLESVR) == $(CPSYM) 
  1158.     AddSectionFilesToCopyList    "OLESVR"   $(STF_SRCDIR)  $(DLLPATH)
  1159. endif
  1160. ifstr $(COPYDDEML) == $(CPSYM) 
  1161.     AddSectionFilesToCopyList    "DDEML"   $(STF_SRCDIR)  $(DLLPATH)
  1162. endif
  1163. ifstr $(COPYCOMMDLG) == $(CPSYM) 
  1164.     AddSectionFilesToCopyList    "COMMDLG"   $(STF_SRCDIR)  $(DLLPATH)
  1165. endif
  1166. ifstr $(COPYSHELL) == $(CPSYM) 
  1167.     AddSectionFilesToCopyList    "SHELL"   $(STF_SRCDIR)  $(DLLPATH)
  1168. endif
  1169. ifstr $(COPYVER) == $(CPSYM) 
  1170.     AddSectionFilesToCopyList    "VER"   $(STF_SRCDIR)  $(DLLPATH)
  1171. endif
  1172. ifcontains $(CPSYM)  in { $(COPYCOMMDLG), $(COPYDDEML), $(COPYOLECLI), $(COPYOLESVR), $(COPYSHELL), $(COPYVER) }
  1173.     CopyFilesInCopyList
  1174. endif
  1175. Exit
  1176.  
  1177. [Copy List Script]
  1178. SetupGetCopyListCost $(szFreePerDisk) $(szClusterPerDisk) $(szTotalFree)
  1179.  
  1180. ifstr $(STF_MODE) == "ADMIN"
  1181.     AddSectionFilesToCopyList    "Multiuser Files"   $(STF_SRCDIR)  $(ACCPATH)
  1182.     AddSectionFilesToCopyList    "Network Setup Files"   $(STF_SRCDIR)  $(CIRPATH)
  1183.     AddSectionFilesToCopyList    "Setup Must Files"   $(STF_SRCDIR)  $(CIRPATH)
  1184.     ifstr $(InstallGraph) == "YES"
  1185.         AddSectionFilesToCopyList    "Graph Files"   $(STF_SRCDIR)  $(GRAPHPATH)
  1186.         AddSectionFilesToCopyList    "Admin Graph Files"   $(STF_SRCDIR)  $(CIRPATH)
  1187.     endif
  1188.     AddSectionFilesToCopyList    "Ole Registration Files"    $(STF_SRCDIR)  $(CIRPATH)
  1189. else
  1190.     ifstr $(LocalCopy) != "NO"
  1191.         AddSectionFilesToCopyList    "Standard Setup Files"   $(STF_SRCDIR)  $(CIRPATH)
  1192.     endif
  1193.  
  1194.     ifstr $(COPYREGEDIT) == "COPY"
  1195.         AddSectionFilesToCopyList    "Ole Registration Files"    $(STF_SRCDIR)  $(WINDOWSPATH)
  1196.     endif
  1197.  
  1198.     ifstr $(COPYGRAPH) == "YES"
  1199.         AddSectionFilesToCopyList    "Graph Files"     $(STF_SRCDIR)  $(GRAPHPATH)
  1200.     endif
  1201.  
  1202.     ifstr $(InstallChangeWorkGroup) == "YES"
  1203.         AddSectionFilesToCopyList    "Workgrp Files"     $(STF_SRCDIR)  $(CIRPATH)
  1204.     endif
  1205.  
  1206.     ifstr $(COPYWINHLP) == "ON"
  1207.         AddSectionFilesToCopyList    "Winhelp Files"     $(STF_SRCDIR)  $(WHELPPATH)
  1208.     endif
  1209. endif
  1210.  
  1211. GetCopyListCost $(szAdditionalNeeded) $(szTotalFree) $(szTotalNeeded) $(szFreePerDisk) $(szClusterPerDisk) $(szTroublePairs) $(szNeededPerDisk) $(szExtraCosts)
  1212. Exit
  1213.  
  1214. [Install Script]
  1215. CopyFilesInCopyList
  1216. Exit
  1217.  
  1218. [Win Ini File]
  1219.     ifstr $(SmallFont) != "Null File"
  1220.         CreateIniKeyValue, "WIN.INI", "Fonts", "SmallFonts ("$(FontDesc)" res)", "SMALL"$(Font)".FON", O
  1221.     endif
  1222.  
  1223.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Options", "SystemDB", $(SYSMDAPATH2)$(SYSMDAFILE), O
  1224.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Options", "UtilityDB", $(CIRPATH2)"UTILITY.MDA", O
  1225.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Single-Column", "zwInitWizard, 1", O
  1226.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Tabular", "zwInitWizard, 2", O
  1227.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Graph", "zwInitWizard, 6", O
  1228.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Form Wizards", "Main/Subform", "zwInitWizard, 7", O
  1229.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Single-Column", "zwInitWizard, 3", O
  1230.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Groups/Totals", "zwInitWizard, 4", O
  1231.     CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Report Wizards", "Mailing Label", "zwInitWizard, 5", O
  1232.  
  1233.     ifstr $(InstallGraph) == "ON"
  1234.         RemoveIniKey, $(WindowsPath)"WIN.INI", "MSAPPS", "MSGRAPH"
  1235.         CreateIniKeyValue,  $(WindowsPath)"WIN.INI", "MSAPPS", "MSGRAPH", $(GRAPHPATH2)"GRAPH.EXE"
  1236.     endif
  1237.  
  1238. Exit
  1239.  
  1240. [Work Group Icon]
  1241.     ifstr $(InstallChangeWorkGroup) == "YES"
  1242.         CreateProgManItem $(ProgGroupDesc),  "Change WorkGroup",  $(CIRPATH)"stfsetup /w"
  1243.     endif
  1244. Exit    
  1245.  
  1246. [Autoexec Files Script]
  1247. ifstr $(STF_MODE) == "ADMIN"
  1248.     AddSectionFilesToCopyList    "Autoexec Files"     $(STF_SRCDIR)  $(CIRPATH)
  1249. else
  1250.     AddSectionFilesToCopyList    "Autoexec Files"     $(STF_SRCDIR)  $(WindowsPath)
  1251. endif    
  1252. CopyFilesInCopyList
  1253. Exit
  1254.  
  1255. [Ole Registration Files]
  1256.         2, regedit.ex$, $(DECOMP), $(REN)=regedit.exe, $(COPYREGEDIT), DEST=$(WindowsPath)
  1257.  
  1258. [Graph Files]
  1259.         2, graph.ex$, $(DECOMP), $(REN)=graph.exe, BACKUP="*", DEST=$(GRAPHPATH), OVERWRITE=NEVER
  1260.  
  1261. [Workgrp Files]
  1262.         1, stfsetup.ex_, $(DECOMP), $(REN)=stfsetup.exe, DEST=$(CIRPATH), OVERWRITE=ALWAYS
  1263.         1, workgrp.in_, $(DECOMP), $(REN)=stfsetup.inf, BACKUP="*", DEST=$(CIRPATH), OVERWRITE=ALWAYS
  1264.         1, detcmd.dl_, $(DECOMP), $(REN)=detcmd.dll, DEST=$(CIRPATH), OVERWRITE=ALWAYS
  1265.         1, setup.ini, $(DECOMP), DEST=$(CIRPATH), OVERWRITE=ALWAYS
  1266.  
  1267. [Setup Must Files]
  1268.         1, setup.exe, !DECOMPRESS
  1269.         1, stfsetup.ex_, !DECOMPRESS
  1270.         1, stfsetup.in_, !DECOMPRESS
  1271.         1, workgrp.in_, !DECOMPRESS
  1272.         1, setup.ini, !DECOMPRESS
  1273.         1, workgrp.in_, !DECOMPRESS
  1274.         1, detcmd.dl_, !DECOMPRESS
  1275.         1, commdlg.dl_, !DECOMPRESS
  1276.         1, ver.dl_, !DECOMPRESS
  1277.         1, smalle.fo$, !DECOMPRESS
  1278.         1, smallb.fo$, !DECOMPRESS
  1279.         1, smallf.fo$, !DECOMPRESS
  1280.         2, winhelp.ex$, !DECOMPRESS
  1281.         2, winhelp.hl$, !DECOMPRESS 
  1282.         1, ddeml.dl$, !DECOMPRESS
  1283.         2, olecli.dl$, !DECOMPRESS
  1284.         2, olesvr.dl$, !DECOMPRESS
  1285.         2, shell.dl$, !DECOMPRESS
  1286.         1, ver.dl$, !DECOMPRESS
  1287.         1, commdlg.dl$, !DECOMPRESS
  1288.         2, share.ex$, !DECOMPRESS
  1289.     2, regedit.ex$, !DECOMPRESS
  1290.  
  1291. [Admin Graph Files]
  1292.     2, graph.ex$, !DECOMPRESS
  1293.     
  1294. [VGA Font]
  1295.         1, smalle.fo$, $(DECOMP), $(REN)=smalle.fon, DEST=$(WindowsPath), OVERWRITE=NEVER
  1296.  
  1297. [EGA Font]
  1298.         1, smallb.fo$, $(DECOMP), $(REN)=smallb.fon, DEST=$(WindowsPath), OVERWRITE=NEVER
  1299.  
  1300. [8514 Font]
  1301.         1, smallf.fo$, $(DECOMP), $(REN)=smallf.fon, DEST=$(WindowsPath), OVERWRITE=NEVER
  1302.  
  1303. [Winhelp Files]
  1304.         2, winhelp.ex$, $(DECOMP), $(REN)=winhelp.exe, DEST=$(WindowsPath), BACKUP="*", OVERWRITE=ALWAYS
  1305.         2, winhelp.hl$, $(DECOMP), $(REN)=winhelp.hlp, DEST=$(WindowsPath), BACKUP="winhelp.old", OVERWRITE=ALWAYS
  1306.  
  1307. [Autoexec Files]
  1308.         2, share.ex$, $(DECOMP), $(REN)=share.exe
  1309.  
  1310. [DDEML]
  1311.         1, ddeml.dl$, $(DECOMP), $(REN)=ddeml.dll, BACKUP="*", OVERWRITE=ALWAYS
  1312.  
  1313. [OLECLI]
  1314.         2, olecli.dl$, $(DECOMP), $(REN)=olecli.dll, BACKUP="*", OVERWRITE=ALWAYS
  1315.  
  1316. [OLESVR]
  1317.         2, olesvr.dl$, $(DECOMP), $(REN)=olesvr.dll, BACKUP="*", OVERWRITE=ALWAYS
  1318.  
  1319. [SHELL]
  1320.         2, shell.dl$, $(DECOMP), $(REN)=shell.dll, BACKUP="*", OVERWRITE=ALWAYS
  1321.  
  1322. [VER]
  1323.         1, ver.dl$, $(DECOMP), $(REN)=ver.dll, BACKUP="*", OVERWRITE=ALWAYS
  1324.  
  1325. [COMMDLG]
  1326.         1, commdlg.dl$, $(DECOMP), $(REN)=commdlg.dll, BACKUP="*", OVERWRITE=ALWAYS
  1327.  
  1328.