Changes between Version 1 and Version 2 of windows/installation_image


Ignore:
Timestamp:
Jun 12, 2013, 5:28:09 PM (11 years ago)
Author:
joergs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • windows/installation_image

    v1 v2  
    88* http://technet.microsoft.com/en-us/library/hh824893.aspx
    99
     10== Modify a Windows Installation Image ==
     11
     12=== requirements ===
     13
     14  * Windows 8 (ISO: sources\install.wim)
     15  * commands are executed on a Windows 7 system. Should also work on a Windows 8 system (Windows 8 have a few additional option, like /Mount-Image instead of /Mount-Wim)
     16
     17{{{
     18dism /get-wiminfo /wimfile:sources\install.wim
     19
     20dism /mount-wim /wimfile:sources\install.wim /index:1 /mountdir:c:\win8\mnt
     21
     22# add language packs from Language Pack ISO   
     23dism /image:c:\win8\mnt /scratchdir:c:\tmp /add-package /packagepath:c:\win8\langpacks\en-gb\lp.cab /packagepath:c:\win8\langpacks\en-us\lp.cab /packagepath:c:\win8\langpacks\de-de\lp.cab
     24
     25dism /image:c:\win8\mnt /Get-Intl
     26
     27# set default settings to German, but UI to en-US
     28dism /image:c:\win8\mnt /Set-AllIntl:de-DE
     29dism /image:c:\win8\mnt /Set-uilang:en-US
     30(dism /image:c:\win8\mnt /set-syslocale:de-DE)
     31
     32# show included custom packages
     33dism /image:c:\win8\mnt /Get-packages
     34
     35# show features
     36dism /image:c:\win8\mnt /Get-features
     37
     38dism /image:c:\win8\mnt /enable-feature  /featurename:telnetclient
     39# (/featurename:netfx3: doesn't work, because sources are not included)
     40
     41dism /image:c:\win8\mnt /Get-ProvisionedAppxPackages
     42
     43dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:Microsoft.XboxLIVEGames_1.0.927.0_x64__8wekyb3d8bbwe
     44dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage  /packagename:microsoft.microsoftskydrive_16.4.4204.712_x64__8wekyb3d8bbwe
     45dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage  /packagename:Microsoft.BingSports_1.2.0.135_x64__8wekyb3d8bbwe
     46
     47dism /image:c:\win8\mnt /cleanup-image /StartComponentCleanup
     48
     49dism /unmount-wim /mountdir:c:\win8\mnt /commit
     50}}}
     51