Discussion Locked

VB6 App will not install

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have written a VB6 Database Application. It runs fine in the compliler. But when I try to install it on the PC it is to work on, which is running Windows 2000, I get a message saying "Some of the finle on your system are out of date, Click OK toupdate them.". So I CLICK Ok, I am then asked if I want to restart my computer, and told I will not be able to run setup again until I have restarted the Computer, so I CLICK Yes.

When the system restarts I start my setup program again, and repeat this process until I am blue in the face. I have installed other programs I have written with VB5 and VB6, these seem to install OK. I have installed the application on the development PC, it installs OK.

Does anyone know a fix for this problem? I have had it in the past on Windows 95 and 98, but have managed to get around the problem by installing the program in safe mode, I have tried this on the Windows 2000 PC, but it still wants to update some files.

Help me please.

7 replies

by jimbb

W2K "cheats" a bit, and caches DLLs and so, in a separate directory. Maybe your program is updating the wrong ones?

Jim

by sl-campbell

I would say that the problem is being caused by a program that was created on a system which has later versions of one or more system files. In Windows 2000/ME, system files are protected and are not updated on the restart.
During installation the setup program detects that some system files need to updated and goes into a reboot to do this. But Win 2000 or ME does not allow an update of system files via application installation - only through a Windows update.
Thsi 'problem' is caused by theOleaut32.dll.
Check the date of this file in the setup list and the date on the system the application is to be installed. Guess is that dll on the 'receiving system' is older.

You can either update the receiving system with a service pack that contains a version of this dll that is newer than that which setup is trying to install, or go the otherway around and include a version in your package that is equal to or less than the one on the receiving PC (use VB6 SP4 so the needed files in theVB redist folder get added - these files are in any case older than the ones on Win 2000.

by rrv

Your Installation system files are not accepted in the system folder of win2k. Means the new files coming into win2k from your installation is either out of date or incompatible with win2k. So compile your VB6 app with SP5, create the setup, then run in win2k. Even then if it did not work check the System files used in the source PC. That Source PC requires a service pack.

RV

by mikedale

I can not compile the program in VB5 as the VB6 app uses features in VB6 they are not supported in VB5. Thanks for your suggestions.

This discussion is closed to new replies.