Results 1 to 7 of 7

Thread: Is any way to make smaller installer package

  1. #1
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Is any way to make smaller installer package

    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.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Is any way to make smaller installer package

    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

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is any way to make smaller installer package

    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.

  4. #4
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Is any way to make smaller installer package

    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.

  5. #5
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is any way to make smaller installer package

    Before creating the install package use UPX on libraries and exe.

  6. #6
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is any way to make smaller installer package

    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.

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is any way to make smaller installer package

    Don't forget the licensing requirements for static builds.

Similar Threads

  1. Replies: 1
    Last Post: 19th January 2010, 22:05
  2. Windows Installer package won't work.
    By rajveer in forum General Programming
    Replies: 0
    Last Post: 3rd November 2008, 09:15
  3. How to make build smaller
    By stefan in forum Installation and Deployment
    Replies: 9
    Last Post: 10th September 2008, 19:56
  4. Creating Package Installer
    By AP.Sakkthivel in forum General Programming
    Replies: 3
    Last Post: 18th July 2007, 19:18
  5. How can I make size of QGraphicsScene smaller?
    By troorl_ua in forum Qt Programming
    Replies: 6
    Last Post: 21st April 2007, 07:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.