Subject | Can my installer tell if gsec has succeeded? |
---|---|
Author | martin_fay_arx |
Post date | 2005-10-04T14:31:37Z |
I'm calling gsec to create a couple of user accounts from an installer
script (NSIS), it seems that gsec always returns an errorlevel of 0 so
that approach will not tell me if it succeededÂ… does anyone have
suggestions of how to get this information? My thoughts so far are (1)
just check that the firebird service is running (though I'm not sure
_how_ I will do that, an extreme solution would be a Delphi app to
check) (2) a Delphi app/dll which can substitute for gsec and give me
an error code.
Thanks,
Martin
script (NSIS), it seems that gsec always returns an errorlevel of 0 so
that approach will not tell me if it succeededÂ… does anyone have
suggestions of how to get this information? My thoughts so far are (1)
just check that the firebird service is running (though I'm not sure
_how_ I will do that, an extreme solution would be a Delphi app to
check) (2) a Delphi app/dll which can substitute for gsec and give me
an error code.
Thanks,
Martin