- NSIS Discussion
- NSIS SFX Package Builder is out
Archive: NSIS SFX Package Builder is out
Red Wine
27th March 2006 16:30 UTC
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
goldy1064
27th March 2006 21:25 UTC
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.
Red Wine
28th March 2006 12:35 UTC
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!
Red Wine
29th March 2006 16:55 UTC
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.
{_trueparuex^}
30th March 2006 13:16 UTC
You should categorize the wiki page. Related Software is probably the right place for it.
Red Wine
30th March 2006 13:28 UTC
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. :-)
Afrow UK
30th March 2006 16:46 UTC
Put this at the bottom:
[[Category:Related_Software]]
-Stu
Red Wine
30th March 2006 20:32 UTC
Put this at the bottom:
[[Category:Related_Software]]
Done! Thanks Stu
Afrow UK
30th March 2006 20:45 UTC
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
Red Wine
1st April 2006 21:02 UTC
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 :-)
Red Wine
2nd April 2006 01:01 UTC
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.
Red Wine
9th April 2006 23:43 UTC
New version is out
New improved version is out
* Added option to import zip arhive as source.
More details and download link here
Red Wine
2nd May 2006 10:34 UTC
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
Red Wine
2nd May 2006 22:57 UTC
important fixed: application refused to run under Windows 98/ME
regards
n_baua
19th October 2006 07:40 UTC
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
Red Wine
21st October 2006 10:27 UTC
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.