Table of Contents Previous Section

Uninstalling WebObjects for Windows NT

To uninstall WebObjects on Windows NT, do the following:

  1. Run the WebObjects Uninstaller from the WebObjects Program Manager Group/Start Menu Group. Restart the machine after the uninstallation completes.

  2. Clean up your system environment variables as follows:

    1. Click Start, select Settings, then select Control Panel.

    2. Within the Control Panel window, double-click the System icon.

    3. Select the Environment tab. This panel is where you can alter the environment variable settings that Windows NT uses.

    4. Select NEXT_ROOT in the System Environment Variables section.

    5. Click Delete.

    6. If developer software was installed, select the lib (or Lib) system-environment variable definition. Highlight that portion of the definition that names the directories NextLibrary or NextDeveloper, and press the Delete key (do not click Delete). Click Set to register the change.

    7. Select the Path system-environment variable definition. Highlight that portion of the definition that names the directory NextDeveloper or NextLibrary and press the Delete key (do not click Delete).

    8. Click Set to register the change.

    9. Click OK in the System dialog.

  3. Clean up your services as follows:

    1. Within the Control Panel window, double-click the Services icon. The Services panel appears. This panel is where you can alter NT services.

    2. Check for entries titled NeXT Mach Daemon or NeXT Netname Server. If there are no entries by these names, skip the rest of this step.

    3. Launch the MS-DOS shell.

    4. Go to the %NEXT_ROOT%/NextLibrary/System directory (%NEXT_ROOT% is the root directory where NeXT software is installed-typically it is C:\NeXT or c:\)

    5. Enter these two commands:

      > machd -remove
      > nmserver -remove

  4. Search for the directories and files listed below. If any of these directories exist, delete them.

    C:\NeXT
    NextDeveloper
    NextLibrary
    <DocRoot>/WebObjects (where <DocRoot> is your HTTP server's document root)
    %SYS_ROOT%/Profiles/Administrator/Startup Menu/Programs/WebObjects
    %SYS_ROOT%/Profiles/All Users/Startup Menu/Programs/WebObjects
    %SYS_ROOT%/Profiles/Default User/Startup Menu/Programs/WebObjects
    <cgi-bin>/WebObjects (where <cgi-bin> is your HTTP server's cgi-bin directory)
    <cgi-bin>/WebObjects.exe

    When you attempt to delete a directory, you may receive a alert panel which says that this deletion may affect registered applications. Select Continue/OK/Yes (whichever is appropriate to the panel) in order to complete the operation.

    If you can't delete a file, that means it is still running. Double-click the file in Explorer to terminate it. Then delete the file.

  5. Clean up the Windows NT Registry. This step is not required.

    Note: You must take great care when editing the Windows Registry; it's possible to alter your configuration so that your computer will no longer boot. If you aren't comfortable working with the Windows NT Registry, skip this step.

    1. Start the Windows Registry Editor. This program is named REGEDIT.EXE, and is typically found in your WINNT directory.

    2. Select Find from the Edit menu. In the Find What field, type "NeXT". Click Find Next to locate the first key.

    3. Examine the key. If it appears to be one that was created for use with OPENSTEP or D'OLE, press the Delete key to delete it. Press F3 to find the next key.

    4. Repeat until Find indicates that there are no keys that contain the string "NeXT".

    5. Clean up the HKEY_CLASSES section of the registry. The Find utility will not find any of the keys that need to be deleted from this section; you must search through it by hand.

      When cleaning this section of the registry you will need to occasionally look at the actual values of the registry keys. Ensure that the window is 'split' - keys are listed on the left side, key values are listed on the right. There is an option under the 'View' menu.

      Items in the list which are not marked will be a NeXT-specific extension which is used and the key SHOULD only have a single value listed. You should always check to verify that the key has only a single value. If you find an entry which was expected to be NeXT-specific which has multiple entries you should check with the person who assigned you this task for clarification.

      ..btsubmit
      ..C (%ProjectBuilder.C)
      ..draw
      ..eomodel
      ..eomodeld
      ..eomodel~
      ..eomodeld~
      ..eps (%Preview.eps)
      ..H (%ProjectBuilder.H)
      ..M (%ProjectBuilder.M)
      .nib
      .nib~
      .palette
      ..project
      ..ps (%Preview.ps)
      ..rtf (%TextEdit.rtf)
      ..rtfd
      ..tif (%Preview.tif)
      ..tiff (%Preview.tiff)
      ..wbpalette
      ..wo
      ..woa
      ..wod
      ..woo
      ..wos
      BugNext.btsubmit
      EOModeler.eomodel
      EOModeler.eomodeld
      EOModeler.eomodel~
      EOModeler.eomodeld~
      InterfaceBuilder.nib
      InterfaceBuilder.nib~
      InterfaceBuilder.palette
      NEXTORB.OLE
      NEXTORB.OLE.CLIENT
      NEXTORB.OLE.SERVER
      ProjectBuilder.C
      ProjectBuilder.H
      ProjectBuilder.M
      ProjectBuilder.project
      TextEdit.rtf
      TextEdit.rtfd
      WebObjectsBuilder.wbpalette
      WebObjectsBuilder.wo
      WebObjectsBuilder.woa
      WebObjectsBuilder.wod
      WebObjectsBuilder.woo
      WebObjectsBuilder.wos

    6. Double-lick the CLSID key in HKEY_CLASSES. This should expand the folder.

    7. Using the down arrow key, scroll through the list of keys under CLSID and check the key data/values that are displayed in the right side of the window. There are up to 3 entries that have a string containing the words "NeXT ORB" in the data field. Delete each of these entries. Make sure that the left side of the window has focus because you are actually deleting the key entry in the CLSID key structure, not just the single data/value entry.
Uninstallation is now complete.