Old 30th August 2013, 10:13   #1
Junior Member
Join Date: Apr 2013
Posts: 3
Where can I find nsis error codes?

I'm building an nsis script and sometimes I print the error codes, but then I cant find anything on the web that maps my error id to a proper description on whats the error.

There isn't any error code listage for NSIS?

For example, currently on this line:
ExecWait "net start Apache 2.2" $0

I'm getting error code 2
tcardoso is offline   Reply With Quote
Old 30th August 2013, 13:31   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,370
What makes you think these are NSIS error codes?


There are better ways of dealing with a service in NSIS but my guess here is that you need better quoting: ExecWait 'net start "foo bar"'

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 2nd September 2013, 07:51   #3
Major Dude
T.Slappy's Avatar
Join Date: Jan 2006
Location: Slovakia
Posts: 555
Send a message via ICQ to T.Slappy
There is no general explanations like "1" means application ended prematurely or similar.
Every application has custom codes, but it is a good habit to have "0" (zero) as success code.

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2019: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

error, nsis

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