project-navigation
Personal tools

Author Topic: NSIS Script - Amendments Needed Pls  (Read 5468 times)

odie

  • Guest
NSIS Script - Amendments Needed Pls
« on: March 09, 2009, 07:00:44 am »
Hi,

I was wondering who the editor for the NSIS script would be pls?

Wanted to make a feedback that i have been trying the compiler (NSIS) since R20000+ and have been tweaking to get the best compression ratios between all the modes available.

I have noticed the script set the compression to :
;SetCompressor bzip2
SetCompressor lzma

Which is lzma compression per file.
However, i have found that lzma (compress whole) method is better, proven by a smaller installer.
(Yes, i have tried to compress alot ALOT of them, basically, i update my Revision everyday......)

The latest R23386 has this ratio:
Code: [Select]
Using lzma (compress whole) compression.

EXE header size:               37376 / 34816 bytes
Install code:                          (117786 bytes)
Install data:                          (669064221 bytes)
Uninstall code+data:                   (15278 bytes)
Compressed data:           557349227 / 669197285 bytes
CRC (0xFEEB8A14):                  4 / 4 bytes

Total size:                557386607 / 669232105 bytes (83.2%)

So, could someone please amend the script and set from lzma to lzma (compress whole) instead?

:) Thanks!
« Last Edit: March 20, 2009, 06:12:35 am by odie »

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: NSIS Script - Amendments Needed Pls
« Reply #1 on: March 09, 2009, 01:07:22 pm »
What's the syntax for this?

odie

  • Guest
Re: NSIS Script - Amendments Needed Pls
« Reply #2 on: March 12, 2009, 06:09:26 am »
What's the syntax for this?

Hi BTAxis,

I am not too sure of this. Let me wiki this up....

Okie, got it off the NSIS site:
Quote
Solid compression is no longer the default for bzip2 and lzma, use SetCompressor /SOLID bzip2 or SetCompressor /SOLID lzma for solid compression.

I believe the one we are using is "SetCompressor /SOLID lzma"

Are we able to modify the script as such pls?

Thanks.

odie

  • Guest
Re: NSIS Script - Amendments Needed Pls
« Reply #3 on: March 12, 2009, 06:18:27 am »
Oh BTAxis,

Okie, this is a noobish question. I have a sourceforge ID but when i tried using that ID to log in to revision area for the SVN commit, i cannot commit the amendments of the script to the project....

I think one of the folks like urself needs to get this for me pls. Thanks.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: NSIS Script - Amendments Needed Pls
« Reply #4 on: March 12, 2009, 07:57:53 am »
You need more than an SF account for committing... you need to be a member of the project AFAIK.

-geever

odie

  • Guest
Re: NSIS Script - Amendments Needed Pls
« Reply #5 on: March 12, 2009, 08:17:23 am »
You need more than an SF account for committing... you need to be a member of the project AFAIK.

-geever
Orh! understood. Okie okie. i saw the requirements for that already = at least 2 committed and accept patches or something. :P

Back to this query..... so can someone pls help amend the NSIS compression type then? :)

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: NSIS Script - Amendments Needed Pls
« Reply #6 on: March 12, 2009, 10:32:57 am »
mattn did this in r23460.

odie

  • Guest
Re: NSIS Script - Amendments Needed Pls
« Reply #7 on: March 13, 2009, 05:12:41 am »
mattn did this in r23460.

Hi, just got R23462! It works! Thanks alot!

U guys rocks! Haha. Now onwards for me to get working on stuff....