RGB09 Posted November 12, 2009 Report post Posted November 12, 2009 Hi, it's been awhile since I posted on the forum, but since peimg doesn't exist in the new WSIM how do you use Dism? Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted November 12, 2009 Report post Posted November 12, 2009 From the helpfiles that are delivered with the WAIK: The general process for creating a custom Windows PE image includes: Mount the base image by using the DISM tool to a local directory share. For example, Dism /Mount-Wim /WimFile:C:\winpe_x86\winpe.wim /index:1 /MountDir:C:\winpe_x86\mount Using the Dism command with the /Get-Package option to see which packages are installed. For example, Dism /image:C:\winpe_x86\mount /Get-Packages Add packages, and language packs as appropriate by using the Dism command with the /Add-Package option. For example, to add the HTA package you must add both the language neutral package along with the language specific package. For example: Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\WinPE-HTA.cab” Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\en-us\WinPE-HTA_en-us.cab” Where <version> can be the OEM Preinstallation Kit (OPK) or the Automated Installation Kit (AIK). Add drivers as appropriate by using the Dism command with the /Add-Driver option. For example: Dism /image:C:\winpe_x86\mount /Add-Driver /driver:C:\test\drivers\mydriver.inf Add any additional custom files or tools that you intend to include in the image within the \mount directory. For example, you can include ImageX within your image, copy "C:\Program Files\<version>\Tools\x86\imagex.exe" C:\winpe_x86\mount\Windows\System32\ Where <version> can be Windows OPK or Windows AIK. Commit the changes using the Dism command with the /Unmount-Wim /Commit option. For example, Dism /Unmount-Wim /MountDir:C:\winpe_x86\mount /Commit Copy your custom image into \ISO\sources folder and rename to boot.wim. For example, copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim The customized image is now ready to be copied or burned to bootable media. The most common method is to create an .iso file and then burn the image onto a CD-ROM. For more information about bootable methods, see Booting Windows PE. Quote Share this post Link to post Share on other sites More sharing options...
0 RGB09 Posted November 13, 2009 Report post Posted November 13, 2009 Thanks for the Heads Up Peter, so once the drivers have been injected and committed I can use the WIM file as normal like before with peimg? Quote Share this post Link to post Share on other sites More sharing options...
0 RGB09 Posted March 5, 2010 Report post Posted March 5, 2010 Hi I was wondering if you could help me out again, this was working before using dism, but now i am getting an error 50? any ideas, I am trying to inject NIC drivers for a Tosh SAT Pro A300. Just as an update, I am still no closer to injecting the drivers, I even went on another site and they suggested using the /forceunsigned switch, but this didn't work! so I am out of ideas now! any suggestions or ideas would be greatly appreciated if any one could help Quote Share this post Link to post Share on other sites More sharing options...
0 RGB09 Posted March 19, 2010 Report post Posted March 19, 2010 OK... if anyone is interested, this has now been resolved, the problem was that the *wim file I was trying to use was Vista rather than W7. Quote Share this post Link to post Share on other sites More sharing options...
Hi, it's been awhile since I posted on the forum, but since peimg doesn't exist in the new WSIM how do you use Dism?
Share this post
Link to post
Share on other sites