home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / wgang1.zip / STFSETUP.IN_ < prev    next >
Text File  |  1993-11-05  |  39KB  |  1,271 lines

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