|
|
#1 |
|
Junior Member
Join Date: Apr 2001
Posts: 9
|
I posted a message requiring a silent mode. And now the Installer has a silent mode.
I meant COMPILER silent mode. (or at least windows instead console output) Thanks. -- Alfrenovsky |
|
|
|
|
|
#2 |
|
Member
|
hi,
the compiler is 'silent' by default. use the /PAUSE switch to see the console output. IMO a windows output is not needed. cu yzo |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2001
Location: Holland
Posts: 269
|
If you want it to be silent, try to put ">nul" after the command line. I'm not sure if this works for NSIS, but it works for most Dos programs (I mean console). This redirects output to nothing. Or you can try >output.txt to save it in a text file.
|
|
|
|
|
|
#4 |
|
Member
|
hi,
yeah sure koen it works with nsis. i completely forgot that this was possible. cu yzo |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2001
Posts: 9
|
redirecting the output to the nul device still opens the console window. This is not SILENT.
|
|
|
|
|
|
#6 |
|
Member
|
hi,
i am glad that it opens, otherwise it wouldn't do anything ![]() cu yzo |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2001
Posts: 9
|
It won´t do anything "visible". That´s silent.
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Apr 2001
Posts: 9
|
I launch makensis.exe from a windows application to make a redistributable part of the application. I need no console window.
|
|
|
|
|
|
#9 | ||
|
Member
|
hi,
Quote:
![]() if you use >nul it is more that 'silent', but the console _has_to_be_ opened! Quote:
![]() what do you use ? ShellExecute, WinExec or CreateProcess ? so why don't you just use SW_HIDE as last parameter in ShellExecute / WinExec or with the wShowWindow flag of the StartUpInfo struct to use it with CreateProcess. cu yzo |
||
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Apr 2001
Posts: 13
|
Build it yourself.
Use the linker switch /SUBSYSTEM:WINDOWS instead of /SUBSYSTEM:CONSOLE. but then there is no way to get a console. so you will never again see any output.. |
|
|
|
|
|
#11 |
|
Junior Member
|
Silent Mode Command Line
I'm sorry to interrupt this technical discussion about silent mode of NSIS compiler.
I have a question as a USER of a program distributed using NSIS. (I'm sorry if I am in the writing in the wrong place) . I want to make a custom CD which will install some applications after the Windows Setup is complete. So I want to run a kit in silent mode. This works for the Install Shield programs (-r and the -s switch). But I cannot get it to work for a NSIS kit. (Ex. Divx412codec) I've tryied /S and /SILENT, after browsing the compiler documentation but it doesn't run in silent mode. Thansks for your time, Crisp |
|
|
|
|
|
#12 | |
|
Member
Join Date: Jan 2002
Location: Germany
Posts: 79
|
Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|