Chiclete
20th February 2004 22:30 UTC
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.
Joost Verburg
20th February 2004 22:41 UTC
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.
Chiclete
20th February 2004 22:50 UTC
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?
Joost Verburg
20th February 2004 22:55 UTC
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.
Chiclete
21st February 2004 21:48 UTC
Thanks