tcardoso
30th August 2013 11:13 UTC
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
Anders
30th August 2013 14:31 UTC
What makes you think these are NSIS error codes?
http://stackoverflow.com/questions/1...codes/18534134
http://blogs.msdn.com/b/larryosterma...25/421740.aspx
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
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"'
T.Slappy
2nd September 2013 08:51 UTC
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.