PRB: "Unexpected error; quitting" Installing VB4 ApplicationLast reviewed: March 9, 1998Article ID: Q162518 |
The information in this article applies to:
SYMPTOMSWhen you attempt to install a Visual Basic 4.0 32-bit application created using the Setup Wizard, the following error message appears:
Unexpected Error; Quitting CAUSEThis problem occurs because the target machine has version 5.x of Olepro32.dll installed but does not have version 2.20.xxx of Oleaut32.dll installed. This can happen when Visual Basic 4.0 developers install an Office 97 application, Internet Explorer 3.0, or Visual Basic 5.0 on their machine (thus installing Olepro32.dll version 5.x), and then create a distribution using the Visual Basic 4.0 Setup Toolkit. The Visual Basic 4.0 Setup Toolkit includes version 5.x Olepro32.dll in the files it installs. When an attempt is made to install the Visual Basic 4.0 application on a machine that does not have the version 2.20 Oleaut32.dll, it fails as described above, leaving the updated version of Olepro32.dll on the target machine. Also, any application on the target machine that uses Olepro32.dll will no longer work because Olepro32.dll attempts to forward calls into the new Oleaut32.dll, which is not present.
RESOLUTIONThe Visual Basic 4.0 Setup Toolkit cannot be used to install the updated Oleaut32.dll on the target system because doing so requires the system to be restarted and the Visual Basic 4.0 Setup Toolkit does not have this capability. To correct problems on target machines where installation was attempted, there are two options:
OLEPRO32.DLL MFC40.DLL MSVCRT40.DLLto the following folder:
C:\Program Files\Microsoft Visual Basic\Setupkit\Kitfil32\sys32Now recreate your distribution. Microsoft Visual Basic 4.0's Setup Wizard always looks first at the above folder when searching for dependent files. When you install your application, only less-recent files on the target machine will be overwritten.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Keywords : SetIns TlsSetWiz Technology : kbole Version : 4.0 Platform : WINDOWS Hardware : x86 Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |