DOCUMENT:Q191096 07-AUG-1998 [vbwin] TITLE :PRB: Multiple "System Files Are Out of Date" Errors PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0,6.0 OPER/SYS:WINDOWS KEYWORDS:kbVBp500 kbVBp600 kbAppSetup kberrmsg ====================================================================== --------------------------------------------------------------------- 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: ARTICLE-ID: Q140570 TITLE : 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 ========== Using an MS-DOS prompt, set the TEMP and TMP environment variables to a folder that resides on the same drive where Windows is installed. For example, the following commands 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 have been set, the application should now install and continue past the message on reboot. STATUS ====== Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCES ========== For additional information, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q189743 TITLE : 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 ====================================================================== Keywords : kbVBp500 kbVBp600 kbAppSetup kberrmsg Version : WINDOWS:5.0,6.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.