Archive: NSIS SFX Package Builder is out


NSIS SFX Package Builder is out
Just another sfx package creator written in whole using NSIS scripting lang. Possible benefit from its use is the small size of the sfx container because of its lzma compression and the small NSIS header. Another benefit, hopefully, is its easy of use. Requires an active NSIS installation on the system where compiling the container.

*Partially based on RecFind.nsh by Afrow UK - thanks Stu!
*In deep based on NSIS - thanks NSIS
*Comments and suggestions are welcome.
*Source code provided by request.

Download latest version from:

http://nsis.sourceforge.net/NSIS_SFX_Package_Builder


One thing that sticks out noticably to me is that the radio button to include subdirectories should be a checkbox so that the user may change their mind after selecting it.


goldy1064 wrote:

One thing that sticks out noticably to me is that the radio button to include subdirectories should be a checkbox so that the user may change their mind after selecting it.
Obviously you're right :-) thanks!

NSIS SFX Package Builder is wikified
NSIS SFX Package Builder is wikified here

Work in progress. Still to come:

* Builder
Calculate package's uncompressed size and pass it to extractor.
Check if source path is valid in case a user has typed a path instead of browse by DirRequest.
Check if the source dir is an empty one, thus according to the option include subdirs, if there are subdirs and also if they are empty.
Check if target path is valid (same case as above) and if there is enough space for the container.
Change the radiobutton to checkbox.

* Extractor
Check if target path has enough space for extraction.
Check if extraction path is valid (same case as above).
Display the estimated disk cost on welcome page.

Who knows what else.


You should categorize the wiki page. Related Software is probably the right place for it.


You should categorize the wiki page. Related Software is probably the right place for it.
I will do it... As soon as I'll find my way out of wiki maze. :-)

Put this at the bottom:
[[Category:Related_Software]]

-Stu


Put this at the bottom:
[[Category:Related_Software]]
Done! Thanks Stu

Easiest way to learn is to look at other peoples page and view the code for the bit you want. I still refer to my other Wiki pages for code snippets no matter how many Wiki pages I have :S

-Stu


Yeah!
At last I figured how wiki works. Quite simple. They have a full detailed edit help at wikimedia.org where everything is explained.
Therefore the whole page I posted the other day reconstructed and looks like normal wiki page :-)


New version is out. Download it from here

Changes in this release are focused mainly in application's stability and solid operation in user interaction mode.
To accomplish the futures were added, involves the following plugins/functions from wiki:
GetDrives
GetFileSize
CheckSpaceFree
DirState
GetSize
GetVersion

Builder
* Calculates package's uncompressed size and pass it to extractor.
* Does not accept invalid source path entry.
* Does not accept empty directories and/or subdirectories.
* Does not accept a whole HDD as source.
* Warn users if source is removable CDROM, Memory Card etc.
* Warn users if source is zero data size.
* Does not accept invalid output path entry.
* Calculates target's free space whether is sufficient to store the package.
* Some minor additions.

Extractor
* Does not accept invalid output path entry.
* Calculates target's free space whether is sufficient for decompressed package.
* Some minor additions.


New version is out
New improved version is out
* Added option to import zip arhive as source.
More details and download link here


5-2-2006 New Improved version is out

* Added future to set up the compression method.
* Gui improvements

Download from NSIS SFX Package Builder at wiki

regards


important fixed: application refused to run under Windows 98/ME
regards


Great work...
I have two suggestions for you, if you can implement, would just be awesome.
1> Script it for MUI as well
2> Need a functionality to store password for this SFX like winrar.

Anyways, keep it up.
Thanks


Thanks for the feedback n_baua.
I'm not sure if there is anyone who really needs this utility.
Anyway... I keep it in mind about MUI, when I'll have some extra time I'll work on that.
The utility does not have its own compression method, it just creates a script and calls NSIS for the rest of the job.