ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Silent Install
mpharo


Joined: 25 Jul 2007
Posts: 0
Reply with quote
hello,

In the new version. 0.91.1, the silent install functionality that has worked in the past seems to not be working. I assume it is because they updated the installer. I am just wondering if anyone has found a work around for this?

Thanks in advance.
View user's profileSend private message
mpharo


Joined: 25 Jul 2007
Posts: 0
Reply with quote
I figured it out.

/S = Silent install no prompts or GUI
/D = Output Directory
/NCRC = Skip CRC check

Taken from the NSIS project page on Sourceforge.

https://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to_configure_installers
View user's profileSend private message
Worked with 91.1, but not with 91.2
jamie


Joined: 27 Aug 2007
Posts: 0
Reply with quote
/S doesn't seem to do anything, but /silent works, mostly.

When I run:

clamwin-0.91.2-setup.exe /silent /norestart /nocancel /ncrc

I'm still prompted with:

The Setup detected previous version of the software is installed. Would you like to clos the program now? (Recommended)

This stops the install in it's tracks when I attempt an automated upgrade. Any suggestions for how to fix this?

Thanks!
jamie
View user's profileSend private message
nsis or inno setup?
jamie


Joined: 27 Aug 2007
Posts: 0
Reply with quote
I'm confused - is clamwin using nsis or inno setup? Seems like at one point they switched to nsis, however, version 91.2 seems to respond to inno setup commands (like /verysilent).
View user's profileSend private message
jamie


Joined: 27 Aug 2007
Posts: 0
Reply with quote
Still confused, but this seems to work:

/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL

(following directions for inno setup - there's a good description here: https://gnuwin32.sourceforge.net/setup.html)
View user's profileSend private message
Re: nsis or inno setup?
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
jamie wrote:
I'm confused - is clamwin using nsis or inno setup? Seems like at one point they switched to nsis, however, version 91.2 seems to respond to inno setup commands (like /verysilent).


ClamWin is still using Inno Setup (with ISTool). The NSIS installer is for the future v1 release (which is a total rewrite).
View user's profileSend private message
Thanks for clarity
jamie


Joined: 27 Aug 2007
Posts: 0
Reply with quote
That makes sense Smile. Looking forward to version 1.0!!

jamie

p.s. Just updated https://wpkg.org/index.php/ClamWin
View user's profileSend private message
Silent Install
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic