Wurstteppich
6th August 2012 09:58 UTC
MySQL/LDAP/Mail Server Plugins which return error codes
Hi,
currently I am about to implement several new functions into my installer, which should help the user to enter details for the below services during the installation:
- MySQL
- LDAP
- Mail Server
However I need either some command line tools which return error codes in various events OR (preferable) NSIS plugins. Any ideas what I could use?
T.Slappy
7th August 2012 19:20 UTC
Please be more specific - what exactly do you need?
If anything (executable, library, ...) is returning some error code then you can catch it in NSIS - but it is still only the error code (like error = 5)
Wurstteppich
9th September 2012 20:52 UTC
Hi,
well I want to enhance the installer a little bit for the user to (optional) enter a smtp, mysql and ldap server during installation, the credentials and availability of those services should be shortly checked, so that i dont write those details into the config file of the to-be-installed application without doing some basic checks first.