Question

Redistributable files and their details

Asked by: Sethi

While packaging dependencies with Inno setup or any setup, there are some common set of Microsoft files like msvcrt.dll, comdlg32.dll, mfc42.dll etc. On surfing the net, I have so far received mixed information about these Dll's and whether they need to be there in a setup or not? What I want to know is a source on net where I can see details for respective Dll's. I have scanned msdn but there is not direct definition or detail of respective dll's. Example: should msvcrt be different for Win98 and XP and whether it should be installed on these machines or not?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-11-19 at 00:38:50ID20802454
Tags

redistributable

Topic

Visual Basic Programming

Participating Experts
5
Points
500
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Distribution problems with MSVCRT.DLL and MFC42.DLL
    I have built an installation set with the deployment wizard in VB6 E, but when I run it, the target machine responds that MSVCRT.DLL and MFC42.DLL are in use, and that there is an access violation. The versions of these DLLs on the target machine are identical with the sourc...
  2. Win98: Missing MFC42.DLL
    I just returned to work after being gone for about a week. I left my PC on, connected to a peer-to-peer basically Win95 LAN. Upon return, my PC seemed OK and I did some spreadsheet work. However, I could not access a database on another PC on the LAN, getting a message tha...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: NBrownohPosted on 2003-11-19 at 00:53:01ID: 9777105

well i think that with each release of an operating system the basic function names and functionality of those functions was kept the same.  If you were to release a winXP dll that was also included with Win9x it should just be a better version with a few more functions.  Though i have heard of some things causing winnt to crash, but this is a very selective group i think.

 

by: SethiPosted on 2003-11-19 at 01:06:16ID: 9777169

I have been taking chances with these DLL's for last 5 years now and have been using PDW. This time, I am taking my time to get into details becuase it is not worth spending time at client site when these clashes happen. So any detail or link would be appreciated.

 

by: NBrownohPosted on 2003-11-19 at 01:07:51ID: 9777176

http://www.mztools.com/

that what i currently use now, its free and a wonderful overall tool much better than aivisto or whatever.

I use it for a lot of different things of course but it has a tool that makes a xml documentation file that among other things shows you all references your program uses, this might be usefull.

 

by: vkaushikPosted on 2003-11-19 at 02:35:23ID: 9777521

One of the best of breed is to Use Install shield, it has a dynamic scan as well as static scan for all the dependent files/dlls for the project/executable you want to build setup. They have merge module files for all dependencies and you just need to include the correct merged module file ..msi file into your build plus any external dlls/other files you want to include.

 

by: NightmanPosted on 2003-11-19 at 02:56:53ID: 9777620

Install Shield is excellent - I am currently using Developer 8. The merge modules are downloadable from http://www.installshield.com, and can be re-used. The greatest advantage of using microsofts merge modules for installing their components is that you simply have to include them in the install project - any logic such as OS version checking, install locations, and dependancies are handled automatically. It can also perform these dependancy scans on .Net assemblies - all in all I think it is the best application out there.

You can also create your own merge modules for libraries, dlls  and other components (or groups of components) that you have developed that seldom change.

I'm not sure what the current price is, but I paid about $600 for it last year (and the western lanugage pack was approx. $250 - this allows you to deploy install sets in multiple languages).


Hope this helps.

Cheers
Night

 

by: SethiPosted on 2003-11-19 at 03:00:50ID: 9777653

I cant afford to spend that amount. As i mentioned, I am using Inno setup and I find it as an excellent tool. All I want to know is a link to some site or some knowledgebase on net where I can read details of common Microsoft dll's and known problems with them. I have created everything with my Inno setup and this is the only thing that is left.

 

by: NightmanPosted on 2003-11-19 at 03:20:18ID: 9777839

Hmm. I'm not sure if there is a kba anywhere that describes the version - OS dependancy. I will try and find out.

An alternative would be to actually test all your install sets on various OS's before deploying. I have a second PC with Norton's Ghost installed, and multiple images (Win95,98,98SE,2K,2Ksp1-4,XP,XP sp1,XP sp2). If I want to test on a particular OS, I simply restore one of the saved images.

Obviously this would require a second PC (probably more than $600, unless you already have an old one that you can use), as well as Norton's Ghost (not sure what this costs these days - check out http://www.symantec.com)

Cheers
Night

 

by: NightmanPosted on 2003-11-19 at 03:29:52ID: 9777930

http://www.dll-files.com - a good resource for downloading dll's.

