Click to See Complete Forum and Search --> : Problem on Installing VB4-Application


Paul Pierrot
October 28th, 1998, 11:46 AM
Hi everybody,


A customer of ours reported a problem on installing an application built with the VB4-Setupwiz.

I can't reproduce this problem here, so I wondered if somebody can tell anything about my problem. I'm sorry to not have the exact errormessage, I only have it in German, I will try to translate and hope I choose the right words so one could recognize the phrases.


On running setup my customer got the following message:


The following system-files were exchanged by an application to an older version. These files are in use at the moment and therefore cannot be repaired.


Windows will eventually not work properly, as long as these files aren't able to be repaired automatically. Therefore it is necessary, that windows has to be stopped and restarted.


In a list only the file c:\windows\system\msvcrt20.dll is mentioned.


The most peculiar thing about this problem is, that this file is not in our distribution (setup.lst) at all. After installing the file mentioned is unchanged (in c:\windows\system). Before installing we have 2.11.000 of size 253952 byte. After installing it is the same.


Can anybody please tell me what is going on here and what could eventually be done about this?


Thanx in advance!


Any help is greatly appreciated!

Justin Decker
October 28th, 1998, 07:01 PM
I think that your problem is that the setupwiz wants to copy files that are in use by windows or some other app. The VB4 setupwiz doesn't support installing files that are in use and rebooting, the VB5 one does.

I'm not sure if any of that will help, but it may be a starting point. Try using another installer program like InstallShield or Wise etc...

Paul Pierrot
October 29th, 1998, 02:45 AM
It could have something to do with that. The only thing is, we don't have the file causing problems in our setup.lst. Or does the setup-program check this file for a correct version?

Another difficulty of the problem is the bad reproducability. Our customer had the problem twice. The second time he could obtain a little more information. We can't reproduce it.

Thanx anyway.

Gordito
November 7th, 1998, 06:03 PM
Does your app use any controls that must be registered. I believe the setup wiz uses regserver32.exe for this, which i believe uses the msvcrt.dll library. I had a problem with VB 4 registering my controls because the client version did not have the proper version on that particular library on their computer. That may have something to do with your error message.


Gordito.