Delete or rename the SYS:\SYSTEM\PRODUCTS.DAT and SYS:\SYSTEM\BTRIEVE.TRN files and either copy like files from another server which has good copies of these files, or load NWCONFIG | Product Options | View/Configure/Remove installed products which will recreate these files. In either case, product entries may need to be added or deleted.
To delete an existing entry, type the following line at the console prompt of the server in question:
LOAD UINSTALL <CodeWord>
The CodeWord is specific to the patch/product installed. Examples of common codewords are "CONSOLE1" for ConsoleOne, "NICI" for Novell Cryptographic Services, "NLS" for Novell Licensing Services, "PKIS" for Novell Certificate Server, "PORTAL" for Portal, and "SPACK" for the OS support pack.
To add an entry, a script needs to be created and run to add the appropriate information to the Installed Products listing. To do this, create a text file with the extension <Filename>.IPS with the following information:
ProductRecord SPACK, 0, "5.1.1"
ProductRecord SPACK, 1, "v1.0 Support Pack for NetWare 5.1"
Display 1, "Edits to PRODUCTS.DAT file are complete.\n\n Please unload NWCONFIG.NLM before installing anything else."
Run this by going to NWCONFIG | Product Options | Install a product not listed, then specify the path to your file.
Running this will create an entry in the Installed Products listing that looks like this:
SPACK 5.1.1 v1.0 Support Pack for NetWare 5.1
Other products or patches can be entered into the Installed Products listing by copying the ProductRecord lines and changing the SPACK to a different codeword, changing the version (shown as 5.1.1 above) to the correct version, and changing the description field to accurately describe the entry. With wildcards, the ProductRecord lines will look as follows:
ProductRecord <CodeWord>, 0, "<Major Version>.<Minor Version>.<Patch Version>
ProductRecord <CodeWord>, 1, "Product Description"