home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / d / d423_liu / 9.ddi / LAYOUT.IN_ / LAYOUT.IN
Encoding:
INI File  |  1993-07-24  |  10.5 KB  |  294 lines

  1. [Identification]
  2.     OptionType = LAYOUT
  3. [Identify]
  4.     read-syms Identification
  5.     set Status     = STATUS_SUCCESSFUL
  6.     set Identifier = $(OptionType)
  7.     set Media      = #("Source Media Descriptions", 1, 1)
  8.     Return $(Status) $(Identifier) $(Media)
  9. [ReturnOptions]
  10.     set Status        = STATUS_FAILED
  11.     set OptionList     = {}
  12.     set OptionTextList = {}
  13.     set LanguageList = ^(LanguagesSupported, 1)
  14.     Ifcontains(i) $($0) in $(LanguageList)
  15.         goto returnoptions
  16.     else
  17.         set Status = STATUS_NOLANGUAGE
  18.         goto finish_ReturnOptions
  19.     endif
  20. returnoptions = +
  21.     set OptionList     = ^(Options, 0)
  22.     set OptionTextList = ^(OptionsText$($0), 1)
  23.     set Status         = STATUS_SUCCESSFUL
  24. finish_ReturnOptions = +
  25.     Return $(Status) $(OptionList) $(OptionTextList)
  26. [InstallOption]
  27.     set Status   = STATUS_FAILED
  28.     set Option   = $($1)
  29.     set SrcDir   = $($2)
  30.     set AddCopy  = $($3)
  31.     set DoCopy   = $($4)
  32.     set DoConfig = $($5)
  33.     set LanguageList = ^(LanguagesSupported, 1)
  34.     Ifcontains(i) $($0) in $(LanguageList)
  35.     else
  36.         set Status = STATUS_NOLANGUAGE
  37.         goto finish_InstallOption
  38.     endif
  39.     read-syms Strings$($0)
  40.     set OptionList = ^(Options, 0)
  41.     ifcontains $(Option) in $(OptionList)
  42.     else
  43.         goto finish_InstallOption
  44.     endif
  45.     set OptionList = ""
  46.     set OptionFile = #(Options, $(Option), 1)
  47. installtheoption = +
  48.     ifstr(i) $(AddCopy) == "YES"
  49.         install Install-AddCopyOption
  50.         ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  51.             Debug-Output "Adding video files to copy list failed"
  52.             goto finish_InstallOption
  53.         endif
  54.     endif
  55.     ifstr(i) $(DoCopy) == "YES"
  56.         read-syms ProgressCopy$($0)
  57.         install Install-DoCopyOption
  58.         ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  59.             Debug-Output "Copying files failed"
  60.             goto finish_InstallOption
  61.         else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  62.             set Status = STATUS_USERCANCEL
  63.             goto finish_InstallOption
  64.         endif
  65.     endif
  66.     ifstr(i) $(DoConfig) == "YES"
  67.         shell "registry.inf"  MakeLayoutEntry $(Option) $(OptionFile)
  68.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  69.             Debug-Output "Couldn't execute MakeLayoutEntry in registry.inf"
  70.             shell "subroutn.inf" SetupMessage $($0) "FATAL" $(String2)
  71.             goto finish_InstallOption
  72.         endif
  73.         ifstr(i) $($R0) != STATUS_SUCCESSFUL
  74.             Debug-Output "MakeLayoutEntry failed"
  75.             shell "subroutn.inf" SetupMessage $($0) "FATAL" $(String2)
  76.             goto finish_InstallOption
  77.         endif
  78.     endif
  79.     set Status = STATUS_SUCCESSFUL
  80. finish_InstallOption = +
  81.     Return $(Status)
  82. [Install-AddCopyOption]
  83.     set STF_VITAL = VITAL
  84.     AddSectionKeyFileToCopyList   Files-Layout               +
  85.                                   $(Option)                  +
  86.                                   $(SrcDir)                  +
  87.                                   $(!STF_WINDOWSSYSPATH)
  88.     exit
  89. [Install-DoCopyOption]
  90.     CopyFilesInCopyList
  91.     exit
  92. [ExternalInstallOption]
  93.     Set !G:DebugOutputControl = 0
  94.     set Exit_Code = $(!SETUP_ERROR_GENERAL)
  95.     set DrivesToFree = {}
  96.     install LoadSetupLibrary
  97.     ifstr(i)      $(STF_LANGUAGE)  == ""
  98.         goto end
  99.     else-ifstr(i) $(OPTION)        == ""
  100.         goto end
  101.     else-ifstr(i) $(ADDCOPY)       == ""
  102.         goto end
  103.     else-ifstr(i) $(DOCOPY)        == ""
  104.         goto end
  105.     else-ifstr(i) $(DOCONFIG)      == ""
  106.         goto end
  107.     endif
  108.     read-syms UiVars
  109.     detect    UiVars
  110.     set STF_SRCDIR = A:\
  111.     shell "registry.inf" GetNTSource
  112.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  113.     else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
  114.     else
  115.         set STF_SRCDIR = $($R1)
  116.     endif
  117.     shell "subroutn.inf" DoAskSource $(STF_SRCDIR)
  118.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  119.         Debug-Output "shelling DoAskSource failed"
  120.         goto end
  121.     endif
  122.     ifstr(i) $($R0) == STATUS_SUCCESSFUL
  123.         set STF_SRCDIR = $($R1)
  124.         ifstr(i) $($R2) != ""
  125.             set DrivesToFree = >($(DrivesToFree), $($R2))
  126.         endif
  127.     else
  128.         goto end
  129.     endif
  130.     shell "" InstallOption $(STF_LANGUAGE) $(OPTION) $(STF_SRCDIR) $(ADDCOPY) $(DOCOPY) $(DOCONFIG)
  131.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  132.         Debug-Output "Execing Configuring hardware options failed"
  133.         goto end
  134.     endif
  135.     ifstr(i) $($R0) == STATUS_SUCCESSFUL
  136.         set Exit_Code = $(!SETUP_ERROR_SUCCESS)
  137.     else-ifstr(i) $($R0) == STATUS_USERCANCEL
  138.         set Exit_Code = $(!SETUP_ERROR_USERCANCEL)
  139.     endif
  140. end =+
  141.     ForListDo $(DrivesToFree)
  142.         LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
  143.     EndForListDo
  144.     install   FreeSetupLibrary
  145.     exit
  146. [LoadSetupLibrary]
  147.     LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
  148.     exit
  149. [FreeSetupLibrary]
  150.     FreeLibrary $(!LIBHANDLE)
  151.     exit
  152. [UiVars]
  153.     STF_CONTROLSET     = CurrentControlSet
  154.     STF_WINDOWSPATH    = "" ? $(!LIBHANDLE) GetWindowsNtDir
  155.     STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
  156. [Source Media Descriptions]
  157.     1    = "Windows NT Advanced Server Setup Disk #1"   , TAGFILE = disk1
  158.     2    = "Windows NT Advanced Server Setup Disk #2"   , TAGFILE = disk2
  159.     3    = "Windows NT Advanced Server Setup Disk #3"   , TAGFILE = disk3
  160.     4    = "Windows NT Advanced Server Setup Disk #4"   , TAGFILE = disk4
  161.     5    = "Windows NT Advanced Server Setup Disk #5"   , TAGFILE = disk5
  162.     6    = "Windows NT Advanced Server Setup Disk #6"   , TAGFILE = disk6
  163.     7    = "Windows NT Advanced Server Setup Disk #7"   , TAGFILE = disk7
  164.     8    = "Windows NT Advanced Server Setup Disk #8"   , TAGFILE = disk8
  165.     9    = "Windows NT Advanced Server Setup Disk #9"   , TAGFILE = disk9
  166.     10    = "Windows NT Advanced Server Setup Disk #10"  , TAGFILE = disk10
  167.     11    = "Windows NT Advanced Server Setup Disk #11"  , TAGFILE = disk11
  168.     12    = "Windows NT Advanced Server Setup Disk #12"  , TAGFILE = disk12
  169.     13    = "Windows NT Advanced Server Setup Disk #13"  , TAGFILE = disk13
  170.     14    = "Windows NT Advanced Server Setup Disk #14"  , TAGFILE = disk14
  171.     15    = "Windows NT Advanced Server Setup Disk #15"  , TAGFILE = disk15
  172.     16    = "Windows NT Advanced Server Setup Disk #16"  , TAGFILE = disk16
  173.     17    = "Windows NT Advanced Server Setup Disk #17"  , TAGFILE = disk17
  174.     18    = "Windows NT Advanced Server Setup Disk #18"  , TAGFILE = disk18
  175.     19    = "Windows NT Advanced Server Setup Disk #19"  , TAGFILE = disk19
  176.     20    = "Windows NT Advanced Server Setup Disk #20"  , TAGFILE = disk20
  177.     21    = "Windows NT Advanced Server Setup Disk #21"  , TAGFILE = disk21
  178.     22    = "Windows NT Advanced Server Setup Disk #22"  , TAGFILE = disk22
  179.     23    = "Windows NT Advanced Server Setup Disk #23"  , TAGFILE = disk23
  180.     24    = "Windows NT Advanced Server Setup Disk #24"  , TAGFILE = disk24
  181.     25    = "Windows NT Advanced Server Setup Disk #25"  , TAGFILE = disk25
  182.     26    = "Windows NT Advanced Server Setup Disk #26"  , TAGFILE = disk26
  183.     27    = "Windows NT Advanced Server Setup Disk #27"  , TAGFILE = disk27
  184.     28    = "Windows NT Advanced Server Setup Disk #28"  , TAGFILE = disk28
  185.     29    = "Windows NT Advanced Server Setup Disk #29"  , TAGFILE = disk29
  186. [ProductType]
  187. STF_PRODUCT  = LanmanNT
  188. STF_PLATFORM = I386
  189. [Files-Layout]
  190. 00000405 = 9,KBDCZ.DLL , SIZE=11264
  191. 00000406 = 8,KBDDA.DLL , SIZE=11776
  192. 00000407 = 8,KBDGR.DLL , SIZE=11776
  193. 00000408 = 8,KBDHE.DLL , SIZE=11776
  194. 00000409 = 9,KBDUS.DLL , SIZE=11264
  195. 0000040A = 8,KBDSP.DLL , SIZE=11776
  196. 0000040B = 8,KBDFI.DLL , SIZE=11776
  197. 0000040C = 8,KBDFR.DLL , SIZE=11776
  198. 0000040E = 9,KBDHU.DLL , SIZE=11264
  199. 0000040F = 8,KBDIC.DLL , SIZE=11776
  200. 00000410 = 9,KBDIT.DLL , SIZE=11264
  201. 00000413 = 8,KBDNE.DLL , SIZE=11776
  202. 00000414 = 8,KBDNO.DLL , SIZE=11776
  203. 00000415 = 9,KBDPL1.DLL , SIZE=11264
  204. 00000419 = 9,KBDRU.DLL , SIZE=11264
  205. 0000041D = 8,KBDSW.DLL , SIZE=11776
  206. 00000807 = 8,KBDSG.DLL , SIZE=12288
  207. 00000809 = 9,KBDUK.DLL , SIZE=11264
  208. 0000080A = 8,KBDLA.DLL , SIZE=11776
  209. 0000080C = 8,KBDBE.DLL , SIZE=11776
  210. 00000813 = 8,KBDBE.DLL , SIZE=11776
  211. 00000816 = 8,KBDPO.DLL , SIZE=11776
  212. 00000C0C = 8,KBDFC.DLL , SIZE=12288
  213. 00001009 = 8,KBDCA.DLL , SIZE=11776
  214. 0000100C = 8,KBDSF.DLL , SIZE=11776
  215. 00010409 = 9,KBDDV.DLL , SIZE=11264
  216. 0001040A = 8,KBDES.DLL , SIZE=11776
  217. 00010C0C = 8,KBDCA.DLL , SIZE=11776
  218. 00020409 = 8,KBDUSX.DLL , SIZE=11776
  219. [LanguagesSupported]
  220.     ENG
  221. [OptionsTextENG]
  222.     00000813 = "Belgian Dutch"
  223.     0000080C = "Belgian French"
  224.     00000809 = "British"
  225.     00001009 = "Canadian English (Multilingual)"
  226.     00000C0C = "Canadian French"
  227.     00010C0C = "Canadian French (Multilingual)"
  228.     00000405 = "Czech"
  229.     00000406 = "Danish"
  230.     00000413 = "Dutch"
  231.     0000040B = "Finnish"
  232.     0000040C = "French"
  233.     00000407 = "German"
  234.     00000408 = "Greek"
  235.     0000040E = "Hungarian"
  236.     0000040F = "Icelandic"
  237.     00000410 = "Italian"
  238.     0000080A = "Latin American"
  239.     00000414 = "Norwegian"
  240.     00000415 = "Polish (Programmers)"
  241.     00000816 = "Portuguese"
  242.     00000419 = "Russian"
  243.     0000040A = "Spanish"
  244.     0001040A = "Spanish variation"
  245.     0000041D = "Swedish"
  246.     0000100C = "Swiss French"
  247.     00000807 = "Swiss German"
  248.     00000409 = "US"
  249.     00010409 = "US-Dvorak"
  250.     00020409 = "US-International"
  251. [Options]
  252.     00000813 = kbdbe.dll   
  253.     0000080C = kbdbe.dll   
  254.     00000809 = kbduk.dll   
  255.     00001009 = kbdca.dll   
  256.     00000C0C = kbdfc.dll   
  257.     00010C0C = kbdca.dll   
  258.     00000405 = kbdcz.dll   
  259.     00000406 = kbdda.dll   
  260.     00000413 = kbdne.dll   
  261.     0000040B = kbdfi.dll   
  262.     0000040C = kbdfr.dll   
  263.     00000407 = kbdgr.dll   
  264.     00000408 = kbdhe.dll   
  265.     0000040E = kbdhu.dll   
  266.     0000040F = kbdic.dll   
  267.     00000410 = kbdit.dll   
  268.     0000080A = kbdla.dll   
  269.     00000414 = kbdno.dll   
  270.     00000415 = kbdpl1.dll  
  271.     00000816 = kbdpo.dll   
  272.     00000419 = kbdru.dll   
  273.     0000040A = kbdsp.dll   
  274.     0001040A = kbdes.dll   
  275.     0000041D = kbdsw.dll   
  276.     0000100C = kbdsf.dll   
  277.     00000807 = kbdsg.dll   
  278.     00000409 = kbdus.dll   
  279.     00010409 = kbddv.dll   
  280.     00020409 = kbdusx.dll  
  281. [StringsENG]
  282.     String2 = "Setup was unable to install the selected keyboard layout."
  283. [ProgressCopyENG]
  284.     ProCaption   = "Windows NT Setup"
  285.     ProCancel    = "Cancel"
  286.     ProCancelMsg = "Windows NT is not correcly installed.  Are you sure you want "+
  287.                    "to cancel copying files?"
  288.     ProCancelCap = "Setup Message"
  289.     ProText1     = "Copying:"
  290.     ProText2     = "To:"
  291.  
  292.  
  293.  
  294.