Hi,
I have developed an application in VB6. The .exe generated is about 0.5 megabytes. After I have run it through the 'Package & Deployment wizard' the distributable file is an enormous 15 megabytes.
The .exe file is just your complied code. It doesn't include any code from ActiveX controls or DLL's you might have referenced. If you're using ADO or other libraries the Wizard will include the entire MDAC in your setup program, thus bloating it. It also will include the VB runtime DLL, ActiveX controls etc....look inside the support folder of your install, you'll see all the stuff required to run your code. The only way around this is to either not use these DLL's or if you know that the destination machine already has the MDAC, VB runtime etc.. you can remove them from your setup program... but then you run into version problems and other gotcha's.
It's difficult and dangerous to mess with a PDW package.
I think you should just accept the fact that you may need
to use a CD-ROM to distribute your application (but most
software is already distributed that way, so no problem).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.