Results 1 to 8 of 8

Thread: [RESOLVED] Msvcrt.dll

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] Msvcrt.dll

    Should I put this files (Msvcrt.dll) in the installer package if I want to deploy my program to target machine that used window XP ?

    Should I deploy this files scrrun.dll ?

    I don't want to deploy my program on target machine that used other then Windows XP . So it this files already exist in Windows XP ? it this files is already exist on every OS that used XP, I will not include this files. I have read from this link, but I not much Understand http://www.***********/installerproblems.html. What it mean with VB 6 Runtime Files ? it is exe files or dll files?
    Last edited by si_the_geek; Jan 28th, 2008 at 11:08 AM. Reason: merged threads

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Msvcrt.dll

    Based on your other thread, these files haven't been added to your package by P&DW, so why do you want to add them?

    You should only be adding files that are required by your program (or files that those files require), as anything else will make your package bloated, and possibly cause problems for the computers that your program is installed to.


    I'm not certain about scrrun.dll , but am sure that Msvcrt.dll should not be included.

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Msvcrt.dll

    You may find BUG: Distribution of Microsoft Scripting Runtime Library Fails informative.

    Also look at PRB: Your Computer Does Not Restart After You Install a Microsoft Visual Basic 6.0 Application That Includes a MSVCRT.dll File.


    Basically these are both files you should not try to redistribute. They exist in OS-specific versions and you could wreak havoc on downlevel systems that do not protect system files aggressively as WinXP, 2003, Vista, and 2008 do.


    You might also want to read Best practices for deploying Visual Basic 6.0 applications which toward the end identifies the core components of the VB6 runtime. XP Gold ships with these, and SP1 and SP2 each update them, but not to the most current versions (VB6 SP6b).
    Last edited by dilettante; Jan 28th, 2008 at 06:32 PM.

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Msvcrt.dll

    You also seem to be trying to deploy MSADO27.TLB based on your other thread here. This is not a good thing to do in general. If you must deploy MDAC components you should do this via MDAC_TYP.exe which the PDW should offer to package for you.

    Of course you'll want to update the MDAC_TYP.exe in your PDW's "redist" folder in order to package the right one. Generally you shouldn't deploy MDAC anymore anyway except on downlevel OSs (prior to Win2K).

    You can look into options in BUG: Error "Unable to Register MSADO15.TLB" If You Use a PDW Package to Install a VB Application.

    Also look at How To Control Which MDAC Version the Package and Deployment Wizard (PDW) Distributes.
    Last edited by dilettante; Jan 28th, 2008 at 06:59 PM.

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [RESOLVED] Msvcrt.dll

    If your app does not require the Scripting Runtime Files ... Do not deploy them... as well as any other files your app does not use. How ever if your app uses scrrun.dll do not deploy this file alone. You need to deploy the whole scripting runtime installation for the target OS.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: [RESOLVED] Msvcrt.dll

    I don't deploy this files in OS XP and it work now. But I unsure if the program works or not If try deploy the package in OS 2000 if I don't included that package.

    I don't know the whole scripting runtime. Where I can get this list?

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [RESOLVED] Msvcrt.dll

    Quote Originally Posted by matrik02
    I don't deploy this files in OS XP and it work now. But I unsure if the program works or not If try deploy the package in OS 2000 if I don't included that package.
    Test it out on a 2000 machine before you deploy it.

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [RESOLVED] Msvcrt.dll

    Why do you think you need the Scripting Runtime and what about that document you read caused confusion?

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