Old 27th March 2006, 17:30   #1
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 27th March 2006, 22:25   #2
goldy1064
Senior Member
 
Join Date: Jun 2005
Posts: 211
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 is offline   Reply With Quote
Old 28th March 2006, 13:35   #3
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
goldy1064 wrote:
Quote:
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!

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 29th March 2006, 17:55   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 30th March 2006, 14:16   #5
{_trueparuex^}
Senior Member
 
{_trueparuex^}'s Avatar
 
Join Date: Dec 2005
Location: Glow
Posts: 285
You should categorize the wiki page. Related Software is probably the right place for it.
{_trueparuex^} is offline   Reply With Quote
Old 30th March 2006, 14:28   #6
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
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. :-)

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 30th March 2006, 17:46   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Put this at the bottom:
[[Category:Related_Software]]

-Stu
Afrow UK is offline   Reply With Quote
Old 30th March 2006, 21:32   #8
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
Put this at the bottom:
[[Category:Related_Software]]
Done! Thanks Stu

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 30th March 2006, 21:45   #9
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 1st April 2006, 22:02   #10
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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 :-)

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 2nd April 2006, 02:01   #11
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 9th April 2006, 23:43   #12
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
New version is out

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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 2nd May 2006, 10:34   #13
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 2nd May 2006, 22:57   #14
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
important fixed: application refused to run under Windows 98/ME
regards

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 19th October 2006, 07:40   #15
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
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
n_baua is offline   Reply With Quote
Old 21st October 2006, 10:27   #16
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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