wiki:windows/installation_image

Windows Installation Images

  • install.wim

See also: wiki:opsi/dism

Add Language Pack:

Modify a Windows Installation Image

requirements

  • Windows 8 (ISO: sources\install.wim)
  • 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)
dism /get-wiminfo /wimfile:sources\install.wim

dism /mount-wim /wimfile:sources\install.wim /index:1 /mountdir:c:\win8\mnt

# add language packs from Language Pack ISO    
dism /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

dism /image:c:\win8\mnt /Get-Packages

dism /image:c:\win8\mnt /Get-Intl

# set default settings to German, but UI to en-US
dism /image:c:\win8\mnt /Set-AllIntl:de-DE
dism /image:c:\win8\mnt /Set-uilang:en-US
(dism /image:c:\win8\mnt /set-syslocale:de-DE)

# show included custom packages
dism /image:c:\win8\mnt /Get-packages

# show features
dism /image:c:\win8\mnt /Get-features

# feature: telnetclient
dism /image:c:\win8\mnt /enable-feature /featurename:telnetclient

# /featurename:netfx3
# see http://msdn.microsoft.com/en-us/library/hh506443.aspx
dism /image:c:\win8\mnt /enable-feature /featurename:NetFx3 /All /Source:C:\win8\installfiles\sources\sxs /LimitAccess

dism /image:c:\win8\mnt /Get-ProvisionedAppxPackages

Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:microsoft.Bing_1.2.0.137_x64__8wekyb3d8bbwe
dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:Microsoft.BingSports_1.2.0.135_x64__8wekyb3d8bbwe
dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:microsoft.microsoftskydrive_16.4.4204.712_x64__8wekyb3d8bbwe
Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:microsoft.Reader_6.2.8516.0_x64__8wekyb3d8bbwe
Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:microsoft.windowscommunicationsapps_16.4.4206.722_x64__8wekyb3d8bbwe
Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:microsoft.windowsphotos_16.4.4204.712_x64__8wekyb3d8bbwe
dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:Microsoft.XboxLIVEGames_1.0.927.0_x64__8wekyb3d8bbwe
Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:Microsoft.ZuneMusic_1.0.927.0_x64__8wekyb3d8bbwe
Dism /image:c:\win8\mnt /Remove-ProvisionedAppxPackage /packagename:Microsoft.ZuneVideo_1.0.927.0_x64__8wekyb3d8bbwe

dism /image:c:\win8\mnt /cleanup-image /StartComponentCleanup

dism /unmount-wim /mountdir:c:\win8\mnt /commit
Last modified on Jun 26, 2013 at 2:10:09 PM Last modified on Jun 26, 2013, 2:10:09 PM
Note: See TracWiki for help on using the wiki.