Best thing I can suggest is the MSDN (either your local copy, or http://msdn.microsoft.com). If I remember correctly, each OS install and service pack lists the dll's and versions deployed - you could either search these individually, or create your own local database as you find out more about each dll.

Usually dll versions that are backward compatible (i.e. binary compatible - the interface has probalby not been changed, or it has simply been extended) retain the same name, while newer versions with different interfaces have new names. This means that 'theoretically' it is safe to replace an existing MS dll with a newer version. However, this should probably be tested.

Cheers
Night

 

by: SethiPosted on 2003-11-19 at 03:31:48ID: 9777948

What exactly does Norton Ghost does?

 

by: NightmanPosted on 2003-11-19 at 03:38:35ID: 9778008

Saves an image of the installed partition for restoring at a later stage. I have 2 drives in my machine - one holds the OS and installed partition, another holds saved images of partitions. I do a fresh installation of say, win98SE on the c:\. When I'm finished, I then use Ghost to save the image to the second driver. Then, whenever I want to test on a clean machine (with no extra dll's, runtime components, etc), I simply use Ghost to restore the clean image. This means that I don't have to go through the hassle of re-installing the PC whenever I want to test on a specific OS - I simply restore the image and ...

Cheers
Night

 

by: SethiPosted on 2003-11-19 at 03:49:48ID: 9778137

This sounds very interesting. I have two machine networked with each other. One is the development machine I am working on A and the other is RND machine wherein I do all RND work B. I have been formatting and reinstalling things on that machine for RND work. This means, I can simply take an image of hard disk of machine B and store it on this machine A and after RND restore the image from this machine A to that machine B. Is it that simple?

 

by: NightmanPosted on 2003-11-19 at 03:59:13ID: 9778234

Theoretically, yes.

However, networked drives could be a problem - I don't think that Ghost supports network config (will look up - but I think you would have to create a boot disk that sets the network config and then runs the ghost.exe - I haven't tried it as I have extra hard drive space), which means that you will not be able to restore across the network. It's better to create a seperate partition on you Machine B's hard drive to store the images (or a entirely seperate drive, if you have one).

Otherwise once it's configured, it is literally that simple - note though that the latest version of ghost does not support Windows 2003 Server.

 

by: NightmanPosted on 2003-11-19 at 04:02:57ID: 9778278

link to ghost:

http://www.symantec.com/sabu/ghost/

Pricing ranging from $69.99 (Home/Retail User).

 

by: SethiPosted on 2003-11-19 at 04:17:26ID: 9778396

I missed your comment on http://www.dll-files.com. I went through this site today morning and all it is offering is the download of latest Dll's. regarding my own database of Dll's, this is what I am doing. I am storing most commonly required Dll's in a folder with their version no. etc and in VB I have created an application that displays me a list of DLL's in that folder. While creating a setup in Inno, I will click the files i want to include in a setup and the DLL's will be copied in the destination folder. However, before copying these DLL's I want to be sure that they would not crash the client machine. Although the possibilty is remote but why take a risk and why not know more about these DLL's. That's why I am hunting for the correct source. MSDN unfortunately doesn't explain about these DLL's, or may be I am not able to search it properly. There are some contradictions that are coming from MSDN. There are statements like Comdlg32.dll is not distributable but if you use PDW it will distribute it. So, I want to be sure about what is correct before going ahead from here.

 

by: EDDYKTPosted on 2003-11-19 at 05:36:42ID: 9779129

>>which means that you will not be able to restore across the network.

It may not be true, We use ghost 2003 and can restore from network MAP drive

It only works on 3com 905 network card but doesn't work on dlink network card.
I believe they don;t have newer driver to support newer hardware

8->

 

by: NightmanPosted on 2003-11-19 at 05:45:12ID: 9779175

Like I said - I haven't tried it.

Surely you would be able to write your own autoexec.bat / config.sys, etc (for those of use that still remember how to work with them - damn I'm getting old) - and load the drivers this way from a custom boot disk (i.e. a copy of theirs, with the relevant files hacked to suit your purposes)?


 

by: SethiPosted on 2003-11-19 at 05:52:05ID: 9779225

Friends, I appreciate this solution, but at the moment I am looking for some links and knowledgebase for common ddl's that need to be installed immediately in a day or so.

 

by: NightmanPosted on 2003-11-19 at 05:55:00ID: 9779240

Sethi

Unfortunately MSDN documentation is the best I can suggest. Again, your alternatives are to purchase expensive (but reliable) install-set authoring software that can manage you dependancies / version checking / OS version checking automatically (or create your own MergeModule to do this if they don't already exist)  or ensure that your software is tested on each OS that you support (which should be done anyway).

Many companies are moving away from providing support to the older OS - we have just terminated official support for Win98SE - we now require Win2K or later. This has also aided in minimising the volume of components to be redistributed, as there are some that are now redundant (eg JET) or get installed on the machine with the OS. I guess this would depend on your client requirements, though.

Sorry for the sidetrack ;)

Cheers
Night

 

by: SethiPosted on 2003-11-19 at 07:56:12ID: 9780163

I am thankful to all. Will wait till tommorow before accepting an answer.

 

by: valli_anPosted on 2003-11-20 at 14:17:47ID: 9791116

Will this help you?

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q169/2/02.asp&NoWebContent=1

You might also like to download the trial versions of Sertup factory, or InstallShield and then try with your App and could fine the needed files, if its only for one-time use.

Otherwise, as suggested by others, better to go for Install Shield or a similar product. I am not used to InnoSetup, btw.

Cheers.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...