PDA

View Full Version : Is any way to make smaller installer package



jay
23rd March 2010, 03:31
Dear All,

I created a package with NSIS in windows. it comes around 6MB. Is any other way to achieve package of smaller size.

If anyone know any other method, pls help me

Regards,
Jay.

nish
23rd March 2010, 10:57
you have to try different installers... but if your files are so big that you cannot do anything about it...
give a try to installjammer or inno setup

squidge
24th March 2010, 07:56
Are you packaging the Qt DLLs? If so, you can recompile the DLL to exclude stuff you don't need. That will shrink the size.

spud
24th March 2010, 09:25
You've probably already figured this out, but make sure to use the best compressor for nsis. LZMA(Solid) is usually 20% smaller than the default for me, but I usually land at ~6MB.
There is also the possibility to compile Qt statically (http://qt.nokia.com/doc/4.1/deployment-windows.html#building-qt-statically).

Boron
24th March 2010, 15:18
Before creating the install package use UPX (http://en.wikipedia.org/wiki/UPX) on libraries and exe.

jay
30th March 2010, 05:03
Thanks for all your suggestions.

I have compiled the Qt with some configure options and also in static, now the installer comes around 4MB.

Regards,
Jay.

squidge
30th March 2010, 11:57
Don't forget the licensing requirements for static builds.