I am using NSIS 2.0 b 4 (latest release) and running
makensis with options /V1 /DMUI_MANUALVERBOSE /O
installer.log (so it should put in file only error
messages). But in file installer log there are all
messages including infos, warnings etc.
I do not now if that change was done in purpouse (e.g.
to show people responsible for translations that there
is still some work to do) or not. This 'bug' have
appeared and disappeared several times during the time,
so I thought it will disappear in b4 release.
It's not very annoing for me, but it will help me a lot
if verbose feature will work as it is said in manual ;)
Best Regard
Maurycy
Logged In: YES
user_id=604457
It's not really a bug. Because of changes in the way the
Modern UI handles the verbose settings, MUI_MANUALVERBOSE
has been removed.
The Modern UI only shows warnings and errors by default, so
I didn't think that would be a problem.
These warnings about language files are also displayed to
warn the uers that the langauge files they are using are not
complete. If you are using such a file, parts of your
installar won't be translated. Only a few langauge files are
outdated, I hope the translators will update them soon.
Why do you want to hide any errors? If you hide them, you
will never get a message when something is wrong.
Logged In: YES
user_id=815572
Okey, another way: I have wroten an application that is
using NSIS to create installation of another application
based on settings on the first one. Application generates
the NSIS script and after running makensis to the file
should only be written errors, no warnings or info messages.
Then application checked the size output log file and if it
was zero then creation of installation was successful ;)
I do not want NSIS to hide any messages if I haven't given
him option /V. But if I gave one then it shold be respected,
don't you think?.
Anyway I have solved this by parsing the output log file so
I can detect if there were any error messages, so if you
really want NSIS to behave like you have written then it is
OK with me.
BTW - is there any other way to check if NSIS compilation
was successful?
Regards
Maurycy
Logged In: YES
user_id=584402
> BTW - is there any other way to check if NSIS compilation
was successful?
Check the return value, it's much simpler.
Logged In: YES
user_id=604457
It's a bit of a weird way to check the compilation result.
NSIS supports a NOTIFYHWND option to let an application know
the result (using a window message), have a look at the
MakeNSISW source.
I will add an option to set the Modern UI verbose level anyway.
Logged In: YES
user_id=815572
Thanks for your solutions, I really like the NOTIFYHWND
option ;P
Thx again
Maurycy