![]() |
#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: code: I'm getting error code 2 |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
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"' IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Major Dude
|
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 |
![]() |
![]() |
![]() |
|
Tags |
error, nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|