Changes between Version 1 and Version 2 of opsi/dism


Ignore:
Timestamp:
Jun 10, 2013, 1:04:13 PM (11 years ago)
Author:
joergs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • opsi/dism

    v1 v2  
    1010  * Command line options:
    1111    * http://technet.microsoft.com/en-us/library/hh825265.aspx
     12
     13== add/remove custom drivers ==
     14
     15  * http://technet.microsoft.com/en-us/library/hh825070.aspx
     16
     17{{{
     18# Image Info
     19Dism /Get-ImageInfo /ImageFile:C:\test\images\install.wim
     20
     21# mount
     22Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows Drive" /MountDir:C:\test\offline
     23
     24# get driver info
     25Dism /Image:C:\test\offline /Get-Drivers
     26
     27# add driver (single)
     28Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
     29
     30# add all driver from directory
     31Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse
     32
     33# add unsinged driver
     34Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf /ForceUnsigned
     35
     36# remove custom driver
     37Dism /Image:C:\test\offline /Remove-Driver /Driver:OEM1.inf /Driver:OEM2.inf
     38
     39# umount and commit
     40Dism /Unmount-Image /MountDir:C:\test\offline /Commit
     41}}}