locked
How To Install Nano Server Role From A Saved Packaged ? RRS feed

  • Question

  • Hi All,

    I have used PS to save a package which I need to Install on a nano server that can't access the Internet.

    Save-NanoServerPackage -Name Microsoft-NanoServer-Defender-Package  -Culture en-us -Path C:\Saved_packages

    Can you please tell me how I can Install the package from the saved file ?

    I tried Install-nanoserverpackage but using the file but It didn't Install the package.

    Thanks,

    Sunday, October 23, 2016 9:44 PM

Answers

  • You might have a typo in the path being specified: "c:\saved_pacakges...". Can you try after fixing that?


    • Marked as answer by Simon201 Thursday, October 27, 2016 2:42 AM
    Wednesday, October 26, 2016 6:34 PM

All replies

  • Hi Simon - what error are you encountering when using Install-NanoServerPackage?

    Monday, October 24, 2016 8:34 PM
  • There Is no error, The PS command runs and that's it.
    Tuesday, October 25, 2016 12:23 AM
  • You can install a saved package on a running Nano Server instance using dism.exe, example:

    Dism.exe /online /Add-Package /PackagePath:c:\Saved_packages

    Tuesday, October 25, 2016 5:10 PM
  • Hi Venkat,

    I'm getting the error below:

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0

    Image Version: 10.0.14393.0

    An error occurred trying to open - c:\saved_pacakges\Microsoft-NanoServer-Defender-Package__10-0-14393-0.cab Error: 0x800700
    03
    An error occurred trying to open - c:\saved_pacakges\Microsoft-NanoServer-Defender-Package__10-0-14393-0.cab Error: 0x800700
    03

    Error: 3

    An error occurred trying to open - c:\saved_pacakges\Microsoft-NanoServer-Defender-Package__10-0-14393-0.cab Error: 0x800700
    03

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    This is the line:

    Dism.exe /online /Add-Package /PackagePath:c:\saved_pacakges\Microsoft-NanoServer-Defender-Package__10-0-14393-0.cab

    Wednesday, October 26, 2016 12:30 AM
  • You might have a typo in the path being specified: "c:\saved_pacakges...". Can you try after fixing that?


    • Marked as answer by Simon201 Thursday, October 27, 2016 2:42 AM
    Wednesday, October 26, 2016 6:34 PM