Archive: Command line compiler


Command line compiler
Hi

I am trying to compile a .nsi script by calling the compiler from a c program. It does not look like the compiler passes back an error code. I am using the system(cmd) call to run the code. Does anybody have an idea how I can check if their has been an error compiling the installer that does not involve checking to see if the setup.exe file is there?


It passes back an error code. Zero means everything is OK. The last lines of makenssi.cpp show this.