Changes between Version 3 and Version 4 of opsi/dism


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

--

Legend:

Unmodified
Added
Removed
Modified
  • opsi/dism

    v3 v4  
    1616
    1717{{{
     18# set variables
     19# in this example: winpe 3.x, 64bit, boot
     20set wim=c:\winpe64\ISO\sources\boot.wim
     21set md=c:\winpe64\mount
     22
    1823# Image Info
    19 Dism /Get-ImageInfo /ImageFile:C:\test\images\install.wim
     24Dism /Get-ImageInfo /ImageFile:%wim%
    2025
    2126# mount
    22 Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows Drive" /MountDir:C:\test\offline
     27dism /Mount-Wim /WimFile:%wim% /index:1 /MountDir:%md%
    2328
    2429# get driver info
    25 Dism /Image:C:\test\offline /Get-Drivers
     30Dism /Image:%md% /Get-Drivers
    2631
    2732# add driver (single)
    28 Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
     33Dism /Image:%md% /Add-Driver /Driver:C:\drivers\mydriver.inf
    2934
    3035# add all driver from directory
    31 Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse
     36Dism /Image:%md% /Add-Driver /Driver:c:\drivers /Recurse
    3237
    3338# add unsinged driver
    34 Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf /ForceUnsigned
     39Dism /Image:%md% /Add-Driver /Driver:C:\drivers\mydriver.inf /ForceUnsigned
    3540
    3641# remove custom driver
    37 Dism /Image:C:\test\offline /Remove-Driver /Driver:OEM1.inf /Driver:OEM2.inf
     42Dism /Image:%md% /Remove-Driver /Driver:OEM1.inf /Driver:OEM2.inf
    3843
    3944# umount and commit
    40 dism /unmount-wim  /mountdir:c:\winpe64\mount /commit
     45dism /unmount-wim  /mountdir:%md% /commit
    4146}}}