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

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