Microsoft KB Archive/222975

From BetaArchive Wiki
Knowledge Base


Cannot Install Program Using Its Setup Utility

Article ID: 222975

Article Last Modified on 2/23/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT 4.0 Service Pack 1
  • Microsoft Windows NT 4.0 Service Pack 2
  • Microsoft Windows NT 4.0 Service Pack 3
  • Microsoft Windows NT 4.0 Service Pack 4
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • Microsoft Windows NT 4.0 Service Pack 4



This article was previously published under Q222975


SYMPTOMS

When you attempt to install a program using its Setup program or the Add/Remove Programs tool, the Setup program may start, but it may not respond to user input and may stop responding (hang).

CAUSE

Many Setup programs are 16-bit utilities that require Windows NT Virtual DOS Machine support (NTVDM). If one or more Windows on Windows dynamic link library (DLL) files are missing, NTVDM cannot properly support the Setup program.

RESOLUTION

To resolve this behavior, verify that all required NTVDM support files exist in the %SystemRoot%\System32 folder. To do so, follow these steps:

  1. Click Start, click Run, type regedt32, and then click OK.
  2. On the Windows menu, click HKEY_LOCAL_ MACHINE on Local Machine.
  3. Click the \System\CurrentControlSet\Control\WOW folder.
  4. On the Registry menu, click Print Subtree.
  5. On the printout, compare the files listed under the KnownDLLs value with the files that exist in the %SystemRoot%\System32 folder and make a note of each file that is missing from the %SystemRoot%\System32 folder.
  6. Quit Registry Editor.

To replace a missing DLL file in the %SystemRoot%\System32 folder, follow these steps:

  1. Insert the Windows NT CD-ROM into your CD-ROM drive.
  2. At a command prompt, change to the drive where the Windows NT CD-ROM is located.
  3. Use the Expand.exe tool to copy the missing file from the CD-ROM to the %SystemRoot%\System32 folder. For example, if you need to restore the Vga.drv file on an Intel-based computer, type the following command, and then press ENTER:

    \i386\expand \i386\vga.dr_ %SystemRoot%\System32\vga.drv

  4. Repeat step 3 for each missing file.
  5. Reapply your current service pack (in case any of these DLLs were replaced in subsequent service packs)

NOTE: You should also verify that the Wowexec.exe and Gdi.exe files exist in the %SystemRoot%/System32 folder.

Keywords: kbinterop kbprb KB222975