Archive: Making SilentInstall Configurable

Making SilentInstall Configurable
Hi All.

In my installer I am using some configurable values (by including a config.nsh at compile time)

I want to achieve such a situation when one of the values in the config.nsh is set to true my installer should install in silent mode and when it is set false , it should install in normal mode.

for instance what I want to do is


!define Silent_Install true

${if} ${ Silent_Install } == "true"
SilentInstall silent
;Do nothing proceed normally

So is it possible to achieve this ?


!define silentinstall

!ifdef silentinstall

or if you really want to test the value, use !if

Thanks man! It worked. :D