CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    Problem on Installing VB4-Application



    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!

  2. #2
    Join Date
    Dec 1998
    Posts
    28

    Re: Problem on Installing VB4-Application



    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...

  3. #3
    Join Date
    Apr 1999
    Posts
    3

    Re: Problem on Installing VB4-Application



    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.



  4. #4
    Join Date
    Nov 1998
    Posts
    9

    Re: Problem on Installing VB4-Application



    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured