无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
楼主: wu733
打印 上一主题 下一主题

[原创] Win7的“便利汇总” - KB3125574官载取代的66个补丁的取代情况

  [复制链接]
181#
 楼主| 发表于 2025-7-29 18:55:21 | 只看该作者
gwaijyut 发表于 2025-7-29 18:39
KB2937610 涉及 19493 个文件,先在 Excel 上跟 KB3125574 比对一下,这个用公式也很快。。呃,不过我不会

这个增量文件夹已经完成,最后的成果见以下两图

2025-07-29_185315.jpg (55.78 KB, 下载次数: 62)

2025-07-29_185315.jpg

2025-07-29_185341.jpg (60.64 KB, 下载次数: 59)

2025-07-29_185341.jpg
回复

使用道具 举报

182#
发表于 2025-7-29 18:57:01 | 只看该作者
wu733 发表于 2025-7-29 18:41
一万多个并不多,我操作过比这个还多的补丁。我采取了一种非常简单的方法进行排除

manifest 的头部文件名覆盖比对吗?这个其实不太准确。
以下几个生产力工具,可以大幅提高效率:
文件(夹)比对:Beyond Compare
文件检索:everything
文本内容检索:Anytxt Searcher

点评

是HASH值对比  详情 回复 发表于 2025-7-29 18:58
回复

使用道具 举报

183#
 楼主| 发表于 2025-7-29 18:58:47 | 只看该作者
