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