Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
7.2 KiB

  1. [SourceFilesURL]
  2. #include "url.inc"
  3. [CabinetBuild]
  4. #ifdef PRIVATE
  5. ;
  6. ; This section names all the CAB files which need to be created at
  7. ; patch install time. It is assumed that some CopyFiles= entry will
  8. ; be looking for this CAB, and that will get it copied to where it
  9. ; needs to be. If no such demand for this CAB appears, it will not be
  10. ; built (because it would just be discarded.)
  11. ;
  12. ; create = filelist, reference, reference, ...
  13. ;
  14. ; When moving to SPn+1, change all "new\spX.cab" entries to
  15. ; "new\spX+1.cab", change all "spX.cab.Files" entries to
  16. ; "spX+1.cab.Files", and add a new self-referencing line like:
  17. ;
  18. ; new\sp1.cab = sp1.cab.Files, sp1_cab, spf_sp1_cab
  19. ;
  20. #endif
  21. new\sp1.cab = sp1.cab.Files, sp1_cab, spf_sp1_cab
  22. new\sp1.cab = sp1.cab.Files, driver_cab, system32, drivers, dllcache
  23. new\sp1.cab = sp1.cab.Files, oem_Sources
  24. new\sp1.cab = sp1.cab.Files, oem_FPCab
  25. new\sp1.cab = sp1.cab.Files, oem_IIS6Cab
  26. new\sp1.cab = sp1.cab.Files, oem_IMSCab
  27. new\sp1.cab = sp1.cab.Files, oem_MgrCab
  28. new\sp1.cab = sp1.cab.Files, oem_MMSCab
  29. new\sp1.cab = sp1.cab.Files, oem_MdmCab
  30. new\sp1.cab = sp1.cab.Files, oem_OscCab
  31. new\sp1.cab = sp1.cab.Files, oem_WinCab
  32. new\sp1.cab = sp1.cab.Files, oem_SysCab
  33. new\sp1.cab = sp1.cab.Files, oem_W32Cab
  34. #ifdef PRIVATE
  35. ;
  36. ; This means a CAB file named "sp1.cab" must be built (and placed in
  37. ; the "new" directory) before update.exe begins copying. The files
  38. ; which must be in sp1.cab are listed in [sp1.cab.Files]. The files
  39. ; which may be scanned as patching candidates are referred to by
  40. ; "sp1_cab", "spf_sp1_cab", "driver_cab", "drivers", and "system32",
  41. ; and "drivers", which are defined below in [CabBuildReferences].
  42. ; Some of these name a directory which may be scanned for matching
  43. ; file names, and others name a specific existing CAB file which may
  44. ; be scanned for matching file names.
  45. ;
  46. ; If the sp1.cab file already exists in the update\new directory, it will
  47. ; be assumed that it's contents are correct, and it will not be built.
  48. ;
  49. ; Some files which are going into sp1.cab may also be destined for other
  50. ; directories during the installation as well, but duplicate files will
  51. ; never be downloaded.
  52. ;
  53. ; Based on the sp1_cab reference, if an sp1.cab file already exists
  54. ; on the system, each of its files will be scanned to see if they already
  55. ; match the hash found in [SourceDisksFiles]. It is customary for the
  56. ; target cab file to also be listed as a reference this way, so that
  57. ; existing sp1.cab contents could be used as-is or as reference files.
  58. ;
  59. #endif
  60. [CabinetBuildReferences]
  61. #ifdef PRIVATE
  62. ;
  63. ; reference = DestinationDir[, filename]
  64. ;
  65. ; This section defines each of the reference names mentioned in the
  66. ; [CabBuild] section as either a CAB file in a specific directory,
  67. ; or as a directory which will be scanned for file names which match
  68. ; any listed in [sp1.cab]
  69. ;
  70. ; Other than these explicitly named CAB files, compressed files will
  71. ; not be considered for patch references. Ex: ntoskrnl.ex_ will not
  72. ; be considered to build ntoskrnl.exe, unless it is explictly listed
  73. ; here, as in "ntoskrnl = Drivers.files, ntoskrnl.ex_". (And even in
  74. ; this case, ntoskrnl.ex_ must be a CAB, not LZExpand-compressed.)
  75. ;
  76. ; When moving to SPn+1, add a definition for SPn+1_cab like:
  77. ; sp1_cab = CopyAlways.DriverCab.files, sp1.cab
  78. ;
  79. #endif
  80. sp1_cab = CopyAlways.DriverCab.files, sp1.cab
  81. driver_cab = CopyAlways.DriverCab.files, driver.cab
  82. drivers = Drivers.files
  83. dllcache = Cache.files
  84. system32 = System32.files
  85. oem_Sources = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",,3,"i386"
  86. oem_FPCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\fp40ext.cab
  87. oem_IIS6Cab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\iis6.cab
  88. oem_IMSCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\ims.cab
  89. oem_MgrCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\manager.cab
  90. oem_MMSCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\mmssetup.cab
  91. oem_MdmCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\modem.cab
  92. oem_OscCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\osc.cab
  93. oem_WinCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\win.cab
  94. oem_SysCab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\winsys.cab
  95. oem_W32Cab = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath",i386\winsys32.cab
  96. #ifdef PRIVATE
  97. ;
  98. ; the spf_XXX entries are used to refer to any CABs stashed in the
  99. ; ServicePackFiles directory from any previous service pack installs.
  100. ;
  101. ; When moving to SPn+1, add a definition for SPn+1_cab like:
  102. ; spf_sp1_cab = ServicePackFiles.CommonFiles, sp1.cab
  103. ;
  104. #endif
  105. spf_sp1_cab = ServicePackFiles.CommonFiles, sp1.cab
  106. #ifdef PRIVATE
  107. [CabinetBuildAliases]
  108. ; [The feature which would use this info is not implemented.]
  109. ;
  110. ; these aliases define additional file names which could be inspected
  111. ; to discover a needed file. Names beginning with @ are the names of
  112. ; registry keys which contain an explicit path/filename of the alias.
  113. ;
  114. classes.zip = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\java\lang\reflect","path"
  115. tclasses.zip = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\sun\tools\jar", "path"
  116. msjdbc.zip = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\com\ms\jdbc\odbc", "path"
  117. classes.cer = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\java\lang\reflect","signer"
  118. tclasses.cer = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\sun\tools\jar", "signer"
  119. msjdbc.cer = @HKLM,"SOFTWARE\Microsoft\Code Store Database\Global Namespace\Java Packages\com\ms\jdbc\odbc", "signer"
  120. #endif
  121. [sp1.cab.Files]
  122. #ifdef PRIVATE
  123. ;
  124. ; This section enumerates the files which must be in sp1.cab when
  125. ; setup is finished. Each of these files must be found in the usual
  126. ; [SourceDisksFiles] section, though they could be renamed going into
  127. ; sp1.cab.
  128. ;
  129. ; ex: ntkrnlmp.exe, ntoskrnl.exe would obtain the ntoskrnl.exe file as
  130. ; defined in [SourceDisksFiles], possibly using other ntoskrnl.exe
  131. ; files as patching references, but then it will be put into sp1.cab
  132. ; as "ntkrnlmp.exe". This mechanism is really defined to allow duplicate
  133. ; files with differing names to be added to the CAB if needed, or
  134. ; inclusion of a file which is targeted to a subdirectory in the
  135. ; [SourceDisksFiles] section, such as uniproc\ntdll.dll. Also note that
  136. ; the targetfilename could include a path.
  137. ;
  138. ; targetfilename[,sourcefilename]
  139. ;
  140. ; When moving to SPn+1, change the name of this section and the name of
  141. ; the include file.
  142. ;
  143. #endif
  144. #include "sp1.inc"
  145. [SourceDisksFiles]
  146. #include "sdf.inc"