WDS:Adding packages to images- COMMAND LINE CLARIFICATION???

I

InfoTechdude

HI EVERYONE,

There is another interesting topic and it's nothing else than cmd cmdlets plus powershell, when we talk about adding/removing packages to images (.wim). There are several options available out there. My list is:

DISM:

DISM/add-package |/remove-package

Powershell:

Add-WindowsPackage

Remove-WindowsPackage

Use DISM in Windows PowerShell

Pkgmgr/uu (uninstall update)

https://obinshah.files.wordpress.com/2011/02/packagemanger_1.jpg

wusa.exe d:\934307\Windows6.0-KB934307-x86.msu

https://support.microsoft.com/en-ie...indows-update-standalone-installer-in-windows

msiexec.exe [/i][/a][/j{u|m|/g|/t}][/x] <path_to_package>
  • /i - normal installation
  • /a - administrative install
  • /j - advertise the product
    • u - advertise to the current user
    • m - advertise to all users
    • /g - the language identifier used by the advertised package
    • /t - apply transform to advertise package
  • /x - uninstall the package

Msiexec.exe Command Line


Each of them deal with packages. BUT- which of them can be used for adding/removing packages to .wim (DISM/P-S obvious, wusa- installs packages but not to .wim). Which can be use to remove .msu? Is MSIEXEC for .msi(install) and .msp (patch)packages only?

Can anybody clarify this fast(especially when we talk about .MSU)?Can I use Remove-WindowsPackage to remove .msu from .wim?

Continue reading...
 
Back
Top Bottom