PortableApps.com Wins Big in the 2009 SourceForge Community Choice Awards and hits 100 million portable apps served!

NSISPortable Pre-Release 4

Zach Thibeau's picture
Submitted by Zach Thibeau on February 26, 2009 - 1:49pm

Application: NSIS
Category: Development
Description: NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution. NSIS is also the scripting language used to write all of the launchers for the applications on this site, NSIS Portable includes the full NSIS package so beginning users will have examples, tutorials and help files to work from. It it highly recommended to download another application from this site and use those scripts as samples for creating your own portable apps.

Download NSIS Portable 2.44 Pre-Release 4 [1.7MB download / 4.67MB installed]
(MD5: 57c7b51fc6574065d1bdae7a1eff0644)

Release Notes:

Pre-Release 4 (2009-03-24)

  • Made sure all dll files and exe files are uncompressed so there isn't a broken resource file in this release
  • moved all nsis plugins and nsh include files back into the NSIS Folder instead of the Original setup of Data/Plugins etc

Pre-Release 3 (2009-02-26)

  • appearently I missed a couple of include files so that is fixed
  • replaced some files that apparently didn't like being UPX'd

Pre-Release 2 (2009-02-26)

  • Fixed issues on plugins and zip2exe
  • added the ability to drag a .nsi file to NSISPortable.exe (thank you JohnTHaller for helping there)

Pre-Release 1 (2009-02-26): Initial release


( categories: )

First to post an error YAY! :P

Okay moving on Sticking out tongue. Anyways I found an error when I tested the zip to Installer. I think it has a problem with some of your files. I posted the error here http://mastel.pastebin.com/m7e946acd

EDIT: From reading the error more it looks like something to do with UPX.

Release Team Member
"If everyone is thinking the same thing, then someone isn't thinking" - General George S. Patton

updated to Pre-Release 2

updated to Pre-Release 2

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

I just tried out your

I just tried out your Pre-Release 2 and have found the following issues:

1) The "App\DefaultData\settings\nsisconf.nsh" file should contain the following text at the top of the file.


;Added By PortableApps.com
;------------------------
!addincludedir "${NSISDIR}\..\..\Data\Include"
!addplugindir "${NSISDIR}\..\..\Data\Plugins"

;------------------------

2) The following files are part of the standard NSIS 2.44 release and are missing from NSISPortable.

"App\NSIS\Include\Util.nsh"
"App\NSIS\Include\WinCore.nsh"

3) The "App\NSIS\Contrib\UIs\*.exe" files should not be UPX compressed.

4) The "nsDialog.dll" and "System.dll" plugin files are included in the standard NSIS 2.44 release and probably should be moved from the "App\DefaultData\plugins" directory to the "App\NSIS\Plugins" directory.

Once I fixed these issues, thing work great. Keep up the great work!

Dan

1) I'll check it out 2) that

1) I'll check it out
2) that must of slipped past me somehow
3) They are not compressed, but I'll replace them again
4) Should be in Data\Plugins not the other way around

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

Plugins

Why don't we keep plugins within the App directory. It'll make upgrades easier with our set.

Sometimes, the impossible can become possible, if you're awesome!

Is it suppose to..

May the Shwartz be with you

Nope.

Nope.

120dpi

That's a 120dpi issue. NSIS itself's menu scrolls at 120dpi, too. Though the bottom image doesn't break.

Sometimes, the impossible can become possible, if you're awesome!

Btw.

Could you remove the outdated version of this from the test page?

YEAH!!!

YEAH!!!

Thanks Zach!!!

People are overrated.

Updated to Pre-Release 3,

Updated to Pre-Release 3, look in changelog for details

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

Strange....

I keep getting errors on FileFunc.nsh and TextFunc.nsh that I never got before.

It worked fine when I was using ZachHudock's version.

I looked into it and it said it needed Util.nsh... what is that?

People are overrated.

.

here i get this error too =/

I'm brazilian, my english isn't good. Thanks.

it's there but it's in the

it's there but it's in the Data\include, I'll move that to the app data folder in the next release as per John's Suggestion

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

Thanks.

Thanks.

People are overrated.

Hi Ho, Hi Ho, It's Off To Test I Go!

Spaceballs Dink dink, dink dink dink, dink, dink, dink!

Here sir are your test results. They are confidential and have not been shared with any third parties:

In \

  • In help.html, maybe throw in some 'General NSIS Issues' if you're feelin' crazy.

In App\

  • In AppInfo\
    • In appinfo.ini, Type should equal 'PortableApps.comFormat
    • In appinfo.ini, stop making up version numbers. Sticking out tongue I think the format is at 0.9.8 (Version=)
  • In the readme.txt, 'Portable App' is capitalized... *twitches*... but, but it's okay. Sticking out tongue

In Other\Source\ (brace yourself)

  • In Readme.txt, you can add your copyright and I think Zach H's is 2007-2008.
  • In Readme.txt, line 33 'Within the 'NSISPortableSource...' should be 'Within the Source...'
  • In NSISPortable.nsi, the value for 'VER' (line 27) is at 1.5.5.0. I believe the launcher is currently at 1.6.1.0, so double check that all strings, includes, etc are update and update the version number.
  • Update to the latest installer (fix for hangs should be coming soon).
  • In Readme.txt, maybe make all the headers capitalized completely and the === underline to match? Just... just throwin' that out there. Sticking out tongue

Sorry for being so picky, but it's what I do. Data-wise my registry seems to be in tip-top shape.

Hopefully we can get some more testers on this but to me it looks like it should be good to go.

Alright,

