Archive: [help] how can I call the installer in silent mode.


[help] how can I call the installer in silent mode.
Hi All,

I have created a .nsi file and compiled into a .exe file.

right now, i encounter an issue, one of my window service will detect the our application version, if it found it was old version, then the windows service will call the setup.exe. but we don't want to show the setup windows. We just want it to run behind scene like in slient mode.

How could i do that?

Help......


James


James... why don't you just read the manual...

http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.36


could you give me any code, the installer just for upgrade the application, so we don't need to show the window at all. But i trid the method the link introduce, don't how to figure it out....
Help..


Name "My Application"
OutFile "myapp.exe"
SilentInstall silent

or without the SilentInstall attribute from command line,
myapp.exe /S

or without the SilentInstall attribute from function .onInit
regarding to verified condition,
SetSilent silent

In every case if your installer interacts with users through checkboxes, you need to set the default button with /SD switch, otherwise checkbox will pop up even in silent mode.