8.4 Rebuilding Packages

You must rebuild the default and custom deployment packages in the following scenarios:

  • If the Primary Server port has been changed or is incorrect in the package.

  • To include all the new and updated MSI or RPM files that are provided as patches.

    The new and updated MSI files are located in the %ZENWORKS_HOME%\novell\zenworks\install\downloads\msi directory on Windows and in the /opt/novell/zenworks/install/downloads/msi directory on Linux.

    The new and updated RPM files are located in the %ZENWORKS_HOME%\novell\zenworks\install\downloads\rpm directory on Windows and in the /opt/novell/zenworks/install/downloads/rpm directory on Linux.

  • If the server certificate has been changed.

The following sections provide instructions for rebuilding the default and custom packages:

8.4.1 Rebuilding the Default Packages

The default packages are the system packages that are included on each ZENworks Server to deploy the agent to your device. For more information on the default packages, see Deployment Packages.

To rebuild the default packages:

  1. Do one of the following:

    • On Windows: At the command prompt, enter:

      novell-zenworks-configure -Z -c CreateExtractorPacks

    • On Linux: At the console prompt, change to the /opt/novell/zenworks/bin directory, then enter:

      ./novell-zenworks-configure -Z -c CreateExtractorPacks

  2. When prompted to select the packages to be rebuilt, (by default, only the Agent Network Package - Windows is selected), do one of the following:

    • To rebuild only the default package, press Enter.

    • To rebuild additional packages, type the number corresponding to a package, then press Enter twice.

      For example, if you type 2, then press Enter twice, the Agent Network Package - Windows (default) and Agent Complete Package - Windows are rebuilt.

    • To rebuild all the packages, type 2,3,4,5,6,7 then press Enter twice.

8.4.2 Rebuilding the Custom Packages

The custom packages are created by customizing any of the default system packages. For more information on the custom packages, see Default System Packages Versus Custom Packages.

To rebuild the custom packages:

  1. Do one of the following:

    • On Windows: At the command prompt, enter:

      novell-zenworks-configure -Z -c RebuildCustomPacks

    • On Linux: At the console prompt, change to the /opt/novell/zenworks/bin directory, then enter:

      ./novell-zenworks-configure -Z -c RebuildCustomPacks

  2. When prompted to select whether to rebuild the custom packages, press Enter.