gwaijyut 发表于 2025-7-29 18:57
manifest 的头部文件名覆盖比对吗?这个其实不太准确。
以下几个生产力工具,可以大幅提高效率:
文件( ...

是HASH值对比

点评

好吧,这个工具不错: github com/hrpzcf/HashCalculator 这个命名扩展一下使用也可以: Get-ChildItem -Recurse -File | Get-FileHash -Algorithm MD5  详情 回复 发表于 2025-7-29 19:35
回复

使用道具 举报

184#
发表于 2025-7-29 19:35:51 | 只看该作者
本帖最后由 gwaijyut 于 2025-7-29 21:12 编辑

好吧,这个工具不错:
github com/hrpzcf/HashCalculator

这个命令也可以:
Get-ChildItem -Recurse -File | Get-FileHash -Algorithm MD5 【遍历子目录】
或者
Get-ChildItem -File | Get-FileHash -Algorithm MD5 【当前目录】


点评

全部提取完成,现在回过头来复查KB3125574官载取代的那42个补丁(加入了KB3138378)。  详情 回复 发表于 2025-8-2 16:44
如此先进的生产力工具对于我来说过于先进,不过我已经研究的差不多了,以后再用这个复查还是非常不错的。  详情 回复 发表于 2025-7-29 19:55
回复

使用道具 举报

185#
 楼主| 发表于 2025-7-29 19:55:53 | 只看该作者
gwaijyut 发表于 2025-7-29 19:35
好吧,这个工具不错:
github com/hrpzcf/HashCalculator

如此先进的生产力工具对于我来说过于先进,不过我已经研究的差不多了,以后再用这个复查还是非常不错的。
回复

使用道具 举报

186#
 楼主| 发表于 2025-7-31 15:39:55 | 只看该作者
本帖最后由 wu733 于 2025-8-20 17:50 编辑

KB3138378   2016年03月11日Journal.dll二进制更新(包含了InkDiv.dll、InkEd.dll、InkObj.dll、journal.dll、rtscom.dll五个文件更新),日记本更新,实际为Microsoft Tablet PC 组件更新,它移除冗余代码以提升稳定性(与日记本核心功能无关),再次感谢隔壁gwaijyut。实践证明:WPS Office365需要调用其中的InkObj.dll。
回复

使用道具 举报

187#
发表于 2025-7-31 16:21:00 | 只看该作者
真不错
回复

使用道具 举报

188#
 楼主| 发表于 2025-7-31 18:43:47 | 只看该作者
gwaijyut 发表于 2025-7-20 17:16
Journal.dll 这个二进制文件,与“日记本”的窗口有关,有依赖啊!!!
只不过这个文件还为其他程序提供 ...

非常感谢您指出的这个重大问题,还真的是我的盲区。请移步Win7的KB3138378是什么补丁? - 微软犯下的错误
回复

使用道具 举报

189#
 楼主| 发表于 2025-8-2 16:44:28 | 只看该作者
gwaijyut 发表于 2025-7-29 19:35
好吧,这个工具不错:
github com/hrpzcf/HashCalculator

全部提取完成,现在回过头来复查KB3125574官载取代的那42个补丁(加入了KB3138378)。

2025-08-02_164050.jpg (159.73 KB, 下载次数: 60)

2025-08-02_164050.jpg
回复

使用道具 举报

190#
 楼主| 发表于 2025-8-3 07:38:30 | 只看该作者
本帖最后由 wu733 于 2025-8-10 10:41 编辑

复查版更新
1、KB2970228KB3102429多了字体增量,已经去除;
2、KB3110329KB3147071存在遗漏,已经补充;
3、新增KB31383782016年3月11日Journal.dll二进制更新,非日记本更新,实际为Microsoft Tablet PC 组件更新,它移除冗余代码以提升稳定性(与日记本核心功能无关)
4、其它一些细节上,比如文本文件版本号错误,已修正。

点评

啊,,为何移除字体修正?  详情 回复 发表于 2025-8-3 10:26
回复

使用道具 举报

191#
发表于 2025-8-3 07:39:28 | 只看该作者
风影我爱罗!
回复

使用道具 举报

192#
发表于 2025-8-3 09:08:33 | 只看该作者
感谢您的分享!
回复

使用道具 举报

193#
发表于 2025-8-3 10:26:22 | 只看该作者
wu733 发表于 2025-8-3 07:38
复查版更新:
1、KB2970228和KB3102429多了字体增量,已经去除;
2、KB3110329和KB3147071存在遗漏,已经 ...

啊,,为何移除字体修正?

点评

经熟练的操作技术以及反复核对,原提供的KB2970228和KB3102429是不需要这些字体的,我在非KB3125574中验证了字体版本及HASH值与23403的一模一样。所以说,KB3125574存在大量画蛇添足的现象,本来不需要添加23403版增  详情 回复 发表于 2025-8-3 10:42
回复

使用道具 举报

194#
 楼主| 发表于 2025-8-3 10:42:51 | 只看该作者
gwaijyut 发表于 2025-8-3 10:26
啊,,为何移除字体修正?

经熟练的操作技术以及反复核对,原提供的KB2970228和KB3102429是不需要这些字体的,我在非KB3125574中验证了字体版本及HASH值与23403的一模一样。所以说,KB3125574存在大量画蛇添足的现象,本来不需要添加23403版增量,它偏偏要。

点评

“画蛇添足”的说法有些夸张了。 增量添加原有文件,是版本控制机制使然,这么做很有用。 KB3125574 至少包含 57 个字体文件,后期的月度汇总对这些字体有不同程度的更新。 站在历史的角度,在 574 发布的时候,  详情 回复 发表于 2025-8-3 14:12
回复

使用道具 举报

195#
发表于 2025-8-3 14:12:19 | 只看该作者
本帖最后由 gwaijyut 于 2025-8-3 15:11 编辑
wu733 发表于 2025-8-3 10:42
经熟练的操作技术以及反复核对,原提供的KB2970228和KB3102429是不需要这些字体的,我在非KB3125574中验 ...

“画蛇添足”的说法有些夸张了。
增量添加原有文件,是版本控制机制使然,这么做很有用。
KB3125574 至少包含 57 个字体文件(更新),站在历史的角度,574 发布的时候,这些字体显然是必要的。

KB2970228 通过更新字符映射表(charmap)等方式,添加符号支持,其本身不提供新的字体,只是对系统原有字体做了部分升级,比如将原始版本是 5.01 的 segoeuib.ttf 升级到 5.11。;
KB3102429 与之类似。所以,我不太明白你说的 “KB2970228和KB3102429多了字体增量” 具体指的是什么。如果不使用 KB3125574,替代方案中,字体更新也是有必要的(后期被继续升级的除外)。
而 KB3125574 包含的 57 个字体文件,是否需要覆盖到系统中,也可以比对看看。比如,segoeuib.ttf 在这里被升级到 5.12,在 KB4534310 中升级到 5.13

本楼经过数次修改,小结一下:
“KB2970228和KB3102429多了字体增量”,指的是,这两个补丁包含已过时的(陈旧的)字体更新,其所涉及的字体文件,被后续补丁持续更新。

回复

使用道具 举报

196#
发表于 2025-8-3 15:52:02 | 只看该作者
本帖最后由 gwaijyut 于 2025-8-3 15:55 编辑

顺手比对了一下,KB3125574 包含的 57 个字体中,与 KB4534310 相同的部分如下:
  1. arial.ttf
  2. arialbd.ttf
  3. arialbi.ttf
  4. ariali.ttf
  5. calibril.ttf
  6. calibrili.ttf
  7. cambria.ttc
  8. cambriab.ttf
  9. cambriai.ttf
  10. cambriaz.ttf
  11. consola.ttf
  12. consolab.ttf
  13. consolai.ttf
  14. consolaz.ttf
  15. cour.ttf
  16. courbd.ttf
  17. courbi.ttf
  18. couri.ttf
  19. segoeuil.ttf
  20. seguisb.ttf
  21. seguisym.ttf
  22. sylfaen.ttf
  23. times.ttf
  24. timesbd.ttf
  25. timesbi.ttf
  26. timesi.ttf
复制代码



差异部分如下:
  1. calibri.ttf
  2. calibrib.ttf
  3. calibrii.ttf
  4. calibriz.ttf
  5. comic.ttf
  6. comicbd.ttf
  7. georgia.ttf
  8. georgiab.ttf
  9. georgiai.ttf
  10. georgiaz.ttf
  11. micross.ttf
  12. segoeui.ttf
  13. segoeuib.ttf
  14. segoeuii.ttf
  15. segoeuiz.ttf
  16. tahoma.ttf
  17. tahomabd.ttf
  18. trebuc.ttf
  19. trebucbd.ttf
  20. trebucbi.ttf
  21. trebucit.ttf
  22. verdana.ttf
  23. verdanab.ttf
  24. verdanai.ttf
  25. verdanaz.ttf
复制代码


另外,KB3125574 还包含以下字体:
  1. bod_r.ttf
  2. comici.ttf
  3. comicz.ttf
  4. eurosti.ttf
  5. secretst.ttf
复制代码





点评

多谢提供KB3125574的字体总结,我会特别注意的  详情 回复 发表于 2025-8-3 18:55
回复

使用道具 举报

197#
 楼主| 发表于 2025-8-3 18:55:21 | 只看该作者
gwaijyut 发表于 2025-8-3 15:52
顺手比对了一下,KB3125574 包含的 57 个字体中,与 KB4534310 相同的部分如下:

多谢提供KB3125574的字体总结,我会特别注意的
回复

使用道具 举报

198#
 楼主| 发表于 2025-9-11 20:19:20 | 只看该作者
比较明显的小瑕疵  提取码:0HbP      发现KB2799926这个补丁未被KB3125574更新纠正文本文件版本号从18062改为23004,也即23004与23403完全相同,故KB3125574无需更新


原本极大克制自己不涉及精简,结果还是被套路进去了,在此向各位精简大神们致以内心无比震撼与虔诚的敬意!
回复

使用道具 举报

199#
发表于 2025-9-11 20:56:23 | 只看该作者
好像很强啊,下载收藏
回复

使用道具 举报

200#
 楼主| 发表于 2025-9-17 17:57:26 | 只看该作者
本帖最后由 wu733 于 2025-9-17 17:58 编辑
gwaijyut 发表于 2025-7-20 16:00
在当时(2016)的情况下,2891144 仅被 Windows Server 2008 R2 SP1 需要。这个描述是很清晰的:
2891144  ...

“我是安装了所有的十个非安全性热修,这次经过对比分析,KB3125574跟此补丁无关,也再次验证它被KB4534310文件更新。”
更正
我是安装了所有的十个非安全性热修,这次经过对比分析,KB3125574对KB2891144的进行了文件更新,也再次验证它未被KB4534310文件更新。”

有新的结论,可以不用安装KB2891144及KB2918833,直接用KB3125574的增量进行替换初始增量即可。这个我会在以后进一步完善补丁方案。

点评

那些热修复,现在已经不再需要了 最近遇到太多事,渡劫中,只能时不时来关注一下 云南暴雨,铺面被淹,资料全毁,毁得很彻底,一言难尽  详情 回复 发表于 2025-10-10 09:12
回复

使用道具 举报

201#
发表于 2025-9-26 09:59:46 | 只看该作者
感谢
回复

使用道具 举报

202#
发表于 2025-9-26 11:09:52 | 只看该作者
很详细了这个
回复

使用道具 举报

203#
发表于 2025-10-7 13:39:02 | 只看该作者
我使用Dism部署kb4534310,虽然显示成功,但是实际上补丁没有被集成进去。有没有人知道这是为什么?怎么办?
  1. dism /image:$MountDir /add-package /packagepath:"E:\WindowsDeployment\UpdatesWin7\40latestRollup\10windows6.1-kb4534310-x64_4dc78a6eeb14e2eac1ede7381f4a93658c8e2cdc.msu" /ignorecheck

  2. Deployment Image Servicing and Management tool
  3. Version: 10.0.19041.3636

  4. Image Version: 6.1.7601.24544

  5. Processing 1 of 1 - Adding package E:\WindowsDeployment\UpdatesWin7\40latestRollup\10windows6.1-kb4534310-x64_4dc78a6eeb14e2eac1ede7381f4a93658c8e2cdc.msu
  6. [==========================100.0%========================= ]
  7. The operation completed successfully.
  8. PS E:\WindowsDeployment\UpdatesWin7> dism /Image:$MountDir /get-Packages /format:list | Select-String 453

  9. Package Identity : Package_for_KB4536952~31bf3856ad364e35~amd64~~6.1.1.3
  10. Package Identity : Package_for_KB4539602~31bf3856ad364e35~amd64~~6.1.1.2
复制代码

点评

"E:\WindowsDeployment%updatesWin7\40latestRollup\10windows6.1-kb4534310-x64_4dc78a6eeb14e2eac1ede7381f4a93658c8e2cdc.msu" 补丁路径中,去掉.msu名字中如上颜色标注的检验码,即可  详情 回复 发表于 2025-10-7 13:57
回复

使用道具 举报

204#
 楼主| 发表于 2025-10-7 13:57:38 | 只看该作者
本帖最后由 wu733 于 2025-10-7 13:59 编辑
weiqi_chen 发表于 2025-10-7 13:39
我使用Dism部署kb4534310,虽然显示成功,但是实际上补丁没有被集成进去。有没有人知道这是为什么?怎么办 ...

"E:\WindowsDeployment\UpdatesWin7\40latestRollup\10windows6.1-kb4534310-x64_4dc78a6eeb14e2eac1ede7381f4a93658c8e2cdc.msu"

补丁路径中,去掉.msu名字中如上颜色标注的这段Hash值,即可
回复

使用道具 举报

205#
发表于 2025-10-7 22:44:30 | 只看该作者
本帖最后由 weiqi_chen 于 2025-10-7 23:07 编辑
wu733 发表于 2025-10-7 13:57
"E:\WindowsDeployment%updatesWin7\40latestRollup\10windows6.1-kb4534310-x64_4dc78a6eeb14e2eac1ede7 ...

不会吧,就这么简单????我哭死了。
因为我甚至用unattend.xml放在4 specialize阶段安装(安装不了,可能与.net48相关更新冲突)
甚至放在SetupComplete.cmd里才安装得了。

我试了一下还是不行。
  1. DISM /Image:$MountDir /ADD-package /packagepath:"E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu"
  2. DISM /Image:$MountDir /GET-Packages  > Get-Packages.txt
复制代码

  1. Deployment Image Servicing and Management tool
  2. Version: 10.0.19041.3636

  3. Image Version: 6.1.7601.27164

  4. Packages listing:

  5. Package Identity : Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~amd64~zh-CN~6.1.7601.17514
  6. State : Install Pending
  7. Release Type : Language Pack
  8. Install Time : 4/12/2011 2:42 PM

  9. Package Identity : Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  10. State : Installed
  11. Release Type : Feature Pack
  12. Install Time : 11/21/2010 3:40 AM

  13. Package Identity : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  14. State : Installed
  15. Release Type : Foundation
  16. Install Time : 11/21/2010 3:40 AM

  17. Package Identity : Microsoft-Windows-IE-Hyphenation-Parent-Package-English~31bf3856ad364e35~~~11.2.9412.0
  18. State : Install Pending
  19. Release Type : Update
  20. Install Time : 10/7/2025 12:01 PM

  21. Package Identity : Microsoft-Windows-IE-Spelling-Parent-Package-English~31bf3856ad364e35~~~11.2.9412.0
  22. State : Install Pending
  23. Release Type : Update
  24. Install Time : 10/7/2025 12:01 PM

  25. Package Identity : Microsoft-Windows-IE-Troubleshooters-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
  26. State : Uninstall Pending
  27. Release Type : Language Pack
  28. Install Time : 11/21/2010 3:40 AM

  29. Package Identity : Microsoft-Windows-IE-Troubleshooters-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  30. State : Uninstall Pending
  31. Release Type : Feature Pack
  32. Install Time : 11/21/2010 3:40 AM

  33. Package Identity : Microsoft-Windows-InternetExplorer-LanguagePack~31bf3856ad364e35~amd64~zh-CN~11.2.9600.16428
  34. State : Install Pending
  35. Release Type : Update
  36. Install Time : 10/7/2025 12:01 PM

  37. Package Identity : Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~8.0.7601.17514
  38. State : Uninstall Pending
  39. Release Type : Language Pack
  40. Install Time : 11/21/2010 3:40 AM

  41. Package Identity : Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~8.0.7601.17514
  42. State : Uninstall Pending
  43. Release Type : Feature Pack
  44. Install Time : 11/21/2010 3:40 AM

  45. Package Identity : Microsoft-Windows-InternetExplorer-Package-TopLevel~31bf3856ad364e35~amd64~~11.2.9600.16428
  46. State : Install Pending
  47. Release Type : Update
  48. Install Time : 10/7/2025 12:01 PM

  49. Package Identity : Microsoft-Windows-LocalPack-CN-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  50. State : Install Pending
  51. Release Type : Local Pack
  52. Install Time : 4/12/2011 2:42 PM

  53. Package Identity : Microsoft-Windows-PlatformUpdate-Win7-SRV08R2-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7601.16492
  54. State : Install Pending
  55. Release Type : Update
  56. Install Time : 10/7/2025 11:57 AM

  57. Package Identity : Microsoft-Windows-RDP-BlueIP-Package-TopLevel~31bf3856ad364e35~amd64~~7.2.7601.16415
  58. State : Install Pending
  59. Release Type : Update
  60. Install Time : 10/7/2025 12:00 PM

  61. Package Identity : Microsoft-Windows-RDP-WinIP-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.7601.16398
  62. State : Install Pending
  63. Release Type : Update
  64. Install Time : 10/7/2025 12:00 PM

  65. Package Identity : Package_for_KB2534111~31bf3856ad364e35~amd64~~6.1.1.0
  66. State : Install Pending
  67. Release Type : Hotfix
  68. Install Time : 4/12/2011 2:35 PM

  69. Package Identity : Package_for_KB2545698~31bf3856ad364e35~amd64~~6.1.1.3
  70. State : Install Pending
  71. Release Type : Update
  72. Install Time : 10/7/2025 11:57 AM

  73. Package Identity : Package_for_KB2547666~31bf3856ad364e35~amd64~~6.1.1.0
  74. State : Install Pending
  75. Release Type : Update
  76. Install Time : 10/7/2025 11:58 AM

  77. Package Identity : Package_for_KB2667402~31bf3856ad364e35~amd64~~6.1.2.0
  78. State : Install Pending
  79. Release Type : Security Update
  80. Install Time : 10/7/2025 11:54 AM

  81. Package Identity : Package_for_KB2685811~31bf3856ad364e35~amd64~~6.1.1.11
  82. State : Install Pending
  83. Release Type : Update
  84. Install Time : 10/7/2025 12:03 PM

  85. Package Identity : Package_for_KB2685813~31bf3856ad364e35~amd64~~6.1.1.11
  86. State : Install Pending
  87. Release Type : Update
  88. Install Time : 10/7/2025 12:03 PM

  89. Package Identity : Package_for_KB2698365~31bf3856ad364e35~amd64~~6.1.1.2
  90. State : Install Pending
  91. Release Type : Security Update
  92. Install Time : 10/7/2025 11:54 AM

  93. Package Identity : Package_for_KB2706045~31bf3856ad364e35~amd64~~6.1.1.0
  94. State : Install Pending
  95. Release Type : Security Update
  96. Install Time : 10/7/2025 12:01 PM

  97. Package Identity : Package_for_KB2729094~31bf3856ad364e35~amd64~~6.1.2.0
  98. State : Install Pending
  99. Release Type : Update
  100. Install Time : 10/7/2025 11:58 AM

  101. Package Identity : Package_for_KB2732059~31bf3856ad364e35~amd64~~6.1.5.1
  102. State : Install Pending
  103. Release Type : Update
  104. Install Time : 10/7/2025 11:58 AM

  105. Package Identity : Package_for_KB2750841~31bf3856ad364e35~amd64~~6.1.1.3
  106. State : Install Pending
  107. Release Type : Update
  108. Install Time : 10/7/2025 11:58 AM

  109. Package Identity : Package_for_KB2761217~31bf3856ad364e35~amd64~~6.1.1.0
  110. State : Install Pending
  111. Release Type : Update
  112. Install Time : 10/7/2025 11:58 AM

  113. Package Identity : Package_for_KB2857650~31bf3856ad364e35~amd64~~6.1.1.1
  114. State : Install Pending
  115. Release Type : Update
  116. Install Time : 10/7/2025 12:00 PM

  117. Package Identity : Package_for_KB2862330~31bf3856ad364e35~amd64~~6.1.2.0
  118. State : Install Pending
  119. Release Type : Security Update
  120. Install Time : 10/7/2025 11:55 AM

  121. Package Identity : Package_for_KB2900986~31bf3856ad364e35~amd64~~6.1.1.1
  122. State : Install Pending
  123. Release Type : Security Update
  124. Install Time : 10/7/2025 12:03 PM

  125. Package Identity : Package_for_KB2912390~31bf3856ad364e35~amd64~~6.1.1.2
  126. State : Install Pending
  127. Release Type : Security Update
  128. Install Time : 10/7/2025 12:02 PM

  129. Package Identity : Package_for_KB2984972~31bf3856ad364e35~amd64~~6.1.1.4
  130. State : Install Pending
  131. Release Type : Security Update
  132. Install Time : 10/7/2025 12:00 PM

  133. Package Identity : Package_for_KB2990941~31bf3856ad364e35~amd64~~6.1.3.0
  134. State : Install Pending
  135. Release Type : Hotfix
  136. Install Time : 10/7/2025 12:03 PM

  137. Package Identity : Package_for_KB3004375~31bf3856ad364e35~amd64~~6.1.3.1
  138. State : Install Pending
  139. Release Type : Security Update
  140. Install Time : 10/7/2025 11:55 AM

  141. Package Identity : Package_for_KB3031432~31bf3856ad364e35~amd64~~6.1.1.0
  142. State : Install Pending
  143. Release Type : Security Update
  144. Install Time : 10/7/2025 11:55 AM

  145. Package Identity : Package_for_KB3035126~31bf3856ad364e35~amd64~~6.1.1.2
  146. State : Install Pending
  147. Release Type : Security Update
  148. Install Time : 10/7/2025 12:02 PM

  149. Package Identity : Package_for_KB3046269~31bf3856ad364e35~amd64~~6.1.1.0
  150. State : Install Pending
  151. Release Type : Security Update
  152. Install Time : 10/7/2025 11:56 AM

  153. Package Identity : Package_for_KB3059317~31bf3856ad364e35~amd64~~6.1.1.0
  154. State : Install Pending
  155. Release Type : Security Update
  156. Install Time : 10/7/2025 11:56 AM

  157. Package Identity : Package_for_KB3087873~31bf3856ad364e35~amd64~~6.1.2.0
  158. State : Install Pending
  159. Release Type : Hotfix
  160. Install Time : 10/7/2025 12:04 PM

  161. Package Identity : Package_for_KB3110329~31bf3856ad364e35~amd64~~6.1.1.1
  162. State : Install Pending
  163. Release Type : Security Update
  164. Install Time : 10/7/2025 12:02 PM

  165. Package Identity : Package_for_KB3125574~31bf3856ad364e35~amd64~~6.1.4.4
  166. State : Install Pending
  167. Release Type : Update
  168. Install Time : 10/7/2025 11:57 AM

  169. Package Identity : Package_for_KB3138612~31bf3856ad364e35~amd64~~6.1.1.1
  170. State : Install Pending
  171. Release Type : Update
  172. Install Time : 10/7/2025 11:56 AM

  173. Package Identity : Package_for_KB3155178~31bf3856ad364e35~amd64~~6.1.1.0
  174. State : Install Pending
  175. Release Type : Security Update
  176. Install Time : 10/7/2025 11:56 AM

  177. Package Identity : Package_for_KB3156016~31bf3856ad364e35~amd64~~6.1.1.1
  178. State : Install Pending
  179. Release Type : Security Update
  180. Install Time : 10/7/2025 12:03 PM

  181. Package Identity : Package_for_KB3159398~31bf3856ad364e35~amd64~~6.1.1.1
  182. State : Install Pending
  183. Release Type : Security Update
  184. Install Time : 10/7/2025 11:56 AM

  185. Package Identity : Package_for_KB3161102~31bf3856ad364e35~amd64~~6.1.1.1
  186. State : Install Pending
  187. Release Type : Update
  188. Install Time : 10/7/2025 11:58 AM

  189. Package Identity : Package_for_KB3161949~31bf3856ad364e35~amd64~~6.1.1.0
  190. State : Install Pending
  191. Release Type : Security Update
  192. Install Time : 10/7/2025 11:56 AM

  193. Package Identity : Package_for_KB3170735~31bf3856ad364e35~amd64~~6.1.1.2
  194. State : Install Pending
  195. Release Type : Update
  196. Install Time : 10/7/2025 11:59 AM

  197. Package Identity : Package_for_KB3172605~31bf3856ad364e35~amd64~~6.1.1.4
  198. State : Install Pending
  199. Release Type : Update
  200. Install Time : 10/7/2025 11:59 AM

  201. Package Identity : Package_for_KB3179573~31bf3856ad364e35~amd64~~6.1.1.0
  202. State : Install Pending
  203. Release Type : Update
  204. Install Time : 10/7/2025 11:59 AM

  205. Package Identity : Package_for_KB3185319~31bf3856ad364e35~amd64~~11.2.1.0
  206. State : Install Pending
  207. Release Type : Security Update
  208. Install Time : 10/7/2025 12:02 PM

  209. Package Identity : Package_for_KB4019990~31bf3856ad364e35~amd64~~6.1.1.2
  210. State : Install Pending
  211. Release Type : Update
  212. Install Time : 10/7/2025 12:04 PM

  213. Package Identity : Package_for_<font color="#ff0000">KB4474419</font>~31bf3856ad364e35~amd64~~6.1.3.2
  214. State : Install Pending
  215. Release Type : Security Update
  216. Install Time : 10/7/2025 11:47 AM

  217. Package Identity : Package_for_<font color="#ff0000">KB4490628</font>~31bf3856ad364e35~amd64~~6.1.1.2
  218. State : Install Pending
  219. Release Type : Update
  220. Install Time : 10/7/2025 11:47 AM

  221. Package Identity : Package_for_KB4539602~31bf3856ad364e35~amd64~~6.1.1.2
  222. State : Install Pending
  223. Release Type : Update
  224. Install Time : 10/7/2025 12:05 PM

  225. Package Identity : Package_for_<font color="#ff0000">KB5039339</font>~31bf3856ad364e35~amd64~~6.1.1.0
  226. State : Install Pending
  227. Release Type : Security Update
  228. Install Time : 10/7/2025 11:47 AM

  229. Package Identity : Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.1.17514
  230. State : Installed
  231. Release Type : Update
  232. Install Time : 11/21/2010 3:01 AM

  233. Package Identity : Package_for_KB982018~31bf3856ad364e35~amd64~~6.1.3.2
  234. State : Install Pending
  235. Release Type : Update
  236. Install Time : 10/7/2025 12:04 PM

  237. Package Identity : Package_for_RollupFix~31bf3856ad364e35~amd64~~7601.24544.1.9
  238. State : Install Pending
  239. Release Type : Security Update
  240. Install Time : 10/7/2025 3:00 PM

  241. The operation completed successfully.
复制代码




点评

DISM /Image:$MountDir /ADD-package /packagepath:"E:\WD%u7\40latestRollup\windows6.1-kb4534310-x64.msu" /Image:$MountDir 这里的挂载路径$MountDir,你能不能指定一个确切的路径?比如:d:\mount  详情 回复 发表于 2025-10-7 23:21
回复

使用道具 举报

206#
 楼主| 发表于 2025-10-7 23:21:13 | 只看该作者
本帖最后由 wu733 于 2025-10-7 23:23 编辑
weiqi_chen 发表于 2025-10-7 22:44
不会吧,就这么简单????我哭死了。
因为我甚至用unattend.xml放在4 specialize阶段安装(安装不了, ...

1、DISM /Image:$MountDir /ADD-package /packagepath:"E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu"

/Image:$MountDir   这里的挂载路径$MountDir,你能不能指定一个确切的路径?比如:d:\mount

2、/packagepath:"E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu"

/packagepath:后面去掉引号,比如:/packagepath:E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu


回复

使用道具 举报

207#
发表于 2025-10-7 23:23:34 | 只看该作者
wu733 发表于 2025-10-7 23:21
DISM /Image:$MountDir /ADD-package /packagepath:"E:\WD%u7\40latestRollup\windows6.1-kb4534310-x64. ...
  1. C:\Offline
复制代码

我是用Powershell的变量。

点评

我明白了,Powershell下面的dism命令格式与DOS下面的不一样 应该如下: DISM /Image:C:\MountedFolder /Add-Package /PackagePath:C:%updates%update.cab  详情 回复 发表于 2025-10-7 23:26
那就去掉补丁路径的引号  详情 回复 发表于 2025-10-7 23:24
回复

使用道具 举报

208#
 楼主| 发表于 2025-10-7 23:24:05 | 只看该作者
weiqi_chen 发表于 2025-10-7 23:23
我是用Powershell的变量。

那就去掉补丁路径的引号
回复

使用道具 举报

209#
 楼主| 发表于 2025-10-7 23:26:53 | 只看该作者
本帖最后由 wu733 于 2025-10-7 23:35 编辑
weiqi_chen 发表于 2025-10-7 23:23
我是用Powershell的变量。

格式还是有点不一个样。使用单引号包裹路径试试?
DISM  /Image:$MountDir  /ADD-package /packagepath:'E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu'
回复

使用道具 举报

210#
发表于 2025-10-7 23:44:51 | 只看该作者
本帖最后由 weiqi_chen 于 2025-10-7 23:56 编辑
weiqi_chen 发表于 2025-10-7 23:23
我是用Powershell的变量。

触发了回帖限制,我现在修改回复:
我删掉了install.wim,重新从win7 zh-cn sp1 vol iso拷贝出来。然后执行以下命令:

  1. $WimFile="D:\win7iso\sources\install.wim"
  2. $MountDir="C:\Offline"
  3. DISM.exe /Mount-Image /ImageFile:$WimFile /index:1  /MountDir:$MountDir

  4. dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\00SHA2_SSU\windows6.1-kb4474419-v3-x64.msu
  5. dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\00SHA2_SSU\windows6.1-kb4490628-x64.msu
  6. dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu
  7. dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\40latestRollup\windows6.1-kb4539602-x64.msu
复制代码


我的路径没有包含特殊字符,所以就不用单引号或者双引号了。

执行结果
  1. PS E:\WD\U7> $WimFile="D:\win7iso\sources\install.wim"
  2. >> $MountDir="C:\Offline"
  3. >> DISM.exe /Mount-Image /ImageFile:$WimFile /index:1  /MountDir:$MountDir
  4. >>

  5. Deployment Image Servicing and Management tool
  6. Version: 10.0.19041.3636

  7. Mounting image
  8. [==========================100.0%==========================]
  9. The operation completed successfully.
  10. PS E:\WD\U7> dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\00SHA2_SSU\windows6.1-kb4474419-v3-x64.msu

  11. Deployment Image Servicing and Management tool
  12. Version: 10.0.19041.3636

  13. Image Version: 6.1.7601.17514

  14. Processing 1 of 1 - Adding package E:\WD\U7\00SHA2_SSU\windows6.1-kb4474419-v3-x64.msu
  15. [==========================100.0%==========================]
  16. The operation completed successfully.
  17. PS E:\WD\U7> dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\00SHA2_SSU\windows6.1-kb4490628-x64.msu

  18. Deployment Image Servicing and Management tool
  19. Version: 10.0.19041.3636

  20. Image Version: 6.1.7601.17514

  21. Processing 1 of 1 - Adding package E:\WD\U7\00SHA2_SSU\windows6.1-kb4490628-x64.msu
  22. [==========================100.0%==========================]
  23. The operation completed successfully.
  24. PS E:\WD\U7> dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu

  25. Deployment Image Servicing and Management tool
  26. Version: 10.0.19041.3636

  27. Image Version: 6.1.7601.24383

  28. Processing 1 of 1 - Adding package E:\WD\U7\40latestRollup\windows6.1-kb4534310-x64.msu
  29. [==========================100.0%==========================]
  30. The operation completed successfully.
  31. PS E:\WD\U7> dism /Image:C:\Offline /add-package /packagepath:E:\WD\U7\40latestRollup\windows6.1-kb4539602-x64.msu

  32. Deployment Image Servicing and Management tool
  33. Version: 10.0.19041.3636

  34. Image Version: 6.1.7601.24383

  35. Processing 1 of 1 - Adding package E:\WD\U7\40latestRollup\windows6.1-kb4539602-x64.msu
  36. [==========================100.0%==========================]
  37. The operation completed successfully.
复制代码


dism /Image:C:\Offline /get-packages > .\packages.txt

packages.txt名单:

  1. Deployment Image Servicing and Management tool
  2. Version: 10.0.19041.3636

  3. Image Version: 6.1.7601.24383

  4. Packages listing:

  5. Package Identity : Microsoft-Windows-Client-Refresh-LanguagePack-Package~31bf3856ad364e35~amd64~zh-CN~6.1.7601.17514
  6. State : Install Pending
  7. Release Type : Language Pack
  8. Install Time : 4/12/2011 2:42 PM

  9. Package Identity : Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  10. State : Installed
  11. Release Type : Feature Pack
  12. Install Time : 11/21/2010 3:40 AM

  13. Package Identity : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  14. State : Installed
  15. Release Type : Foundation
  16. Install Time : 11/21/2010 3:40 AM

  17. Package Identity : Microsoft-Windows-IE-Troubleshooters-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
  18. State : Uninstall Pending
  19. Release Type : Language Pack
  20. Install Time : 11/21/2010 3:40 AM

  21. Package Identity : Microsoft-Windows-IE-Troubleshooters-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  22. State : Installed
  23. Release Type : Feature Pack
  24. Install Time : 11/21/2010 3:40 AM

  25. Package Identity : Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~8.0.7601.17514
  26. State : Uninstall Pending
  27. Release Type : Language Pack
  28. Install Time : 11/21/2010 3:40 AM

  29. Package Identity : Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~8.0.7601.17514
  30. State : Installed
  31. Release Type : Feature Pack
  32. Install Time : 11/21/2010 3:40 AM

  33. Package Identity : Microsoft-Windows-LocalPack-CN-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
  34. State : Install Pending
  35. Release Type : Local Pack
  36. Install Time : 4/12/2011 2:42 PM

  37. Package Identity : Package_for_KB2534111~31bf3856ad364e35~amd64~~6.1.1.0
  38. State : Install Pending
  39. Release Type : Hotfix
  40. Install Time : 4/12/2011 2:35 PM

  41. Package Identity : Package_for_KB4474419~31bf3856ad364e35~amd64~~6.1.3.2
  42. State : Install Pending
  43. Release Type : Security Update
  44. Install Time : 10/7/2025 3:38 PM

  45. Package Identity : Package_for_KB4490628~31bf3856ad364e35~amd64~~6.1.1.2
  46. State : Install Pending
  47. Release Type : Update
  48. Install Time : 10/7/2025 3:38 PM

  49. Package Identity : Package_for_KB4539602~31bf3856ad364e35~amd64~~6.1.1.2
  50. State : Install Pending
  51. Release Type : Update
  52. Install Time : 10/7/2025 3:41 PM

  53. Package Identity : Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.1.17514
  54. State : Installed
  55. Release Type : Update
  56. Install Time : 11/21/2010 3:01 AM

  57. Package Identity : Package_for_RollupFix~31bf3856ad364e35~amd64~~7601.24544.1.9
  58. State : Install Pending
  59. Release Type : Security Update
  60. Install Time : 10/7/2025 3:41 PM

  61. The operation completed successfully.
复制代码


装不进去。你用的DISM版本是多少?

我的这个问题不是双引号的问题了。我后边dism add-package的命令都没有用变量了。路径名也是没有包含空格的。路径长度我也全部缩短了。还是不行。我的是运行系统win10 ltsc 2021。


点评

涉及win7的时候,不建议在 Powershell 中直接使用 dism, 如果必须使用,不妨改用 DISM cmdlet 另外,为什么要配置和使用临时变量?很费解。绝对路径和系统变量就足够了。  详情 回复 发表于 2025-10-10 09:38
我平常用DOS命令多一些,Powershell复杂的不会  详情 回复 发表于 2025-10-7 23:53
DISM.exe /Mount-Image /ImageFile:$WimFile /index:1 /MountDir:$MountDir 终于找到问题所在了,上面这两个$WimFile和$MountDir都需要用引号括起来  详情 回复 发表于 2025-10-7 23:52
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-11-29 04:30

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表