Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 20th February 2004, 21:30   #1
Chiclete
Junior Member
 
Join Date: Feb 2004
Location: Rio de Janeiro
Posts: 3
Question Compression and Installation

Hello, I'm using this program for 3 days... so I don't know a lot of things and I'm trying to learn the basic =)....
My problems are: I don't speak english very well...
My program compressed is always bigger then if it wasn't compressed.
And the other one is: I have subsections one called: Instalar that means Install in english and other called Extrair that means Extract in english. When you use "install", the files are extracted to the "TEMP" and when using "extract" the files are sent to the "INSTALLDIR", I want that when I choose both sections, the program use the "install" files from the "INSTALLDIR", it means: when choosing both sections, no file will be sent to the (TEMP) and it will install by the (INSTALLDIR). If anybody can help me ... thanks since now. And don't forget about my other problem....
"SetCompressor lzma" it's on my script. I'm not using the Modern UI.
Chiclete is offline   Reply With Quote
Old 20th February 2004, 21:41   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You can only get bigger files if you have uncompressable data or data that is already compressed (MP3, JPEG etc.).

See the one-section.nsi example to get sections that work like option buttons.
Joost Verburg is offline   Reply With Quote
Old 20th February 2004, 21:50   #3
Chiclete
Junior Member
 
Join Date: Feb 2004
Location: Rio de Janeiro
Posts: 3
one-section

In this script, when you choose one choice the other is unchoosed, but what I want is to change the (SetOutPath) and the (FILE) location... and not to unchoose the other, is there a way to not compress files which are already compressed? not all files are already compressed on my script, and is there a location where I could see all the .xxx files who can't be compressed or are already compressed?
Chiclete is offline   Reply With Quote
Old 20th February 2004, 21:55   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You can use the Section.nsh macros to get section states.

To use non-solid LZMA compression get a special build at the website and use SetCompression to turn compression on or off.
Joost Verburg is offline   Reply With Quote
Old 21st February 2004, 20:48   #5
Chiclete
Junior Member
 
Join Date: Feb 2004
Location: Rio de Janeiro
Posts: 3
Thanks
Chiclete is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump