home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / a / a563 / 1.ddi / STFSETUP.IN_ < prev    next >
Encoding:
INI File  |  1993-05-07  |  10.2 KB  |  307 lines

  1. [Release Date]
  2.     STF_DATE = "1993-05-05"
  3. [Admin Setup Err]
  4.     STF_MB_TEXT = "The Microsoft Access Distribution Kit (ADK) Setup does not support the SETUP /A or SETUP /N options.\n"+
  5.                   "To create a multiuser Setup directory, copy all of the files from the ADK disks into a single network directory. Then run Setup from this directory."
  6.     STF_MB_TITLE = $(Title)
  7.     STF_MB_TYPE = 1
  8.     STF_MB_DEF = 1
  9.     STF_MB_ICON = 2
  10.     
  11. [Path Dialog]
  12.     GetPathMessBoxTitle = $(AppName)" Specify Directory"
  13.     GetPathMessBoxText  = "The path you specified isn't valid or doesn't start with a drive name. "
  14.  
  15. [Setup Aborted]
  16.     STF_MB_TEXT = "You quit Setup during the installation phase.  "$(AppName)" is not properly installed.  You must run Setup again before you can run Microsoft Access Distribution Kit."
  17.  
  18. [Setup Failed]
  19.     STF_MB_TEXT = "An error has occurred during Setup.  If you are not out of disk space,  please contact Microsoft Product Support."
  20.  
  21. [Quit Dialog]
  22.     QuitText1  = "The setup process is not complete. If you exit now, Microsoft Access Distribution Kit won't be properly installed, and you'll have to run Setup again before you can run Microsoft Access Distribution Kit."
  23.  
  24. [CopyList Dialog]
  25.     ModelessText = "Please wait while Setup calculates the required disk space."
  26.  
  27. [No Space Cir]
  28.     STF_MB_TEXT = "To complete this installation, you need an additional "$(ADDCIR)"K bytes free on your Microsoft Access ("$(CIRDRIVE)") drive. "+
  29.     " Do you want to continue?"
  30.     STF_MB_TITLE = $(Title)
  31.     STF_MB_TYPE = 3
  32.     STF_MB_DEF = 1
  33.     STF_MB_ICON = 2
  34.  
  35. [Setup Successful]
  36.     STF_MB_TITLE = $(Title)
  37.     STF_MB_TYPE = 1
  38.     STF_MB_DEF = 1
  39.     STF_MB_ICON = 2
  40.     STF_MB_TEXT = "Microsoft Access Distribution Kit Setup is complete!\r\n\r\n"+
  41.                 "If you have installed the Distribution Kit in a directory other than the Microsoft Access directory, "+
  42.                 "you will need to move MSARN110.EXE to your Microsoft Access directory.  Otherwise, the run-time executable will not run."
  43.  
  44. [Title]
  45.     Title = "Microsoft Access Distribution Kit Setup"
  46.     AppName = "Microsoft Access Distribution Kit"
  47.     SER_LOC = "00-077-0100"
  48.  
  49. [Program Manager]
  50.     CreateProgManGroup "Microsoft Access", "msaccess"
  51.     CreateProgManItem "Microsoft Access", "SUFiles Utility", $(CIRPATH)"sufiles.exe", , O
  52.     CreateProgManItem "Microsoft Access", "Microsoft ADK Readme", $(CIRPATH)"readme.txt", , O
  53.     
  54.     ifstr $(Acc100Exist) == "YES"
  55.         CreateProgManItem "Microsoft Access", "Custom SetupWizard", $(ACCPATH)"msaccess.exe "$(CIRPATH)"setupwiz.mdb", , O
  56.     endif
  57. Exit    
  58.  
  59. ; **********************************************************************
  60. ; DO NOT LOCALIZE ANYTHING BELOW
  61.  
  62. [Installation]
  63.     szAdditionalNeeded = "AdditionalNeeded"
  64.     szTotalFree = "TotalFree"
  65.     szTotalNeeded = "TotalNeeded"
  66.     szFreePerDisk = "FreePerDisk"
  67.     szClusterPerDisk = "ClusterPerDisk"
  68.     szTroublePairs = "TroublePairs"
  69.     szNeededPerDisk = "NeededPerDisk"
  70.     szExtraCosts = "ExtraCosts"
  71.  
  72. [Destination Path]
  73.     DIREXISTS = "" ? DETCMD.DLL DoesDirExist $(DETPATH)
  74.  
  75. [System Paths]
  76.      WINDOWSPATH     =  "" ? DETCMD.DLL GetWindowsDir
  77.  
  78. [None]
  79.     SmallFont = "Null File"
  80.  
  81. [8514]
  82.     Font = "smallf.fon"
  83.     FontDesc = "Small Fonts (8514/a res)"
  84.     SmallFont = "8514 Font"
  85.  
  86. [VGA]
  87.     Font = "smalle.fon"
  88.     FontDesc = "Small Fonts (VGA res)"
  89.     SmallFont = "VGA Font"
  90.  
  91. [EGA]
  92.     Font = "smallb.fon"
  93.     FontDesc = "Small Fonts (EGA res)"
  94.     SmallFont = "EGA Font"
  95.  
  96.  
  97. [Shell Commands]
  98.     read-syms    "Release Date"
  99.     read-syms "Title"
  100.     set-title       $(Title)  
  101.     ifstr $(STF_MODE) != "NORMAL"
  102.         read-syms "Admin Setup Err"
  103.         ui start MessageBox
  104.         exit
  105.     endif
  106.     init-system
  107.     set    DECOMP = "DECOMPRESS"
  108.     set REN = "RENAME"
  109.     ui start video
  110.     read-syms $(ANSWER)
  111.     detect          "System Paths"
  112.  
  113. GetPath = +
  114.         set CurrentDialog = "GetPath"
  115.         read-syms       "Path Dialog"
  116.         set EditTextIn = "C:\ACCESS\"
  117.         ui  start  GetPath
  118.  
  119.         set  ACCPATH = $(EditPathOut)
  120.         set  ACCPATH2 = $(EditTextOut)    ;UNC path when applicable
  121.         set  CIRPATH = $(ACCPATH)"ADK\"
  122.         set  CIRPATH2 = $(ACCPATH2)"ADK\"
  123.         ifstr $(DLGEVENT) == "CONTINUE"
  124.             set DETPATH = $(ACCPATH)
  125.             detect "Destination Path"
  126.             ifstr $(STF_DETECT_OUTCOME) != "OKAY"
  127.                 read-syms "Detect Failed"
  128.                 goto ExitError
  129.             else-ifstr $(DIREXISTS) == "YES"
  130.                 ui pop 1
  131.                 goto "inst"
  132.             else
  133.                 ui pop 1
  134.                 goto "CreatePath"
  135.             endif
  136.         else-ifstr $(DLGEVENT) == "EXIT"
  137.             goto "quit"
  138.         endif
  139.     endif
  140.  
  141. CreatePath = +
  142.     set CREATEPATH = $(ACCPATH)
  143.     install "Create Dir"
  144.     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  145.         goto "GetPath"
  146.     endif
  147.  
  148. inst = +
  149.     ui start "IsAccessDir"
  150.     read-syms "Installation"
  151.     ui start InitDrives
  152.     read-syms "CopyList Dialog"
  153.     ui start Modeless
  154.     install "Copy List Script"
  155.     ui pop 1
  156.     ui start EnoughSpace
  157.  
  158.     ifstr $(ANSWER) == "CIR"
  159.         read-syms "No Space Cir"
  160.         ui start MessageBox
  161.         ifstr $(DLGEVENT) == "YES"
  162.             goto CopyFile
  163.         else
  164.             install "Clear List Script"
  165.             goto quit
  166.         endif
  167.     endif
  168.  
  169. CopyFile = +
  170.     ui start WhileInstall
  171.  
  172.     install "Install Script"
  173.     ui pop 1
  174.  
  175.     ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  176.         read-syms "Setup Failed"
  177.         goto ExitError
  178.     else-ifstr $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  179.         read-syms "Setup Aborted"
  180.         goto ExitError
  181.     endif
  182.  
  183. CompleteInstall = +
  184.         install "Close System Script"
  185.         ifstr $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  186.             read-syms "Setup Failed"
  187.             goto ExitError
  188.         endif
  189.         install "Program Manager"
  190.         read-syms "Setup Successful"
  191.         ui start MessageBox
  192.         Exit
  193.  
  194.  
  195. quit = +
  196.     read-syms "Quit Dialog"
  197.     ui  start  QUIT
  198.     ifstr $(DLGEVENT) == "BACK"
  199.         ui   pop 1
  200.         goto $(CurrentDialog)
  201.     else-ifstr $(DLGEVENT) == "EXIT"
  202.         exit
  203.     endif
  204.  
  205.  
  206. ExitError = +
  207.     set STF_MB_TITLE = $(Title)
  208.     set STF_MB_TYPE = 1
  209.     set STF_MB_DEF = 1
  210.     set STF_MB_ICON = 3
  211.     ui start MessageBox
  212.     exit
  213.     
  214. [Create Dir]
  215. CreateDir $(CREATEPATH), V
  216. Exit
  217.  
  218. [Clear List Script]
  219. ClearCopyList
  220. Exit
  221.  
  222. [Copy List Script]
  223. SetupGetCopyListCost $(szFreePerDisk) $(szClusterPerDisk) $(szTotalFree)
  224.  
  225.     AddSectionFilesToCopyList "Setup Files"    $(STF_SRCDIR) $(CIRPATH)
  226.     AddSectionFilesToCopyList "Custom Setup Files"    $(STF_SRCDIR) $(CIRPATH)
  227.     AddSectionFilesToCopyList "Program Files"    $(STF_SRCDIR) $(ACCPATH)
  228.     AddSectionFilesToCopyList "Graph Files"    $(STF_SRCDIR) $(CIRPATH)
  229. ifstr $(STF_MODE) == "ADMIN"
  230.     AddSectionFilesToCopyList "Metafiles"    $(STF_SRCDIR) $(CIRPATH)
  231. endif
  232.     
  233. GetCopyListCost $(szAdditionalNeeded) $(szTotalFree) $(szTotalNeeded) $(szFreePerDisk) $(szClusterPerDisk) $(szTroublePairs) $(szNeededPerDisk) $(szExtraCosts)
  234. Exit
  235.  
  236. [Install Script]
  237. CopyFilesInCopyList
  238. Exit
  239.  
  240. [Close System Script]
  241.     Close-System "Program Files", "EXE", $(ACCPATH), "501", "500"
  242. Exit
  243.  
  244.  
  245.  
  246. [Source Media Descriptions]
  247.     1 = "Disk 1 - Setup", TAGFILE = "1.wmf"
  248.     2 = "Disk 2", TAGFILE = "2.wmf"
  249. [Setup Files]
  250.         1, setup.exe, $(DECOMP), DEST=$(CIRPATH), SIZE=20640, TIME=20
  251.         1, stfsetup.ex_, $(DECOMP), DEST=$(CIRPATH), SIZE=584560, TIME=570
  252.         1, detcmd.dl_, $(DECOMP), DEST=$(CIRPATH), SIZE=24128, TIME=23
  253.         1, setup.ini, $(DECOMP), DEST=$(CIRPATH), SIZE=149, TIME=1
  254.         1, smalle.fo$, $(DECOMP), $(REN)=smalle.fon, DEST=$(CIRPATH), SIZE=26112, TIME=25, VERSION="3,10,0,103"
  255.         1, smallb.fo$, $(DECOMP), $(REN)=smallb.fon, DEST=$(CIRPATH), SIZE=22016, TIME=21, VERSION="3,10,0,103"
  256.         1, smallf.fo$, $(DECOMP), $(REN)=smallf.fon, DEST=$(CIRPATH), SIZE=21504, TIME=21, VERSION="3,10,0,103"
  257.         1, commdlg.dl_, $(DECOMP), $(REN)=commdlg.dll, DEST=$(CIRPATH), SIZE=89248, TIME=87
  258.         1, share.ex$, $(DECOMP), $(REN)=share.exe, DEST=$(CIRPATH), SIZE=10912, TIME=10
  259.  
  260. [Metafiles]
  261.         1, 1.wmf, $(DECOMP), DEST=$(CIRPATH), SIZE=5846, TIME=5
  262.         1, 1e.wmf, $(DECOMP), DEST=$(CIRPATH), SIZE=5366, TIME=5
  263.         2, 2.wmf, $(DECOMP), DEST=$(CIRPATH), SIZE=5846, TIME=5
  264.         2, 2e.wmf, $(DECOMP), DEST=$(CIRPATH), SIZE=5366, TIME=5
  265.  
  266. [Custom Setup Files]
  267.         1, setupwiz.in$, $(DECOMP), $(REN)=setupwiz.in_, DEST=$(CIRPATH), SIZE=36033, TIME=35
  268.         1, cust14mb.in$, $(DECOMP), $(REN)=cust14mb.in_, DESC=$(CIRPATH), SIZE=42185, TIME=41
  269.         1, cust12mb.in$, $(DECOMP), $(REN)=cust12mb.in_, DESC=$(CIRPATH), SIZE=42201, TIME=41
  270.         1, cust720k.in$, $(DECOMP), $(REN)=cust720k.in_, DESC=$(CIRPATH), SIZE=42449, TIME=41
  271.         1, setupwiz.md$, $(DECOMP), $(REN)=setupwiz.mdb, DESC=$(CIRPATH), SIZE=229376, TIME=224
  272.         1, compress.ex$, $(DECOMP), $(REN)=compress.exe, DESC=$(CIRPATH)
  273.         1, decomp.exe, $(DECOMP), DESC=$(CIRPATH)
  274.         1, setupnew.ini, $(DECOMP), DESC=$(CIRPATH), SIZE=149, TIME=1
  275.         1, workgrp.in$, $(DECOMP), $(REN)=workgrp.in_, DESC=$(CIRPATH), SIZE=1750, TIME=1
  276.         1, hc31.er$, $(DECOMP), $(REN)=hc31.err, DESC=$(CIRPATH), SIZE=7463, TIME=7
  277.         1, hc31.ex$, $(DECOMP), $(REN)=hc31.exe, DESC=$(CIRPATH), SIZE=236304, TIME=230
  278.         1, mrbc.ex$, $(DECOMP), $(REN)=mrbc.exe, DESC=$(CIRPATH), SIZE=57027, TIME=55
  279.         1, shed.ex$, $(DECOMP), $(REN)=shed.exe, DESC=$(CIRPATH), SIZE=107008, TIME=104, VERSION="3,50,0,0"
  280.         1, shed.hl$, $(DECOMP), $(REN)=shed.hlp, DESC=$(CIRPATH), SIZE=91545, TIME=89
  281.         2, sufiles.ex$, $(DECOMP), $(REN)=sufiles.exe, DESC=$(CIRPATH), SIZE=44928, TIME=43
  282.         2, bullet.bm$, $(DECOMP), $(REN)=bullet.bmp, DESC=$(CIRPATH)
  283.         2, iwedit.sh$, $(DECOMP), $(REN)=iwedit.shg, DESC=$(CIRPATH)
  284.         1, iconwrks.bm$, $(DECOMP), $(REN)=iconwrks.bmp, DEST=$(CIRPATH), SIZE=1222, TIME=1
  285.         1, iconwrks.hp$, $(DECOMP), $(REN)=iconwrks.hpj, DEST=$(CIRPATH), SIZE=1943, TIME=1
  286.         1, iconwrks.ph$, $(DECOMP), $(REN)=iconwrks.ph, DEST=$(CIRPATH), SIZE=3735, TIME=3
  287.         1, iconwrks.rt$, $(DECOMP), $(REN)=iconwrks.rtf, DEST=$(CIRPATH), SIZE=236357, TIME=230
  288.         1, readme.txt, $(DECOMP), $(REN)=readme.txt, DEST=$(CIRPATH), SIZE=22494, TIME=21
  289.  
  290. [Program Files]
  291.         EXE = 2, msarn110.ex$, $(DECOMP), $(REN)=msarn110.exe, DEST=$(ACCPATH), OVERWRITE=ALWAYS, SIZE=1338176, TIME=1306, VERSION="1,10,0,0"
  292.     @($(SmallFont))
  293.  
  294. [VGA Font]
  295.         1, smalle.fo$, $(DECOMP), $(REN)=smalle.fon, DEST=$(WINDOWSPATH), OVERWRITE=NEVER, SIZE=26112, TIME=25, VERSION="3,10,0,103"
  296.  
  297. [EGA Font]
  298.         1, smallb.fo$, $(DECOMP), $(REN)=smallb.fon, DEST=$(WINDOWSPATH), OVERWRITE=NEVER, SIZE=22016, TIME=21, VERSION="3,10,0,103"
  299.  
  300. [8514 Font]
  301.         1, smallf.fo$, $(DECOMP), $(REN)=smallf.fon, DEST=$(WINDOWSPATH), OVERWRITE=NEVER, SIZE=21504, TIME=21, VERSION="3,10,0,103"
  302.  
  303. [Graph Files]
  304.         2, graph.ex$, $(DECOMP), $(REN)=graph.exe, BACKUP="*", DEST=$(CIRPATH), SIZE=549888, TIME=537
  305.  
  306.  
  307.