|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 2
|
Console output
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
That's the way it is. But, a search on the forum for "stdout" could get you a possible solution.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2006
Posts: 2
|
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? |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
No, I don't.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|