PRB: Multiple "System Files Are Out of Date" Errors

ID: Q191096


The information in this article applies to:
  • Microsoft Visual Basic Professional and Enterprise Editions for Windows, versions 5.0, 6.0


SYMPTOMS

When installing a Microsoft Visual Basic application on a computer running Microsoft Windows 95/98, you receive the following message:

Setup cannot continue because some system files are out of date on your
system. Click OK if you would like setup to update these files for you
now. You will need to restart Windows before you can run setup again.
Click cancel to exit setup without updating system files.
After Windows restarts and you begin the installation again, the error message appears again.

NOTE: This occurs with either the Microsoft Visual Basic 5.0 Application Setup Wizard (ASW) or the Microsoft Visual Basic 6.0 Package and Deployment Wizard (PDW).


CAUSE

Both installation programs (ASW and PDW) use the Wininit.ini file to replace in-use system files. For additional information, please see the following article in the Microsoft Knowledge Base:

Q140570 HOWTO: Moving Files That Are Currently in Use

If the Windows temporary folder is located on a drive other than the one that contains Windows, Wininit.ini is unable to copy and rename the files correctly. Once the computer reboots and the installation program is started again, the user is prompted with the message again because the files were not updated correctly for the application.


RESOLUTION

There are two resolutions to this problem:

  1. Set the TEMP and TMP environment variables to a folder that is in the same drive partition as the Windows files. Set the TEMP and TMP environment variables to a folder that resides on the same drive as the Windows system files. Open a command prompt window and type the following at the prompt to set the TEMP and TMP environment variables to a folder named Temp that resides on drive C:
    Set TMP=C:\TEMP
    Set TEMP=C:\TEMP
    NOTE: The folder must exist prior to execution of these commands.

    Once the two environment variables are set, the application should then install and continue past the message on reboot.


  2. Comment out the following line in your Autoexec.bat file:
    If exists c:\temp\*.tmp del c:\temp\*.tmp



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q189743 INFO: Description of Setup.lst Sections

Visual Basic 5.0 Programmer's Guide, Chapter 17 "Distributing Your Applications"

Online Help for Microsoft Visual Basic, version 6.0

Additional query words: directory machine kbVBp500 kbVBp600 kberrmsg kbAppSetup kbdse
kbDSupport kbVBp

Keywords : kberrmsg kbAppSetup kbVBp500 kbVBp600 kbGrpVB kbGrpVBDB
Version : WINDOWS:5.0,6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.