Changes between Version 4 and Version 5 of opsi/winpe
- Timestamp:
- Jun 10, 2013, 1:26:02 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
opsi/winpe
v4 v5 27 27 copy c:\winpe64\winpe.wim c:\winpe64\ISO\sources\boot.wim 28 28 29 # set variables 30 set wim=c:\winpe64\ISO\sources\boot.wim 31 set md=c:\winpe64\mount 32 29 33 rem Mount and modify WinPE boot image 30 34 31 35 cd c:\winpe64 32 dism /Get-WIMInfo /WimFile: C:\winpe64\ISO\sources\boot.wim36 dism /Get-WIMInfo /WimFile:%wim% 33 37 34 38 dism /cleanup-wim 35 39 36 dism /Mount-Wim /WimFile: C:\winpe64\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe64\mount40 dism /Mount-Wim /WimFile:%wim% /index:1 /MountDir:%md% 37 41 38 42 type C:\winpe64\mount\Windows\System32\startnet.cmd 39 echo c:\opsi\startnet.cmd > C:\winpe64\mount\Windows\System32\startnet.cmd43 echo c:\opsi\startnet.cmd > %md%\Windows\System32\startnet.cmd 40 44 41 dism /unmount-Wim /MountDir: C:\winpe64\mount/Commit45 dism /unmount-Wim /MountDir:%md% /Commit 42 46 }}} 47 48 More customazations are explained at wiki:opsi/dism 43 49 44 50