Bart.S enhances that list (I'm picky too Sticking out tongue):

  • help.html: false version number
  • readme.txt: first line should be: NSIS Portable Launcher
  • appinfo.ini: homepage could be changed to PortableApps.com/NSISPortable
  • remove App\DefaultData\include\GetParameters.nsh, that's old Sticking out tongue

My testing of PR3 reveal the

My testing of PR3 reveal the following things:

  • the DefaultData isn't being copied properly. try changing these lines of NSISPortable.nsi:
    line 179:
    CopyFiles /SILENT "$EXEDIR\App\DefaultData\settings" "$EXEDIR\Data"
    line 191:
    CopyFiles /SILENT "$EXEDIR\App\DefaultData\plugins" "$EXEDIR\Data"
    line 203:
    CopyFiles /SILENT "$EXEDIR\App\DefaultData\include" "$EXEDIR\Data\Include"
    
  • incorrect version number in help.html
  • update installer to 0.12.4

Besides for those, good job.

Twoflower: Rincewind, I think there's a broomstick in this cupboard.
Rincewind: Well, what's so unusual about that?
Twoflower: This one's got handlebars.

Sorry to say but you are not

Sorry to say but you are not the first person to tell me this Smiling I'm already ahead of you there

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

Updated to Pre-Release 4 get

Updated to Pre-Release 4 get it while it's hot

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

No,

do you have something cool too? Eye-wink

imma pirate, a testing pirate =P

yarr, here be test results for PR4:

  • help.html - remove version number, as John said its going to be easier to maintain without it.
  • Other\Source - the files are there for multilingual support in the launcher, but why aren't they enabled/set up?
  • Other\Source\Readme.txt - add "Copyright 2009 Zach Thibeau"
  • Other\Source\NSISPortable.nsi - the section SettingsFound could be removed and then change all references to point to GetPassedParamers
  • Other\Source\PortableApps.comInstallerConfig.nsh - don't think the filename is allowed to have spaces in it.
  • App\DefaultData - seeming how the plugins and includes aren't being copied/moved to Data, should they just be in App\NSIS by default? Just to save some space by not having two copies, and to declutter-ify (=P) the launcher.

Twoflower: Rincewind, I think there's a broomstick in this cupboard.
Rincewind: Well, what's so unusual about that?
Twoflower: This one's got handlebars.

NSIS_Portable_2.44_PRERELEASE4.paf.exe

is the format that the installer should be when it's a pre-release, then get rid of the _PRERELEASE4 when it's official.

Christian, developer, moderator

There's a spelling mistake

on line 195 of NSISPortable.nsi. Luckily it's repeated on line 199 Smiling

wow I didn't notice it :P but

wow I didn't notice it Sticking out tongue but in this case to make sure I didn't break it I did a copy and paste routine for that so at least it's still functional Sticking out tongue I'm putting a new release soon with the patch John made to fix issues with win 7 so I'll include proper spelling in the new one Sticking out tongue

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

declutter-ify-ing

TaffinFoxcroftApp\DefaultData - seeming how the plugins and includes aren't being copied/moved to Data, should they just be in App\NSIS by default? Just to save some space by not having two copies, and to declutter-ify (=P) the launcher.

Yes, you could get rid of these folders in App\DefaultData. Then, in NSISPortable.nsi, remove lines 180 - 201 and change CheckForPlugins on lines 170 & 174 to SettingsFound.

Or perhaps you could install the default NSIS Plugins & Includes to App\NSIS and leave any custom ones in DefaultData to be copied in on first run? Which might help to act as a reference for us folks who don't have NSIS installed locally as to which ones have to be included in Other\Source.

Also, as nsisconf.nsh is installed into App\NSIS it's never moved out of or back into Data\settings.

DefaultData\ Looks good.

DefaultData\
Looks good. Why are plugins both in DefaultData and in NSIS? Multiple files that may\maynot be needed.
NSIS\
Multiple files that may\maynot be needed. Why is nsiconf.nsh in App\NSIS? If its' counted as data, it should be in DefaultData to begin with.

Data\
empty as it should be when first installed.
you shouldn't have two copies of nsisconf.nsh in the NSIS Portabel folder

Genral notes?: Why all the readmes?

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

sorry to say this bluntly but

sorry to say this bluntly but I already know from others in IRC, I'm rolling a new version with the patch John made for nsis to work in windows 7

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

just the results of my

just the results of my testing. Okay? Trying to add a fourth okay so it can get released.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

win7

doesn't install on windows 7 RC

it doesn't include the fix

it doesn't include the fix yet to let it work in windows 7 rc, next release will fix that

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

the link is dead (no

the link is dead (no download) can anyone reup this file please i need a new portable version of nsis Eye-wink

oops sorry my fault i see this version is outdated Eye-wink

Hell was full, so I came back!!!
Sorry for my lousy English!!!

Oh man this is 3 for 3 on

Oh man this is 3 for 3 on dead links Sad Don't take that as a complaint, what I should say is this is the third app that I've been like "Hey, I remember seeing that in the forums somewhere, I should go get it!" and it turns out you're the one who did it, and yes, I know your server died, that's sad. But yeah so this is like the third app in about a week that I've wanted that's yours so on the bright side I guess that means you've chosen good apps Smiling

Actually, the link points to GizmoKid's site, but no file... didn't he have your backups? Is this a bad sign?

Quamquam omniam nescio, nec nihil scio.

this is an old release dude

this is an old release dude PR5 is up
http://portableapps.com/node/19602 and it has been up for sometime Eye-wink

The day Microsoft produces something that doesn't suck is
probably the day they start producing vaccuum cleaners. (author unknown)

Ok, thanks. I had just done

Ok, thanks. I had just done a search for NSIS Portable and this one came up second on the results page, whereas (having just searched it again), PR5 is 3/4 of the way down the page. Mebbe it might help to add [outdated] to the thread title and put that link in the original post.

Quamquam omniam nescio, nec nihil scio.