Changes between Version 4 and Version 5 of opsi/winpe


Ignore:
Timestamp:
06/10/13 13:26:02 (8 years ago)
Author:
joergs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • opsi/winpe

    v4 v5  
    2727copy c:\winpe64\winpe.wim c:\winpe64\ISO\sources\boot.wim
    2828
     29# set variables
     30set wim=c:\winpe64\ISO\sources\boot.wim
     31set md=c:\winpe64\mount
     32
    2933rem Mount and modify WinPE boot image
    3034
    3135cd c:\winpe64
    32 dism /Get-WIMInfo /WimFile:C:\winpe64\ISO\sources\boot.wim
     36dism /Get-WIMInfo /WimFile:%wim%
    3337
    3438dism /cleanup-wim
    3539
    36 dism /Mount-Wim /WimFile:C:\winpe64\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe64\mount
     40dism /Mount-Wim /WimFile:%wim% /index:1 /MountDir:%md%
    3741
    3842type C:\winpe64\mount\Windows\System32\startnet.cmd
    39 echo c:\opsi\startnet.cmd > C:\winpe64\mount\Windows\System32\startnet.cmd
     43echo c:\opsi\startnet.cmd > %md%\Windows\System32\startnet.cmd
    4044
    41 dism /unmount-Wim /MountDir:C:\winpe64\mount /Commit
     45dism /unmount-Wim /MountDir:%md% /Commit
    4246}}}
     47
     48More customazations are explained at wiki:opsi/dism
    4349
    4450