Archive: How to use silent installer?

How to use silent installer?
I have created exe file using nsis.It works as expected.

My problem:
1.If i run exe file in first time,its installed and working fine.after installed i have check there is any latest version exe files are there, if its found need to run silent installer(without user interaction)

.oninit ??

I have confused which function am i going use?

You can use SetSilent silent from .onInit to enable silent installation.