DOCUMENT:Q193034 24-SEP-1998 [vbwin] TITLE :BUG: Setup Program Created by PDW Disables Windows 95/98 System PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0 on the following platforms: Win95, Win98 --------------------------------------------------------------------- SYMPTOMS ======== The Package and Deployment Wizard (PDW) is used to create a standard installation program for a program created in Visual Basic 6.0. The client system is running Windows 95 and contains two hard drive partitions. The first hard drive partition contains the operating system files while the second hard drive partition contains the TEMP folder and the installation program. When you run the installation program from the second hard drive partition, the following Setup Error message box appears: "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 you click OK, one of the following occurs: 1. The system restarts but does not completely install the program. When you run the setup program, the following error message appears: A required .DLL file, C:\Windows\System\OLEAUT32.DLL was not found. 2. During the Start Up process, the following error message appears: Windows could not upgrade one or more system files. You cannot start the system after seeing this message. NOTE: This bug only occurs on systems with the following attributes: - The system is running Windows 95 or Windows 98. - The system contains at least two hard disk partitions. - The system folder and the TEMP folder reside on different partitions. CAUSE ===== The following files were removed from the System folder and not updated because the Windows\System and Temp folders reside on different hard drive partitions: - ASYCFILT.DLL - COMCAT.DLL - MSVBVM60.DLL - MSVCRT40.DLL - OLEAUT32.DLL - OLEPRO32.DLL - STDOLE2.TLB These files are updated during reboot via a mechanism built into Windows 95 and Windows 98. RESOLUTION ========== 1. Make sure the Windows\System and Temp folders are on the same drive. 2. If this bug has already occurred, you need to copy the following files to the System directory and restart Windows. - ASYCFILT.DLL - COMCAT.DLL - MSVBVM60.DLL - MSVCRT40.DLL - OLEAUT32.DLL - OLEPRO32.DLL - STDOLE2.TLB These files are included in your Visual Basic distribution disks or you can download the following file from the Microsoft Software Library: ~ vb6sys.exe This self-extracting executable file contains the files required by the System directory. After you run the self-extracting executable file, copy the expanded files to your system directory and restart Windows. For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services STATUS ====== Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION ================ When you run an installation program created by the Package and Deployment Wizard (PDW), the installation copies files to the TEMP directory. As part of the installation process, the installation program checks the versions of the previously mentioned files stored in the system directory. If those files in the System directory are older than the files copied to the TEMP directory, the installation program causes Windows to restart and to replace the older files in the System directory with the newer files from the TEMP directory during the restart. If these files are updated, Windows must be restarted. While Windows is restarting, it first deletes the files in the System folder then attempts to replace them with the files in the TEMP folder. If the System and TEMP folders are on different hard drive partitions, the deletion succeeds but the replacement fails; the older version files are deleted from the System directory but the newer version files are not copied to the System folder. Additional query words: kbVBp kbdsd kbDSupport PDW Packaging Deploy kbVBp600bug kbWizard kbAppSetup ====================================================================== Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbbug ============================================================================= 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.