Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

705 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