1. 列出全部封包 (主封包 + 语言包)
a. 修改 1_Get_Full_Packages.cmd 映像文件夹并保存
比如
set MT=H: (系统以外的分区)
set MT=z:\1 (映像挂载的文件夹)
b. 滑鼠左键双击 1_Get_Full_Packages.cmd
2. 列出主封包
滑鼠左键双击 2_Get_Main_Packages.cmd
3. 列出目标封包
a. 查看 2_Get_Main_Packages.txt 并将目标封包复制/黏贴到 Remove.txt
比如 Adobe-Flash-For-Windows
Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum
Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum
b. 删除 Remove.txt 内所列封包副文件名 .mum 并保存
比如
Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.15063.0
Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.15063.0
4. 移除封包
a. 修改 3_Remove_Offline.cmd 映像挂载文件夹并保存
比如
set MT=H: (系统以外的分区)
set MT=z:\1 (映像挂载的文件夹)
b. 滑鼠右键点击 3_Remove_Offline_RunAsAdmin.cmd, 再用滑鼠左键点击 "以系统管理员身分运行" 开始封包移除
install_wim_tweak.exe /?
This will show all available options..
install_wim_tweak.exe /p <MountPath>
This will unhide all the packages in the selected image
install_wim_tweak.exe /o
This will unhide all the packages on the currently installed OS
install_wim_tweak.exe /p <MountPath> /l
This will list all the packages available in the selected image and write them to a text file in the same directory.
install_wim_tweak.exe /o /l
This will list all the packages available on the installed OS and write them to a text file in the same directory.
install_wim_tweaks.exe /p <MountPath> /c Microsoft-Windows-.........
This will just inhide the selected component from the selected image, can also be used with /o. If you add /r at the end it will remove the package.
Changes made from the original version by wnuku
*/h will restore them to default (must use without /h first)
*/n will not create backups (faster)
*/d will not delete owners keys.
*/m is no longer needed, will do the task by default
*/l will output a list of all packages to a text file.
*/o will use currently installed image.
*fixed a bug where it did not work if there was a space in the mountpath.
*/c <PackageName> will un-hide specific package
* using /r with /c will remove the package
*Win32Security.dll file is no longer needed
*Added new colours, errors are displayed in Red
*Fixed bug crashing at end of running
*Fixed bug where it cannot unmount registry if something fails
*Added specific component selection
*Fixed some other bugs
*Added an appropriate small icon for the app
Also normally you will have to put the specific component name i.e.
"/c Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514"
but if for example you put "/c Microsoft-Hyper-V-Common-Drivers-Package" it will show all packages starting with that.
1.右键以管理员权限运行Start.cmd
2.会在当前目录下生成一个_Packagelist_Base.txt,双击打开,找到你想提取的组件
假如你想提取出Linux子系统的.cab组件安装包,那么依次输入前面的编号
,依次提取出这几个包
3.完成后,在Output目录下去找到你提取出来.cab包,zh-CN目录下是这个组件的.cab中文包
然后就能用dism或dism++工具集成它到别的系统
4.Done
Have fun.
尼采1729 发表于 2017-10-12 22:44
这个很难吧/一直有点迷糊
欢迎光临 无忧启动论坛 (http://bbs.wuyou.net./) | Powered by Discuz! X3.3 |