|
原帖由 hhh333 于 2010-11-8 14:54 发表
我现在是在用dism,即向已经用win7builder做的包中加东西。按dism的说明应该是可以的。
我的测试也有问题!
可能与精简有关.
- C:\Program Files\Windows AIK\Tools\PETools>DISM /Mount-Wim /WimFile:c:\temp\w7pe
- .wim /index:1 /MountDir:c:\w7
- Deployment Image Servicing and Management tool
- Version: 6.1.7600.16385
- Mounting image
- [==========================100.0%==========================]
- The operation completed successfully.
- C:\Program Files\Windows AIK\Tools\PETools>Dism /image:c:\w7 /LogPath:AddPackage
- .log /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\W
- inPE_FPs\winpe-pppoe.cab"
- Deployment Image Servicing and Management tool
- Version: 6.1.7600.16385
- Error: 3
- The directory c:\w7\Windows does not appear to be a valid Windows directory.
- Ensure that the /WinDir option that is specified is valid. For more information,
- refer to the help by running DISM.exe /WinDir /?.
- The DISM log file can be found at AddPackage.log
- C:\Program Files\Windows AIK\Tools\PETools>
复制代码
AddPackage.log
- 2010-11-08 16:05:27, Info CSI 00000001 Shim considered [l:258{129}]"\??\c:\w7\Windows\Servicing\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6000.16386_none_07289f4cca5f6990\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
- 2010-11-08 16:05:27, Info CSI 00000002 Shim considered [l:252{126}]"\??\c:\w7\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6000.16386_none_07289f4cca5f6990\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
- 2010-11-08 16:05:27, Info CSI 00000003 Shim considered [l:114{57}]"\??\c:\w7\Windows\Servicing\6.0.6000.16386_x86\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
- 2010-11-08 16:05:27, Info CSI 00000004 Shim considered [l:108{54}]"\??\c:\w7\Windows\WinSxS\6.0.6000.16386_x86\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
- 2010-11-08 16:05:27, Error CSI 00000005 (F) HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) #1# from SssBindServicingStackParams={cb=00000028, flags=00000004, image={cb=0000000c, flags=00000000, pcwszWindir=[13]"c:\w7\Windows"}} Cookie=(inner-null), Disp=1[gle=0x80070003]
- 2010-11-08 16:05:27, Error CSI 00000006@2010/11/8:08:05:27.868 (F) d:\w7rtm\base\wcp\shim\binder.cpp(615): Error HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) originated in function SssBindServicingStack expression: (pInputParameters->dwFlags & (0x00000020))
- [gle=0x80004005]
- 2010-11-08 16:05:27, Warning DISM DISM OS Provider: PID=2968 Failed to bind the offline servicing stack. Make sure that the Windows directory has been set. - CDISMOSServiceManager::get_ServicingStackDirectory(hr:0x80070003)
- 2010-11-08 16:05:27, Error DISM DISM OS Provider: PID=2968 Unable to retrieve servicing stack folder for DLL search path modification. - CDISMOSServiceManager::SetDllSearchPath(hr:0x80070003)
- 2010-11-08 16:05:27, Error DISM DISM OS Provider: PID=2968 Unable to set the DLL search path to the servicing stack folder. c:\w7\Windows may not point to a valid Windows folder. - CDISMOSServiceManager::SetWindowsDirectory(hr:0x80070003)
- 2010-11-08 16:05:27, Error DISM DISM.EXE: Failed to set the windows directory to 'c:\w7\Windows'. HRESULT=80070003
- 2010-11-08 16:05:27, Info DISM DISM Image Session: PID=2968 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
复制代码
其实可以在 0b - 0b - Install Drivers and Packages 内加入最多两个 package.
或先加 package 至 boot.wim, 再在 0a 指定使用该 boot.wim
|
|