none
DISM / Windows Features on Demand ISO for Offline computers. RRS feed

  • Question

  • What is the solution for adding features / capabilities for computers that do not have access to the internet?

    I've tried DISM:

    DISM /online /add-capability /CapabilityName:XPS.Viewer~~~~0.0.1.0 /LimitAccess /Source:"S:


    And PowerShell:

    Add-WindowsCapability -Name XPS.Viewer~~~~0.0.1.0 -Online -LimitAccess -Source "S:"

    "S:" is pointing at a UNC share that contains the extracted contents of the "Windows Features on Demand" ISO from the VLC.

    It contains the cab: 

    Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab



    There's no place like 127.0.0.1

    Monday, October 22, 2018 3:48 PM

Answers

  • Have you tried this?

    dism /online /add-package /packagepath:S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab

    Gérald

    • Marked as answer by Matt5150 Monday, October 22, 2018 8:45 PM
    Monday, October 22, 2018 8:39 PM

All replies

  • Have you tried this?

    dism /online /add-package /packagepath:S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab

    Gérald

    • Marked as answer by Matt5150 Monday, October 22, 2018 8:45 PM
    Monday, October 22, 2018 8:39 PM
  • Have you tried this?

    dism /online /add-package /packagepath:S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab

    Gérald

    Apparently not. (I think I was including the capability / feature name when I tried those switches)

    That worked great.  Thanks!


    There's no place like 127.0.0.1

    Monday, October 22, 2018 8:45 PM
  • In case someone else runs into this, here is the PS version:

    Add-WindowsPackage -Online -PackagePath "S:\$FOD.cab"



    There's no place like 127.0.0.1

    Tuesday, October 23, 2018 12:15 AM
  • I copied and pasted that in cmd(run as admin) and I got:

    An error occurred trying to open - S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab Error: 0x80070003
    An error occurred trying to open - S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab Error: 0x80070003

    Error: 3

    An error occurred trying to open - S:\Microsoft-Windows-Xps-Xps-Viewer-Opt-Package~31bf3856ad364e35~amd64~~.cab Error: 0x80070003

    I can not attach my DISM logfile.

    Monday, February 4, 2019 7:55 AM