Archive: disable !echo


disable !echo
People is there a way to disable !echo command? I.e. not echo anything when you are building script from the command line? The reason I need this: let's say I am using third party include file which calls !echo a number of times (e.g. StrFunc.nsh) and I would like it not to echo anything. Of course, one possible way is to put ';' in front of every '!echo'. But is there a way not to change the source .nsh file?


you could use the !ifdef/!ifndef commands in combination with the /D parameter (though i'm not sure if it works with conditional commands).


use !verbose


!verbose push
!verbose 1
!include blah.nsh
!verbose pop