Installing all Files Required

Installing all Files Required

I’ve created a small utility. The exe is only 27k, but vb40032.dll, mfc40.dll (for a custom control) and others make the setup zip over 1 meg. Can I leave some files out, assuming the user will already have them or can get them elsewhere? Besides the two files above, how about msvcrt40.dll and msvcrt20.dll? And if I leave them out, where could I point the user to get them from?

I’ve heard of other people doing this also. In some cases, the files will probably already be on the person’s system. In fact, if you look at my File Archives page, you’ll see a file called “VB4SUP16.EXE”, which contains a bunch of support files for a user of my site. He is trying to do the same thing you are, so that the installation is much smaller. However, if you want to be on the safe side, you should always try to install all of the files needed for your application to run. Another thing to bear in mind is that the Application Setup Wizard will include all the files for the custom controls you have on your VBIDE toolbox, whether you actually use them in your app or not. You should set up your VBIDE so that it only has the “basics” on it and then add custom controls to the toolbox as needed for the project. In VB3.0 you do this by editing AUTOLOAD.MAK.My entire autoload.mak contents are:ProjWinSize=152,402,248,215ProjWinShow=2IconForm=”Form1″In VB4.0 you do the same thing by editing Auto32ld.vbp (I assume the 16-bit version is Auto16ld.vbp but haven’t loaded the 16-bit environment). You remove all of the un-needed OBJECT= and REFERENCE= lines.WARNING: Any time you do something like this, make a backup copy of your original file first!Lastly, as you’re using the Application Setup Wizard you’ll come to a screen that shows all of the files that it is including. Look this over carefully, removing any that you don’t use (e.g. if there’s no Rich Text Box control in your project, yet it shows up in the included files, delete it from the list).Again, take care with this as there could be dll’s that you didn’t specifically include, yet are required for other dll’s or custom controls to work.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several