Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distributing a small application with minimum package size.

Status
Not open for further replies.

TimMcNaughton

Programmer
Feb 25, 2003
2
US
I have a smallish VB6 project that makes into a 70K exe. I'd like to distribute it to a bunch of people who don't have VB6 installed. When I run the "distribution wizard" I get a package over 7MB in size! This is ludicrous.
Am I missing something? How does one keep distro packages down to a reasonable size?
Alternately, should I use an approach to enable users to run my program in a browser? How do I do this? Do I convert the entire thing into an ActiveX control?
Thanks,
Tim McNaughton
 
Well, you have to keep in mind that your users will probably need to have at least one .dll included with your package: msvbvm60.dll, the VB runtimes. Then any other references in your project will also get added with the wizard, and any other .OCX's (ActiveX controls, or Components) will be added also.

You could go through the support directory and see what files are being added and see which ones you can eliminate, though only remove a file from the ditribution if you know for a fact you can live without it.

You might also create two distibutions, the large 7 mb one that you release under the name of Project Run Times, and one 70k distribution that is just Project Program.

Hope that helps you a little,
Kevin
 
Thanks for the quick reply. Msvbvm60.dll is only 1.3MB. When I deselected components I wasn't using - the file became smaller - now the whole zip package is about 1.6MB.

Isn't that generous of Microsoft to go ahead and include files that aren't a necessary part of the distribution in a default build? Good ol' Bill...
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top