Announcement

Collapse
No announcement yet.

Overwritting msvcrt.dll in Windows XP Imbedded

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Overwritting msvcrt.dll in Windows XP Imbedded

    Hello,

    I am using Setup Factory 6.0.0.4.

    We have an installer which manually installs "msvcrt.dll" on the the target system. For the properties on this file I have it set to "If file exists: overwrite only if the file is same or older". However when installing on XP machines, where the file on already on the disk is newer, I see the following entry in the log file:
    C:\WINDOWS\System32\msvcrt.dll (On Reboot-C:\WINDOWS\System32\suf1.tmp)

    I assume this means the the file will be overwritten during the next reboot. On regular XP installations, the file does not get overwritten. I assume this is because XP checks certain key files and does not let them get overwritten.

    However, our customers running XP Imbedded, the file is not protected and is overwritten during the next reboot. Unfortunately the older file does not work and the system does not boot.

    Clearly the problem is not XP but the fact that the installer is overwritting a newer file. Does anyone have any thoughts on why this might be happening?

    PS. I realize Setup Factory had support for automatically installing MSVC++ files, but I chose to manually install the files as we only need two of the files, I don't want to add 5 MB of files to my installation.

  • #2
    Re: Overwritting msvcrt.dll in Windows XP Imbedded

    Hi RDodson,

    The first thing to do would be to download the update to the latest version of Setup Factory 6.0 v6.0.1.2 from this location: http://www.indigorose.com/products/s..._patches_1.php rebuild your installation and then see if you still have a problem.

    Do you know what the version of the msvrt.dll is on the machine before the installation? What version are you installing?


    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Overwritting msvcrt.dll in Windows XP Imbedded

      Mark,

      Thanks for the quick response. Unfortunately, this release has been in the field for about 9 months. I can't recut it at this point without going through the release process again. I guess I am kind of stuck. I suppose there is not any command line option that might alter this behaviour?

      I guess then, from what your are saying, my set up is OK, but there is an anomly in the installation. I will try to rebuild the installer and test it anyway, but I am not sure if I can get it out to my customers.

      The installer is trying to install "msvcrt.dll" version 6.1.8924-0 (dated 04-May-2001) and installed on the computer is version 7.0.2600.1106 (dated 29-August-2002).

      Comment


      • #4
        Re: Overwritting msvcrt.dll in Windows XP Imbedded

        A quick update.

        I downloaded and installed 6.0.1.2 and rebuilt our installation. When I test this new installatin on XP, I still see the line in the install log:

        C:\WINDOWS\System32\msvcrt.dll (On Reboot-C:\WINDOWS\System32\suf1.tmp)

        Again, this does not cause problems on regular XP, but does for some reaons on XP Imbedded. So I guess this means the the latest version of Setup Factory does not solve this problem.

        My next test will be to rebuild the installer and set the properties on this file to "never overwrite existing file", may that will do the trick (probably the right setting anyway).

        Comment


        • #5
          Re: Overwritting msvcrt.dll in Windows XP Imbedded

          Update 2

          I tried the building the installer with the setting "Never overwrite existing file". This time in the install log I see:

          C:\WINDOWS\System32\msvcrt.dll (Skipped)

          Well at least this mode is working as advertised, and is probably the safest for this file anyway. If I can get this version out the door, it will solve my short term problem. I do need this overwrite facility to work correctly in the long run, however, so I would very much appreciate your ideas on this problem.

          Thanks.

          Comment


          • #6
            Re: Overwritting msvcrt.dll in Windows XP Imbedded

            Hi RDodson,

            I am surprised that this error is still happening in the most recent version I will test this and see if I can confirm it. Have you tried setting the overwrite option to "Overwrite if existing file is older"? Does this solve the problem?

            Also make sure that you do not have the Visual C++ Runtime Module enabled.

            MSI Factory The Next Generation Intelligent Setup Builder

            Comment


            • #7
              Re: Overwritting msvcrt.dll in Windows XP Imbedded

              Hi RDodson,

              Do you think it would be possible to send up the two files that are causing you problems? Is so please send the files to [email protected] with a quick reference to this thread.

              MSI Factory The Next Generation Intelligent Setup Builder

              Comment


              • #8
                Re: Overwritting msvcrt.dll in Windows XP Imbedded

                Mark,

                I am out of the office today, so I will send the two offending files on Monday. I checked the installer, I do not have the Visual C++ module enabled. I did not try the setting "install only if older" but I will try that on Monday.

                Thanks for you help, have a good weekend.

                Comment


                • #9
                  Re: Overwritting msvcrt.dll in Windows XP Imbedded

                  Hi Mark,

                  As per your suggestion, I am emailing you guys the two versions of "msvcrt.dll".

                  I did another test this morning: I built the installer with the file settings "Overwrite if existing file is older". I get the same result with this setting, i.e. the file is set to be overwritten at next reboot. Thus far the only setting that has worked is "Never overwrite".

                  Let me know if you have any thoughts on this.

                  Comment

                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