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!

Reducing Installation file size 1

Status
Not open for further replies.

ZmrAbdulla

Technical User
Apr 22, 2003
4,364
AE
I have created an app in VB6. This app takes reference of the following OCX & DLLs.
[ul]
[li] comdlg.ocx [/li]
[li] mscoctl.ocx [/li]
[li] RICHED32.DLL [/li]
[li] RICHTX32.OCX [/li]
[li] VB6STKIT.DLL [/li]
[/ul]

Is that possible to avoid any of these files from the installation assuming that every computer must be having these files installed? This will reduce the installtion file size; especially mscoctl.ocx(1.2 MB).
Also I can provide VB6 Runtime files separate. VB6 Runtime files are available in Windows 2000 and higher. Am I right?
Thanks

Zameer Abdulla
Visit Me
Where to pay your [purple]Tsunami[/purple] relief donations?
 
Do not use the Package And Deployement Wizard, but a 3th party installation tool. I recommend
---------------------------------------
This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where my fathers died, land of the pilgrim’s pride, from every mountainside, let freedom ring. - Marten Luther King
 
Zameer,

The first time you distribute your app to a user you CANNOT be sure if the dependent files already exist on his machine so you must distribute them; After that AND providing all dependent files have stayed intact on the target machine you can just distribute an upgraded/ replacement MyApp.exe.

regards Hugh

 
jajindar,
I think you didn't my follow my question ([Blue]or I was not clear ??[/blue])
I am asking if it is possible to avoid([teal]assuming that it already available in the user computer[/teal]) adding the OCX & DLL ?
I know how to avoid from the install version. But the problem is if I avoid it from istalling the app will not work if the DLL or OCX not present in their computer.
I want to know what are the OCX or DLL from this list available in a normal windows pc ? If any of them are available then I can skip them installing again.
Thanks

Zameer Abdulla
Visit Me
Where to pay your [purple]Tsunami[/purple] relief donations?
 
Thanks HughLerwill,
I have a problem that is the reason I asked this question.
My app is a freeware to be distributed through my web site. The provider is not allowing me to upload a zip file more than 1 MB size.(full installable version is 3 MB and without VB Runtime is 2 MB and app itself is 450 KB!!) So it is better to reduce the size.
Also reducing the size will be good for easy downloading.
If it is not possible I have to divide the app into small sizes then upload to a folder.
Any suggestions?

Zameer Abdulla
Visit Me
Where to pay your [purple]Tsunami[/purple] relief donations?
 
Is the 1MB your limit for total space or 1MB per file?

I mean, is it OK to have 3 different 1MB files?
 
If you can be 100% sure that those files are installed and are the correct version on the user's PC, then you can skip bundling them in your installer. It's risky -- you'll probably have a few users call you and say "It won't run", and you'll have to send them an installer with the versions they need. But it'll work (mostly).

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Assuming that 1MB is the largest for a single file but you can have multiple 1MB files then the easiest thing to do might be to tell the Package & Deployment Wizard that you want to make a multi-disk install but that your disks only hold 760 KB each.

Then you could just offer a multi-part download.

I'm just saying this might be the easiest way, not necessarily the best.
 
Zameer,

The files you list cannot be relied upon to exist, ie they are not supplied as standard with operating systems.

vb runtime files are often found on computers but the version installed often just reflects the age of the machine. New ones will have the vb6 runtime, old ones may have earlier versions which of no use to you.

Sheco's multipart download sounds good, but I would get a provider who allows you more room. Try Freeola.com, they are free and I've uploaded 6MB installation zips there before without issue.

regards Hugh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top