Setup error : Can't update registry

Posted on 1999-07-15
Medium Priority
Last Modified: 2013-12-29
I tried to setup Access 97 and VisualBasic 5.0 and this error accoured end of the both of these setups.
Question by:derter
  • 2

Expert Comment

ID: 1691234
What OS?
Is that the exact error?

Author Comment

ID: 1691235
OS is Windows 95.Error message:

Setup Error 168
Setup has encountered a problem updating your system registry.


Author Comment

ID: 1691236
OS is Windows 95.Error message:

Setup Error 168
Setup has encountered a problem updating your system registry.


Accepted Solution

tsgarp earned 800 total points
ID: 1691237
From Technet

The following error might occur during MSDN installation if the registry key that you are trying to modify is locked up or used by other applications or it has reached its limit:

Setup error 168: Setup encountered an error updating your registry.
Subsequently, you might not be able to use MSDN. This error might also show up during Visual Basic 5.0 installation. In that case, follow the resolution given in step 3 below.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

Try one or all of the following resolution methods:

Use ShrDll to evaluate the size of the SharedDLLs registry key and to clean up unused entries.

Versions of MSDN prior to MSDN October 1998 or Visual Studio 6.0 wrote the following keys to the registry:

      HKEY_LOCAL_MACHINE\Software\Microsoft\ InfoViewer\5.0

Delete these keys. To do so, use the Registry Editor: first, go to the Start menu, click Run, type regedit, and click OK to start the Registry Editor. Then, select and delete the two keys. Next, close all applications and try installing MSDN again.

Download RegClean.exe from the Microsoft Software Library and run it to clean the registry. Try step 2 again. For additional information, please see the following article in the Microsoft Knowledge Base:
Q147769 INFO: RegClean 4.1a Description and General Issues

Open the Registry Editor. Open the following registry key:


Save this key by selecting it and choosing Export Registry File from the Registry menu.

Save the file with a name (for example, SaveKey1) in a temporary directory (for example, C:\Temp). In this example, a file named SaveKey1.dat is created.

Now, delete the key. Try step 1 again. After a successful install, save this key again with a new name (for example, SaveKey2).

Import the saved registry file by selecting Import Registry File from the Registry menu and importing the saved file C:\Temp\SaveKey1.dat. By doing this, you combine the old information and any new information created for that key.

Import the saved file even if the error does not appear so that you restore the original key. If installation was successful, import the saved registry file (SaveKey2.dat in this example) in case importing SaveKey1.dat over wrote some key values.

If the previous method does not resolve the problem, check the SharedDLLs key entries and see if any junk files with extensions such as .c, .cpp, .rc, and so forth are registered. Note that this key is to be used for registering only DLL files.

Delete the junk file entries from the SharedDLLs registry key and try to install MSDN again. If this does not work, then you may have to uninstall some applications from your computer to make room in the registry file.

Check to see if the following article in the Microsoft Knowledge Base is applicable:

Q163277 OFF97: Setup Error 168 or "Tahoma Font Is Not Present" Error
Run the MSDN setup from a DOS command line as follows for MSDN prior to October 1998:
setup.exe /gerrorlog.txt
For versions of MSDN October 1998 and later, run:
setup.exe /gc c:\errorlog.txt
The Errorlog.txt file contains the information recorded when setup failed. Use that information to find the registry key that caused the failure and apply step 3 accordingly. The error log file may provide you with valuable information for trouble shooting this problem.

This problem was partially addressed in Visual Studio 6.0 and related 6.0 products, where Setup.exe checks the available space in the registry near the beginning of setup. If it looks like there might not be enough registry space to install the software, setup will warn you and point you to a Readme file that contains suggestions on how to handle the situation.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
In a question here at Experts Exchange, a member was looking for "a little app that would allow sound to be turned OFF and ON by simply clicking on an icon in the system tray". This article shows how to achieve that, as well as providing the same OF…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question