home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1996 September / IMM0996.ISO / driver / diamond.mm / diamond / stealth / st32 / s32104.exe / OEMSETUP.INF < prev    next >
INI File  |  1994-05-04  |  22KB  |  609 lines

  1. ;-----------------------------------------------------------------------
  2. ; OPTION TYPE
  3. ; -----------
  4. ; This identifies the Option type we are dealing with.  The different
  5. ; possible types are:
  6. ;
  7. ; COMPUTER, VIDEO, MOUSE, KEYBOARD, LAYOUT, SCSI, PRINTER, ...
  8. ;-----------------------------------------------------------------------
  9.  
  10. [Identification]
  11.     OptionType = VIDEO
  12.  
  13. ;-----------------------------------------------------------------------
  14. ; LANGUAGES SUPPORTED
  15. ; -------------------
  16. ;
  17. ; The languages supported by the OEM INF, For every language supported
  18. ; we need to have a separate text section for every displayable text
  19. ; section.
  20. ;
  21. ;-----------------------------------------------------------------------
  22.  
  23. [LanguagesSupported]
  24.     ENG
  25.  
  26. ;-----------------------------------------------------------------------
  27. ; OPTION LIST
  28. ; -----------
  29. ; This section lists the OEM Option key names.  These keys are locale
  30. ; independent and used to represent the option in a locale independent
  31. ; manner.
  32. ;
  33. ;-----------------------------------------------------------------------
  34.  
  35. ;
  36. ; Option list order: Option = Miniport driver, BitsPerPel, XResolution, YResolution, VRefresh, Interlaced
  37. ;
  38. ; If you don't want to create a VRefresh or Interlaced value under the service
  39. ; parameters then use the value ""
  40. ;
  41.  
  42. [Options]
  43.     "Stealth 32 640x480x8x60"        = Stealth32,   8, 640,  480, 60, 0
  44.     "Stealth 32 640x480x8x72"        = Stealth32,   8, 640,  480, 72, 0
  45.     "Stealth 32 640x480x8x75"        = Stealth32,   8, 640,  480, 75, 0
  46.     "Stealth 32 640x480x8x90"        = Stealth32,   8, 640,  480, 90, 0
  47.     "Stealth 32 800x600x8x56"        = Stealth32,   8, 800,  600, 56, 0
  48.     "Stealth 32 800x600x8x60"        = Stealth32,   8, 800,  600, 60, 0
  49.     "Stealth 32 800x600x8x72"        = Stealth32,   8, 800,  600, 72, 0
  50.     "Stealth 32 800x600x8x75"        = Stealth32,   8, 800,  600, 75, 0
  51.     "Stealth 32 800x600x8x90"        = Stealth32,   8, 800,  600, 90, 0
  52.     "Stealth 32 1024x768x8x60"       = Stealth32,   8, 1024, 768, 60, 0
  53.     "Stealth 32 1024x768x8x70"       = Stealth32,   8, 1024, 768, 70, 0
  54.     "Stealth 32 1024x768x8x72"       = Stealth32,   8, 1024, 768, 72, 0
  55.     "Stealth 32 1024x768x8x75"       = Stealth32,   8, 1024, 768, 75, 0
  56.     "Stealth 32 1024x768x8x45I"      = Stealth32,   8, 1024, 768, 45, 1
  57.  
  58.  
  59. ;
  60. ; This maps detected options into the options we support
  61. ;
  62. ; Format: DetectedOption = MappedOption
  63. ;
  64.  
  65. [MapOfOptions]
  66.     "VGA"                       = "VGA"
  67.     "COMPAQ AVGA"               = "VGA"
  68.     "COMPAQ AGB"                = "VGA"
  69.     "8514 MONITOR UNKNOWN"      = "VGA"
  70.     "8514 VGA MONITOR"          = "VGA"
  71.     "8514 8503 MONO"            = "VGA"
  72.     "8514 8514 GAD"             = "VGA"
  73.     "GENOA VGA"                 = "VGA"
  74.     "VIDEO7 VGA DRAM"           = "VIDEO7 VGA VRAM 640x480x4"
  75.     "VIDEO7 VGA VRAM"           = "VIDEO7 VGA VRAM 640x480x4"
  76.     "TRIDENT VGA"               = "VGA"
  77.     "TRIDENT VGA 9100"          = "VGA"
  78.     "PARADISE VGA"              = "VGA"
  79.     "PARADISE VGA PROM"         = "VGA"
  80.     "PARADISE VGA CHIP 1F"      = "VGA"
  81.     "ATI VGA"                   = "VGA"
  82.     "ATI VGA WONDDER3"          = "VGA"
  83.     "TSENGLAB VGA ET3000"       = "VGA"
  84.     "TSENGLAB VGA ET4000"       = "TSENGLAB VGA ET4000 640x480x4x60"
  85.     "CIRRUS VGA"                = "VGA"
  86.     "CIRRUS VGA 610-620 REVC"   = "VGA"
  87.     "XGA"                       = "XGA 640x480x8"
  88.     "DELL DGX"                  = "DELL DGX 640x480x8"
  89.     "S3 VGA"                    = "S3 VGA 640x480x8"
  90.     "MEDIA VISION VGA"        = "MEDIA VISION VGA 640x480x8"
  91.     "PRODESIGNER II"            = "TSENGLAB VGA ET4000 640x480x4x60"
  92.  
  93.  
  94. ;
  95. ; Order of the information:
  96. ;
  97. ; Port driver = Type, Group, ErrorControl, Tag, InstalledDisplay, VgaCompatible( 0/1 ), EventMessageFile, TypesSupported
  98. ;
  99.  
  100. [MiniportDrivers]
  101.     Stealth32     = !SERVICE_KERNEL_DRIVER, Video, !SERVICE_ERROR_NORMAL, 11, {stlth32}, 1 , %SystemRoot%\System32\IoLogMsg.dll , 7
  102.  
  103.  
  104.  
  105. ;-----------------------------------------------------------------------
  106. ; OPTION TEXT SECTION
  107. ; -------------------
  108. ; These are text strings used to identify the option to the user.  There
  109. ; are separate sections for each language supported.  The format of the
  110. ; section name is "OptionsText" concatenated with the Language represented
  111. ; by the section.
  112. ;
  113. ;-----------------------------------------------------------------------
  114.  
  115. [OptionsTextENG]
  116.     "Stealth32 640x480x8x60"        = "Stealth 32 640x480X8 @ 60Hz"
  117.     "Stealth32 640x480x8x72"        = "Stealth 32 640x480x8 @ 72Hz"
  118.     "Stealth32 640x480x8x75"        = "Stealth 32 640x480x8 @ 75Hz"
  119.     "Stealth32 640x480x8x90"        = "Stealth 32 640x480x8 @ 90Hz"
  120.     "Stealth32 800x600x8x56"        = "Stealth 32 800x600x8 @ 56Hz"
  121.     "Stealth32 800x600x8x60"        = "Stealth 32 800x600x8 @ 60Hz"
  122.     "Stealth32 800x600x8x72"        = "Stealth 32 800x600x8 @ 72Hz"
  123.     "Stealth32 800x600x8x75"        = "Stealth 32 800x600x8 @ 75Hz"
  124.     "Stealth32 800x600x8x90"        = "Stealth 32 800x600x8 @ 90Hz"
  125.     "Stealth32 1024x768x8x60"       = "Stealth 32 1024x768x8 @ 60Hz"
  126.     "Stealth32 1024x768x8x70"       = "Stealth 32 1024x768x8 @ 70Hz"
  127.     "Stealth32 1024x768x8x72"       = "Stealth 32 1024x768x8 @ 72Hz"
  128.     "Stealth32 1024x768x8x75"       = "Stealth 32 1024x768x8 @ 75Hz"
  129.     "Stealth32 1024x768x8x45I"      = "Stealth 32 1024x768x8 @ 45Hz Interlaced"
  130.  
  131.  
  132. ;---------------------------------------------------------------------------
  133. ; 1. Identify
  134. ;
  135. ; DESCRIPTION:   To verify that this INF deals with the same type of options
  136. ;                as we are choosing currently.
  137. ;
  138. ; INPUT:         None
  139. ;
  140. ; OUTPUT:        $($R0): STATUS: STATUS_SUCCESSFUL
  141. ;                $($R1): Option Type (COMPUTER ...)
  142. ;                $($R2): Diskette description
  143. ;---------------------------------------------------------------------------
  144.  
  145. [Identify]
  146.     ;
  147.     ;
  148.     read-syms Identification
  149.  
  150.     set Status     = STATUS_SUCCESSFUL
  151.     set Identifier = $(OptionType)
  152.     set Media      = #("Source Media Descriptions", 1, 1)
  153.  
  154.     Return $(Status) $(Identifier) $(Media)
  155.  
  156.  
  157.  
  158. ;------------------------------------------------------------------------
  159. ; 2. ReturnOptions:
  160. ;
  161. ; DESCRIPTION:   To return the option list supported by this INF and the
  162. ;                localised text list representing the options.
  163. ;
  164. ;
  165. ; INPUT:         $($0):  Language used. ( ENG | FRN | ... )
  166. ;
  167. ; OUTPUT:        $($R0): STATUS: STATUS_SUCCESSFUL |
  168. ;                                STATUS_NOLANGUAGE
  169. ;                                STATUS_FAILED
  170. ;
  171. ;                $($R1): Option List
  172. ;                $($R2): Option Text List
  173. ;------------------------------------------------------------------------
  174.  
  175. [ReturnOptions]
  176.     ;
  177.     ;
  178.     set Status        = STATUS_FAILED
  179.     set OptionList     = {}
  180.     set OptionTextList = {}
  181.  
  182.     ;
  183.     ; Check if the language requested is supported
  184.     ;
  185.     set LanguageList = ^(LanguagesSupported, 1)
  186.     Ifcontains(i) $($0) in $(LanguageList)
  187.         goto returnoptions
  188.     else
  189.         set Status = STATUS_NOLANGUAGE
  190.         goto finish_ReturnOptions
  191.     endif
  192.  
  193.     ;
  194.     ; form a list of all the options and another of the text representing
  195.     ;
  196.  
  197. returnoptions = +
  198.     set OptionList     = ^(Options, 0)
  199.     set OptionTextList = ^(OptionsText$($0), 1)
  200.     set Status         = STATUS_SUCCESSFUL
  201.  
  202. finish_ReturnOptions = +
  203.     Return $(Status) $(OptionList) $(OptionTextList)
  204.  
  205.  
  206.  
  207. ;---------------------------------------------------------------------------
  208. ; MapToSupportedOption
  209. ;
  210. ; DESCRIPTION:   To map a hardware detected option to the NT Supported
  211. ;                option which represents it.
  212. ;
  213. ; INPUT:         $($0): Option
  214. ;
  215. ; OUTPUT:        $($R0): STATUS: STATUS_SUCCESSFUL
  216. ;                $($R1): Mapped Option
  217. ;
  218. ;---------------------------------------------------------------------------
  219.  
  220. [MapToSupportedOption]
  221.     ;
  222.     set Status = STATUS_FAILED
  223.     set MappedOption = $($0)
  224.  
  225.     ;
  226.     ; If the option is one we can support using one of our standard options
  227.     ; then map it to the standard option else map it to the default option
  228.     ; which is VGA.
  229.     ;
  230.  
  231.     set OptionList = ^(MapOfOptions, 0)
  232.     ifcontains $($0) in $(OptionList)
  233.     Debug-Output "We are setting the option list here."
  234.     set MappedOption = #(MapOfOptions, $($0), 1)
  235.     else
  236.         set MappedOption = "VGA"
  237.     endif
  238.  
  239.     set Status = STATUS_SUCCESSFUL
  240.     Return $(Status) $(MappedOption)
  241.  
  242.  
  243.  
  244. [ServicesEntry]
  245.     CurrentEntry = "" ? $(!LIBHANDLE) GetDevicemapValue Video \Device\Video0
  246.  
  247.  
  248. ;
  249. ; InstallOption:
  250. ;
  251. ; FUNCTION:  To copy files representing Options
  252. ;            To configure the installed option
  253. ;            To update the registry for the installed option
  254. ;
  255. ; INPUT:     $($0):  Language to use
  256. ;            $($1):  OptionID to install
  257. ;            $($2):  SourceDirectory
  258. ;            $($3):  AddCopy  (YES | NO)
  259. ;            $($4):  DoCopy   (YES | NO)
  260. ;            $($5):  DoConfig (YES | NO)
  261. ;
  262. ; OUTPUT:    $($R0): STATUS: STATUS_SUCCESSFUL |
  263. ;                            STATUS_NOLANGUAGE |
  264. ;                            STATUS_USERCANCEL |
  265. ;                            STATUS_FAILED
  266. ;
  267.  
  268. [InstallOption]
  269.  
  270.     Debug-Output "We are entering Install Option."
  271.  
  272.     ;
  273.     ; Set default values for
  274.     ;
  275.     set Status       = STATUS_FAILED
  276.     set DrivesToFree = {}
  277.  
  278.     ;
  279.     ; extract parameters
  280.     ;
  281.     set Option   = $($1)
  282.     set SrcDir   = $($2)
  283.     set AddCopy  = $($3)
  284.     set DoCopy   = $($4)
  285.     set DoConfig = $($5)
  286.  
  287.     ;
  288.     ; Check if the language requested is supported
  289.     ;
  290.     set LanguageList = ^(LanguagesSupported, 1)
  291.     Ifcontains(i) $($0) in $(LanguageList)
  292.     else
  293.         set Status = STATUS_NOLANGUAGE
  294.         goto finish_InstallOption
  295.     endif
  296.     read-syms Strings$($0)
  297.  
  298.     ;
  299.     ; check to see if Option is supported.
  300.     ;
  301.  
  302.     set OptionList = ^(Options, 0)
  303.     ifcontains $(Option) in $(OptionList)
  304.     else
  305.         goto finish_InstallOption
  306.     endif
  307.     set OptionList = ""
  308.  
  309.     ;
  310.     ; Option has been defined already
  311.     ;
  312.     set MiniportDriver    = #(Options, $(Option), 1)
  313.     set BitsPerPel        = #(Options, $(Option), 2)
  314.     set XResolution       = #(Options, $(Option), 3)
  315.     set YResolution       = #(Options, $(Option), 4)
  316.     set VRefresh          = #(Options, $(Option), 5)
  317.     set Interlaced        = #(Options, $(Option), 6)
  318.  
  319.     set Type              = $(#(MiniportDrivers, $(MiniportDriver), 1))
  320.     set Group             =   #(MiniportDrivers, $(MiniportDriver), 2)
  321.     set ErrorControl      = $(#(MiniportDrivers, $(MiniportDriver), 3))
  322.     set Tag               =   #(MiniportDrivers, $(MiniportDriver), 4)
  323.     set InstalledDisplays =   #(MiniportDrivers, $(MiniportDriver), 5)
  324.     set VgaCompatible     =   #(MiniportDrivers, $(MiniportDriver), 6)
  325.     set EventMessageFile  =   #(MiniportDrivers, $(MiniportDriver), 7)
  326.     set TypesSupported    =   #(MiniportDrivers, $(MiniportDriver), 8)
  327.  
  328.     read-syms ServicesEntry
  329.     detect    ServicesEntry
  330.  
  331. installtheoption = +
  332.  
  333.     ;
  334.     ; Code to add files to copy list
  335.     ;
  336.  
  337.     ifstr(i) $(AddCopy) == "YES"
  338.         set DoActualCopy = NO
  339.         set FileToCheck = #(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
  340.         LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\drivers\"$(FileToCheck)
  341.         ifstr(i) $(STATUS) == NO
  342.             set DoActualCopy = YES
  343.             goto addfiles
  344.         endif
  345.         ForListDo $(InstalledDisplays)
  346.             set FileToCheck = #(Files-DisplayDLLs, $($), 2)
  347.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\"$(FileToCheck)
  348.             ifstr(i) $(STATUS) == NO
  349.                 set DoActualCopy = YES
  350.             endif
  351.         EndForListDo
  352.  
  353. addfiles = +
  354.         ifstr(i) $(DoActualCopy) == NO
  355.             shell "subroutn.inf" DriversExist $($0) $(String1)
  356.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  357.                 Debug-Output "VIDEO.INF: shelling DriversExist failed"
  358.                 goto finish_InstallOption
  359.             endif
  360.  
  361.             ifstr(i) $($R0) == STATUS_CURRENT
  362.             else-ifstr(i) $($R0) == STATUS_NEW
  363.                 set DoActualCopy = YES
  364.             else-ifstr(i) $($R0) == STATUS_USERCANCEL
  365.                 Debug-Output "VIDEO.INF: User cancelled video installation"
  366.                 goto finish_InstallOption
  367.             else
  368.                 Debug-Output "VIDEO.INF: Error reported in DriversExist routine in SUBROUTN.INF"
  369.                 goto finish_InstallOption
  370.             endif
  371.         endif
  372.  
  373.         ifstr(i) $(DoActualCopy) == YES
  374.  
  375.             shell "subroutn.inf" DoAskSourceEx $(SrcDir) $(String2)
  376.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  377.                 Debug-Output "VIDEO.INF: shelling DoAskSourceEx failed"
  378.                 goto finish_InstallOption
  379.             endif
  380.  
  381.             ifstr(i) $($R0) == STATUS_SUCCESSFUL
  382.                 set SrcDir = $($R1)
  383.                 ifstr(i) $($R2) != ""
  384.                     set DrivesToFree = >($(DrivesToFree), $($R2))
  385.                 endif
  386.             else
  387.                 Debug-Output "VIDEO.INF: User cancelled asking source."
  388.                 goto finish_InstallOption
  389.             endif
  390.  
  391.             install Install-AddCopyOption
  392.             ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  393.                 Debug-Output "VIDEO.INF: Adding video files to copy list failed"
  394.                 goto finish_InstallOption
  395.             endif
  396.         else
  397.             set DoCopy = NO
  398.         endif
  399.  
  400.     endif
  401.  
  402.     ifstr(i) $(DoCopy) == "YES"
  403.         read-syms ProgressCopy$($0)
  404.         install Install-DoCopyOption
  405.         ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  406.             Debug-Output "Copying files failed"
  407.             goto finish_InstallOption
  408.         else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  409.             set Status = STATUS_USERCANCEL
  410.             goto finish_InstallOption
  411.         endif
  412.     endif
  413.  
  414.     ifstr(i) $(DoConfig) == "YES"
  415.  
  416.         ;
  417.         ; first run a privilege check on modifying the setup node
  418.         ;
  419.  
  420.         shell "registry.inf" CheckSetupModify
  421.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  422.             goto finish_InstallOption
  423.         endif
  424.  
  425.         ifstr(i) $($R0) != STATUS_SUCCESSFUL
  426.             goto finish_InstallOption
  427.         endif
  428.  
  429.         ;
  430.         ; first make a new video entry, the entry is created automatically
  431.         ; enabled
  432.         ;
  433.  
  434.         set ServiceNode   = $(MiniportDriver)
  435.         set ServiceBinary = %SystemRoot%\System32\drivers\#(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
  436.  
  437.         set ServicesValues   = { +
  438.                 {Type,           0, $(!REG_VT_DWORD),     $(Type)                  }, +
  439.                 {Start,          0, $(!REG_VT_DWORD),     $(!SERVICE_SYSTEM_START) }, +
  440.                 {Group,          0, $(!REG_VT_SZ),        $(Group)                 }, +
  441.                 {ErrorControl,   0, $(!REG_VT_DWORD),     $(ErrorControl)          }, +
  442.                 {Tag,            0, $(!REG_VT_DWORD),     $(Tag)                   }, +
  443.                 {BinaryPathName, 0, $(!REG_VT_EXPAND_SZ), $(ServiceBinary)         }  +
  444.                 }
  445.  
  446.         set ParametersValues = { +
  447.                 {InstalledDisplayDrivers,     0, $(!REG_VT_MULTI_SZ), $(InstalledDisplays) }, +
  448.                 {VgaCompatible,               0, $(!REG_VT_DWORD),    $(VgaCompatible)     }, +
  449.                 {DefaultSettings.BitsPerPel,  0, $(!REG_VT_DWORD),    $(BitsPerPel)        }, +
  450.         {DefaultSettings.VRefresh,    0, $(!REG_VT_DWORD),    $(VRefresh)       }, +
  451.         {DefaultSettings.Interlaced,  0, $(!REG_VT_DWORD),    $(Interlaced)       }, +
  452.         {DefaultSettings.XResolution, 0, $(!REG_VT_DWORD),    $(XResolution)       }, +
  453.                 {DefaultSettings.YResolution, 0, $(!REG_VT_DWORD),    $(YResolution)       }  +
  454.         }
  455.  
  456.         ifstr(i) $(VRefresh) != ""
  457.             set VRefreshValue = {DefaultSettings.VRefresh, 0, $(!REG_VT_DWORD), $(VRefresh)}
  458.             set ParametersValue = >($(ParametersValue), $(VRefreshValue))
  459.         endif
  460.  
  461.         ifstr(i) $(Interlaced) != ""
  462.             set InterlacedValue = {DefaultSettings.Interlaced, 0, $(!REG_VT_DWORD), $(Interlaced)}
  463.             set ParametersValue = >($(ParametersValue), $(InterlacedValue))
  464.         endif
  465.  
  466.         set DeviceValues     = {}
  467.         set EventLogValues   = { +
  468.                 {EventMessageFile, 0, $(!REG_VT_EXPAND_SZ), $(EventMessageFile) }, +
  469.                 {TypesSupported,   0, $(!REG_VT_DWORD),     $(TypesSupported)   }  +
  470.                 }
  471.  
  472.         shell "registry.inf"  MakeServicesEntry $(ServiceNode)      +
  473.                                                 $(ServicesValues)   +
  474.                                                 $(ParametersValues) +
  475.                                                 $(DeviceValues)     +
  476.                                                 $(EventLogValues)   +
  477.                                                 Device0
  478.  
  479.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  480.             Debug-Output "Couldn't execute MakeServicesEntry in registry.inf"
  481.             goto finish_InstallOption
  482.         endif
  483.  
  484.         ifstr(i) $($R0) != STATUS_SUCCESSFUL
  485.             Debug-Output "MakeServicesEntry failed for video"
  486.             goto finish_InstallOption
  487.         endif
  488.  
  489.         ;
  490.         ;
  491.         ; then disable the previous video entry
  492.         ;
  493.  
  494.         ifstr(i) $(CurrentEntry) != $(MiniportDriver)
  495.             ifstr(i) $(CurrentEntry) != VGA
  496.                 ifstr(i) $(CurrentEntry) != ""
  497.                     shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_DISABLED)
  498.  
  499.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  500.                         Debug-Output "Couldn't find DisableServicesEntry in registry.inf"
  501.                         goto errorconfig
  502.                     endif
  503.  
  504.                     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  505.                         Debug-Output "DisableServices entry failed"
  506.                     endif
  507.                 endif
  508.             endif
  509.         endif
  510.  
  511.         goto configdone
  512.  
  513. errorconfig = +
  514.         ifstr(i) $(CurrentEntry) != $(MiniportDriver)
  515.             shell "registry.inf" ModifyServicesEntry $(MiniportDriver) $(!SERVICE_DISABLED)
  516.             ifstr(i) $(CurrentEntry) != ""
  517.                 shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_SYSTEM_START)
  518.             endif
  519.         endif
  520.         goto finish_InstallOption
  521.  
  522. configdone = +
  523.  
  524.     endif
  525.  
  526.     set Status = STATUS_SUCCESSFUL
  527.  
  528. finish_InstallOption = +
  529.     ForListDo $(DrivesToFree)
  530.         LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
  531.     EndForListDo
  532.  
  533.     Return $(Status)
  534.  
  535.  
  536. [Install-AddCopyOption]
  537.  
  538.     set STF_VITAL = ""
  539.     ;
  540.     ; Add the files to the copy list
  541.     ;
  542.     AddSectionKeyFileToCopyList   Files-DisplayMiniportDrivers   +
  543.                                   $(MiniportDriver)              +
  544.                                   $(SrcDir)                      +
  545.                                   $(!STF_WINDOWSSYSPATH)\drivers
  546.  
  547.     ForListDo $(InstalledDisplays)
  548.         AddSectionKeyFileToCopyList   Files-DisplayDLLs          +
  549.                                       $($)                       +
  550.                                       $(SrcDir)                  +
  551.                                       $(!STF_WINDOWSSYSPATH)
  552.  
  553.     EndForListDo
  554.  
  555.     exit
  556.  
  557.  
  558. [Install-DoCopyOption]
  559.  
  560.     ;
  561.     ; Copy files in the copy list
  562.     ;
  563.     CopyFilesInCopyList
  564.     exit
  565.  
  566. ;**************************************************************************
  567. ; PROGRESS GUAGE VARIABLES
  568. ;**************************************************************************
  569.  
  570. [ProgressCopyENG]
  571.     ProCaption   = "Windows NT Setup"
  572.     ProCancel    = "Cancel"
  573.     ProCancelMsg = "Windows NT is not correcly installed.  Are you sure you want "+
  574.                    "to cancel copying files?"
  575.     ProCancelCap = "Setup Message"
  576.     ProText1     = "Copying:"
  577.     ProText2     = "To:"
  578.  
  579. [StringsENG]
  580.     String1 = "Display"
  581.     String2 = "Please enter the full path to the OEM Display "+
  582.               "driver files.  Then choose Continue."
  583.  
  584. ;-----------------------------------------------------------------------
  585. ; SOURCE MEDIA DESCRIPTIONS
  586. ; -------------------------
  587. ; The OEM should list all the diskette labels here.  The source media
  588. ; description is used during copy to prompt the user for a diskette
  589. ; if the source is diskettes.
  590. ;
  591. ; Use 1 = "Diskette 1 Label" , TAGFILE = disk1
  592. ;     2 = "Diskette 2 Label" , TAGFILE = disk2
  593. ;     ...
  594. ;-----------------------------------------------------------------------
  595.  
  596. ;--------------------------------------------------------------------
  597. ; THE SECTIONS BELOW SHOULD BE AUTOMATICALLY GENERATED BY THE EXCEL
  598. ; SPREAD SHEETS
  599. ;--------------------------------------------------------------------
  600.  
  601. [Source Media Descriptions]
  602.     1  = "Stealth 32 Windows NT SETUP (VIDEO)", TAGFILE = disk3
  603.  
  604. [Files-DisplayDLLs]
  605. stlth32 = 1,stlth32.dll , SIZE=999
  606.  
  607. [Files-DisplayMiniportDrivers]
  608. Stealth32 = 1,stlth32.sys , SIZE=999
  609.