|
本帖最后由 yfwang0798 于 2015-7-27 10:15 编辑
这是我 在win7 aik上用dism命令,对于驱动,可以使用递归参数添加驱动,而软件包,我是每条命令只添加一个软件包
@echo off
cd /d "c:\Program Files\Windows AIK\Tools\Servicing"
Dism /Mount-Wim /WimFile:C:\winpe3_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe3_x86\mount
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab"
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\zh-cn\winpe-hta_zh-cn.cab"
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab"
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\zh-cn\winpe-mdac_zh-cn.cab"
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab"
Dism /image:C:\winpe3_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\zh-cn\winpe-scripting_zh-cn.cab"
Dism /Unmount-Wim /MountDir:C:\winpe3_x86\mount /Commit
pause
|
|