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

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