Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 31st January 2007, 22:17   #1
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
[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
JamesKiller is offline   Reply With Quote
Old 31st January 2007, 23:17   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
James... why don't you just read the manual...

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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 1st February 2007, 06:22   #3
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
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..
JamesKiller is offline   Reply With Quote
Old 1st February 2007, 06:39   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump