Using silent mode to upgrade the Network Shell (Windows)


This topic provides instructions for performing an unattended (silent) upgrade of the Network Shell on Windows.

The silent upgrade consists of two tasks:

  1. Create a response file for the installation by upgrading the Network Shell and recording your responses to the installation program's prompts.
  2. Run the installation program and specify the response file.

    Ensure that Microsoft Visual C++ 2015 Redistributable Update 3 is installed on the server. For more information, see Installing an RSCD agent (Windows).

To upgrade the Network Shell in silent mode

  1. Copy the installation program (NSH<version>-<platform>.exe) to <WINDIR>\Temp, where <WINDIR> is typically C:\winnt or C:\Windows

    Important

    Starting from version 21.3, only 64-bit installer is available for Network Shell. During upgrade to 21.3 or later, the installation directory remains the same when using 64-bit installer. For example, if Network Shell (32-bit) was installed in the C:\Program Files (x86) directory, NSH is upgraded in the same directory.

  2. At the command line, change (cd) to <WINDIR>\Temp.
  3. To create the response file, perform the following steps:
    1. Enter the following command:
      NSH<version>-<platform>.exe> -a -r -f1<WINDIR>\Temp\<silentInstallFilePath.iss>
      Where:
      <silentInstallFilePath.iss>is the name of response file that you are creating. For example, NSHSilent.iss

      Tip

      Include the version in the name of the file. (For example: 21.3.0-NSH.iss.)

      The installation program opens.

    2. Perform an upgrade of the Network Shell, selecting options as you normally do. Options that you select are recorded in the .iss file.
  4. To perform the silent upgrade, at the command line, enter the following command:
    NSH<version>-<platform>.exe /s /f1<WINDIR>\Temp\<silentInstallFilePath.iss>
    Where:
    <silentInstallFilePath.iss> is the name of the response file that you created.
    For example:
    D:\BladeLogic\NSH87-WIN32.exe /s /f1C:\Temp\NSHSilent.iss
    Guideline: There should be no space between the /f1 option and the .iss file name or path.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*