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