Hi,
I used NSIS for the first time today so I'm a beginner.
My first task was to create a java launcher. I found a script on your wiki and tried various approaches but no matter what I do, I cannot make the launcher print a message on stdout (I tried nsExec, ExecCmd, ExedDos, etc.). Then it struck me. Perhaps that's the way it should be? I.e. a launcher generated with makensis will always be a windows application and there's no way it can send output to stdout, ever.
If that's the case, would it be a bad idea to ask for a compiler option that would turn the resulting exe into a command line executable?
Kind Regards,
Thomas Hallgren
Console output
4 posts
That's the way it is. But, a search on the forum for "stdout" could get you a possible solution.
Thanks for the pointer.
Patching nsis to become a console application is of course an option but I'll need to keep two nsis instances around if I do that. Only my launcher is a console app (I'm planning installers as well). I'll also introduce a need to patch and recompile everytime I want a new nsis version.
Do you have any plans to provide a console option for nsis?
Patching nsis to become a console application is of course an option but I'll need to keep two nsis instances around if I do that. Only my launcher is a console app (I'm planning installers as well). I'll also introduce a need to patch and recompile everytime I want a new nsis version.
Do you have any plans to provide a console option for nsis?
No, I don't.